From d98473f5e3ecd60ffa7bcbd333ca3e7f5b4d3424 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Fri, 21 Apr 2023 16:59:59 +0100 Subject: [PATCH] language stuff --- src/main/resources/messages_ar_AR.properties | 4 +++ src/main/resources/messages_de_DE.properties | 4 +++ src/main/resources/messages_en_GB.properties | 9 +++--- src/main/resources/messages_es_ES.properties | 4 +++ src/main/resources/messages_fr_FR.properties | 4 +++ src/main/resources/static/images/flags/ar.svg | 32 ------------------- src/main/resources/static/images/flags/sa.svg | 26 +++++++++++++++ .../resources/templates/fragments/navbar.html | 12 ++++--- 8 files changed, 54 insertions(+), 41 deletions(-) delete mode 100644 src/main/resources/static/images/flags/ar.svg create mode 100644 src/main/resources/static/images/flags/sa.svg diff --git a/src/main/resources/messages_ar_AR.properties b/src/main/resources/messages_ar_AR.properties index fca3bec5..bbe98581 100644 --- a/src/main/resources/messages_ar_AR.properties +++ b/src/main/resources/messages_ar_AR.properties @@ -31,6 +31,10 @@ navbar.convert=تحويل navbar.security=الأمان navbar.other=أخرى navbar.darkmode=الوضع الداكن +navbar.pageOps = عمليات الصفحة + +home.multiTool.title = أداة متعددة PDF +home.multiTool.desc = دمج الصفحات وتدويرها وإعادة ترتيبها وإزالتها home.merge.title=دمج ملفات home.merge.desc=دمج ملفات PDF متعددة في ملف واحد بسهولة. diff --git a/src/main/resources/messages_de_DE.properties b/src/main/resources/messages_de_DE.properties index 8545286d..f64b6a08 100644 --- a/src/main/resources/messages_de_DE.properties +++ b/src/main/resources/messages_de_DE.properties @@ -27,6 +27,10 @@ navbar.convert=Konvertieren navbar.security=Sicherheit navbar.other=Anderes navbar.darkmode=Dark Mode +navbar.pageOps=Seitenoperationen + +home.multiTool.title=PDF-Multitool +home.multiTool.desc=Seiten zusammenführen, drehen, neu anordnen und entfernen home.merge.title=Zusammenführen home.merge.desc=Mehrere PDF-Dateien zu einer einzigen zusammenführen. diff --git a/src/main/resources/messages_en_GB.properties b/src/main/resources/messages_en_GB.properties index 6e9ee7cd..e0e07a5b 100644 --- a/src/main/resources/messages_en_GB.properties +++ b/src/main/resources/messages_en_GB.properties @@ -23,11 +23,15 @@ close=Close ############# home.desc=Your locally hosted one-stop-shop for all your PDF needs. -navbar.pageOps=Page Operations + navbar.convert=Convert navbar.security=Security navbar.other=Other navbar.darkmode=Dark Mode +navbar.pageOps=Page Operations + +home.multiTool.title=PDF Multi Tool +home.multiTool.desc=Merge, Rotate, Rearrange, and Remove pages home.merge.title=Merge home.merge.desc=Easily merge multiple PDFs into one. @@ -47,9 +51,6 @@ home.pdfToImage.desc=Convert a PDF to a image. (PNG, JPEG, GIF) home.pdfOrganiser.title=Organise home.pdfOrganiser.desc=Remove/Rearrange pages in any order -home.multiTool.title=PDF Multi Tool -home.multiTool.desc=Merge, Rotate, Rearrange, and Remove pages - home.addImage.title=Add image onto PDF home.addImage.desc=Adds a image onto a set location on the PDF (Work in progress) diff --git a/src/main/resources/messages_es_ES.properties b/src/main/resources/messages_es_ES.properties index e054d3f1..f34bd319 100644 --- a/src/main/resources/messages_es_ES.properties +++ b/src/main/resources/messages_es_ES.properties @@ -27,6 +27,10 @@ navbar.convert=Convertir navbar.security=Seguridad navbar.other=Otro navbar.darkmode=Modo oscuro +navbar.pageOps=Operaciones de página + +home.multiTool.title=Multiherramienta PDF +home.multiTool.desc=Combinar, rotar, reorganizar y eliminar páginas home.merge.title=Unir home.merge.desc=Unir fácilmente múltiples PDFs en uno. diff --git a/src/main/resources/messages_fr_FR.properties b/src/main/resources/messages_fr_FR.properties index 14e07674..ebb519a2 100644 --- a/src/main/resources/messages_fr_FR.properties +++ b/src/main/resources/messages_fr_FR.properties @@ -31,6 +31,10 @@ navbar.convert=Convertir navbar.security=Sécurité navbar.other=Autre navbar.darkmode=Mode sombre +navbar.pageOps=Opérations de page + +home.multiTool.title=Multi-outil PDF +home.multiTool.desc=Fusionner, faire pivoter, réorganiser et supprimer des pages home.merge.title=Fusionnez home.merge.desc=Fusionnez facilement plusieurs PDF en un seul. diff --git a/src/main/resources/static/images/flags/ar.svg b/src/main/resources/static/images/flags/ar.svg deleted file mode 100644 index d1810f25..00000000 --- a/src/main/resources/static/images/flags/ar.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/static/images/flags/sa.svg b/src/main/resources/static/images/flags/sa.svg new file mode 100644 index 00000000..b0d56dfc --- /dev/null +++ b/src/main/resources/static/images/flags/sa.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/templates/fragments/navbar.html b/src/main/resources/templates/fragments/navbar.html index eabf638e..0dc64a7f 100644 --- a/src/main/resources/templates/fragments/navbar.html +++ b/src/main/resources/templates/fragments/navbar.html @@ -79,6 +79,7 @@ function compareVersions(version1, version2) { width: 16px; height: 16px; vertical-align: middle; + transform: translateY(-2px); } .icon + .icon { @@ -86,7 +87,7 @@ function compareVersions(version1, version2) { } .icon-text { - margin-left: 8px; + margin-left: 4px; } .settings-cog { filter: invert(1); @@ -131,7 +132,7 @@ function compareVersions(version1, version2) {