From a2926b8fe91c1f69e4f8373019db986f1f4e0f58 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 13 May 2023 13:26:28 +0100 Subject: [PATCH] Minor language stuff --- src/main/resources/messages_ar_AR.properties | 3 +++ src/main/resources/messages_ca_CA.properties | 4 +++- src/main/resources/messages_de_DE.properties | 4 +++- src/main/resources/messages_en_GB.properties | 4 +++- src/main/resources/messages_es_ES.properties | 4 +++- src/main/resources/messages_fr_FR.properties | 4 +++- src/main/resources/messages_zh_CN.properties | 4 +++- src/main/resources/templates/fragments/common.html | 2 +- src/main/resources/templates/fragments/navbar.html | 6 +++--- 9 files changed, 25 insertions(+), 10 deletions(-) diff --git a/src/main/resources/messages_ar_AR.properties b/src/main/resources/messages_ar_AR.properties index c9b9938d..305b444d 100644 --- a/src/main/resources/messages_ar_AR.properties +++ b/src/main/resources/messages_ar_AR.properties @@ -21,6 +21,9 @@ false=\u062E\u0637\u0623 unknown=\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641 save=\u062D\u0641\u0638 close=\u0625\u063A\u0644\u0627\u0642 +filesSelected = الملفات المحددة +noFavourites = لم تتم إضافة أي مفضلات +bored = الانتظار بالملل؟ ############# # HOME-PAGE # diff --git a/src/main/resources/messages_ca_CA.properties b/src/main/resources/messages_ca_CA.properties index 95b60e50..92e560fe 100644 --- a/src/main/resources/messages_ca_CA.properties +++ b/src/main/resources/messages_ca_CA.properties @@ -17,7 +17,9 @@ false=Fals unknown=Desconegut save=Desa close=Tanca - +filesSelected=fitxers seleccionats +noFavourites=No s'ha afegit cap favorit +bored=Avorrit esperant? ############# # HOME-PAGE # ############# diff --git a/src/main/resources/messages_de_DE.properties b/src/main/resources/messages_de_DE.properties index ea8df7ab..c9e48adb 100644 --- a/src/main/resources/messages_de_DE.properties +++ b/src/main/resources/messages_de_DE.properties @@ -17,7 +17,9 @@ false=Falsch unknown=Unbekannt save=Speichern close=Schließen - +filesSelected=Dateien ausgewählt +noFavourites=Keine Favoriten hinzugefügt +bored=Gelangweiltes Warten? ############# # HOME-PAGE # ############# diff --git a/src/main/resources/messages_en_GB.properties b/src/main/resources/messages_en_GB.properties index 52bd0c56..2b33ccf3 100644 --- a/src/main/resources/messages_en_GB.properties +++ b/src/main/resources/messages_en_GB.properties @@ -17,7 +17,9 @@ false=False unknown=Unknown save=Save close=Close - +filesSelected=files selected +noFavourites=No favourites added +bored=Bored Waiting? ############# # HOME-PAGE # ############# diff --git a/src/main/resources/messages_es_ES.properties b/src/main/resources/messages_es_ES.properties index eb564511..ef269130 100644 --- a/src/main/resources/messages_es_ES.properties +++ b/src/main/resources/messages_es_ES.properties @@ -17,7 +17,9 @@ false=Falso unknown=Desconocido save=Guardar close=Cerrar - +filesSelected=archivos seleccionados +noFavourites=No se agregaron favoritos +bored=¿Aburrido de esperar? ############# # HOME-PAGE # ############# diff --git a/src/main/resources/messages_fr_FR.properties b/src/main/resources/messages_fr_FR.properties index 34378109..157cfd3b 100644 --- a/src/main/resources/messages_fr_FR.properties +++ b/src/main/resources/messages_fr_FR.properties @@ -21,7 +21,9 @@ false=Faux unknown=Inconnu save=Enregistrer close=Fermer - +filesSelected=fichiers sélectionnés +noFavourites=Aucun favori ajouté +bored=Ennuyé d'attendre ? ############# # HOME-PAGE # ############# diff --git a/src/main/resources/messages_zh_CN.properties b/src/main/resources/messages_zh_CN.properties index bddd8b1c..5b006821 100644 --- a/src/main/resources/messages_zh_CN.properties +++ b/src/main/resources/messages_zh_CN.properties @@ -17,7 +17,9 @@ false=False unknown=未知 save=保存 close=关闭 - +filesSelected=\u9009\u62E9\u7684\u6587\u4EF6 +noFavourites=\u6CA1\u6709\u6DFB\u52A0\u6536\u85CF\u5939 +bored=\u65E0\u804A\u7B49\u5F85\uFF1F ############# # HOME-PAGE # ############# diff --git a/src/main/resources/templates/fragments/common.html b/src/main/resources/templates/fragments/common.html index 06ac8895..dfd066e3 100644 --- a/src/main/resources/templates/fragments/common.html +++ b/src/main/resources/templates/fragments/common.html @@ -543,7 +543,7 @@ document.addEventListener("DOMContentLoaded", function () { if (fileNames.length === 1) { $(inputElement).siblings(".custom-file-label").addClass("selected").html(fileNames[0]); } else if (fileNames.length > 1) { - $(inputElement).siblings(".custom-file-label").addClass("selected").html(fileNames.length + " files selected"); + $(inputElement).siblings(".custom-file-label").addClass("selected").html(fileNames.length + " " + [[#{filesSelected}]]); } else { $(inputElement).siblings(".custom-file-label").addClass("selected").html([[#{pdfPrompt}]]); } diff --git a/src/main/resources/templates/fragments/navbar.html b/src/main/resources/templates/fragments/navbar.html index 5dc7f369..ff921f52 100644 --- a/src/main/resources/templates/fragments/navbar.html +++ b/src/main/resources/templates/fragments/navbar.html @@ -364,7 +364,7 @@ function compareVersions(version1, version2) { -