From 40b1793cce0c920bc9af2a839aa167fad3ee9b6e Mon Sep 17 00:00:00 2001 From: tonyaellie Date: Wed, 30 Oct 2024 22:40:02 +0000 Subject: [PATCH 1/4] feat: sanitise translations when using v-html --- frontend/pages/tools.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/pages/tools.vue b/frontend/pages/tools.vue index c4597314..6f28cca6 100644 --- a/frontend/pages/tools.vue +++ b/frontend/pages/tools.vue @@ -40,7 +40,7 @@ -
+
@@ -57,7 +57,7 @@ {{ $t("tools.actions") }} @@ -75,13 +75,13 @@ -
+
-
+
@@ -91,6 +91,7 @@ + + \ No newline at end of file From d5e66f29b0050feabb82e73ccca541ec4b5e5dc7 Mon Sep 17 00:00:00 2001 From: Matt Kilgore Date: Thu, 31 Oct 2024 22:01:32 -0400 Subject: [PATCH 3/4] chore: remove try it button from api docs --- docs/en/api.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/en/api.md b/docs/en/api.md index 9ecce9a3..fc8bae6c 100644 --- a/docs/en/api.md +++ b/docs/en/api.md @@ -22,6 +22,12 @@ if (isDark.value) { } + + Date: Sat, 2 Nov 2024 17:47:12 +0000 Subject: [PATCH 4/4] Translated using Weblate (English) Currently translated at 100.0% (276 of 276 strings) Translated using Weblate (English) Currently translated at 100.0% (274 of 274 strings) Translated using Weblate (English) Currently translated at 100.0% (273 of 273 strings) Translated using Weblate (Dutch) Currently translated at 100.0% (273 of 273 strings) Translated using Weblate (French) Currently translated at 75.8% (207 of 273 strings) Translated using Weblate (French) Currently translated at 75.8% (207 of 273 strings) Translated using Weblate (French) Currently translated at 75.8% (207 of 273 strings) Translated using Weblate (French) Currently translated at 75.8% (207 of 273 strings) Translated using Weblate (French) Currently translated at 65.9% (180 of 273 strings) Co-authored-by: 101br03k Co-authored-by: Matthew Kilgore Co-authored-by: MyMemory Co-authored-by: Weblate Co-authored-by: buzz Co-authored-by: mcarbonne Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/en/ Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fr/ Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/nl/ Translation: Homebox/Frontend --- frontend/locales/en.json | 4 ++++ frontend/locales/fr.json | 41 ++++++++++++++++++++++++++++++++++++++-- frontend/locales/nl.json | 6 +++--- 3 files changed, 46 insertions(+), 5 deletions(-) diff --git a/frontend/locales/en.json b/frontend/locales/en.json index 6835a83a..c18480d8 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -225,6 +225,10 @@ "zh-MO": "Chinese (Macau)", "zh-TW": "Chinese (Traditional)" }, + "languages.da-DK": "Danish", + "languages.fi.FI": "Finnish", + "languages.ro-RO": "Romanian", + "languages.sk-SK": "Slovak", "locations": { "child_locations": "Child Locations", "collapse_tree": "Collapse Tree", diff --git a/frontend/locales/fr.json b/frontend/locales/fr.json index fa1d9273..d743c87b 100644 --- a/frontend/locales/fr.json +++ b/frontend/locales/fr.json @@ -9,6 +9,30 @@ } }, "global": { + "date_time": { + "ago": "Il y a {0}", + "days": "jours", + "hour": "heure", + "hours": "heures", + "in": "autour de {0}", + "just-now": "juste maintenant", + "last-month": "Le mois précédent", + "last-week": "la semaine dernière", + "last-year": "l'année dernière", + "minute": "minute", + "minutes": "minutes", + "months": "mois", + "next-month": "Le mois prochain", + "next-week": "la semaine prochaine", + "next-year": "l'année prochaine", + "second": "seconde", + "seconds": "secondes", + "tomorrow": "demain", + "week": "semaine", + "weeks": "semaines", + "years": "années", + "yesterday": "hier" + }, "page_qr_code": { "page_url": "URL de la page" }, @@ -18,6 +42,8 @@ }, "item": { "create_modal": { + "item_description": "Description de l'article", + "item_name": "Nom de l'article", "photo_button": "Photo 📷", "title": "Créer un article" }, @@ -27,25 +53,36 @@ "items": "Articles", "no_items": "Pas d'articles à afficher", "table": "Tableau" + }, + "table": { + "page": "Page", + "rows_per_page": "Lignes par page" } } }, "label": { "create_modal": { + "label_description": "Description de l'étiquette", + "label_name": "Nom de l'étiquette", "title": "Créer une étiquette" } }, "location": { "create_modal": { + "location_description": "Description de l'emplacement", + "location_name": "Nom de l'emplacement", "title": "Créer un emplacement" }, + "selector": { + "parent_location": "Emplacement parent" + }, "tree": { - "no_locations": "Aucun emplacement disponible. Ajoutez votre premiers emplacements avec\nle bouton `<`span class=\"link-primary\"`>`Créer`<`/span`>` dans la barre de navigation." + "no_locations": "Aucun emplacement disponible. Ajoutez votre premier emplacement avec\nle bouton `<`span class=\"link-primary\"`>`Créer`<`/span`>` dans la barre de navigation." } } }, "global": { - "build": "Assemblage : { build }", + "build": "Version : { build }", "confirm": "Confirmer", "create": "Créer", "create_and_add": "Créer et en ajouter un autre", diff --git a/frontend/locales/nl.json b/frontend/locales/nl.json index 4ace1a2e..95bcbc08 100644 --- a/frontend/locales/nl.json +++ b/frontend/locales/nl.json @@ -70,7 +70,7 @@ "location": { "create_modal": { "location_description": "Locatie omschrijving", - "location_name": "Locatie", + "location_name": "Locatie Naam", "title": "Maak locatie" }, "selector": { @@ -289,7 +289,7 @@ "example": "Voorbeeld", "gen_invite": "Genereer Uitnodigingslink", "group_settings": "Groeps Instellingen", - "group_settings_sub": "Gedeelde groepsinstellingen. Het kan zijn dat je je browser moet verversen om alle instellingen te zien werken.", + "group_settings_sub": "Gedeelde groepsinstellingen. Het kan zijn dat je de browser moet verversen om alle instellingen te zien werken.", "inactive": "Inactief", "language": "Taal", "new_password": "Nieuw Wachtwoord", @@ -299,7 +299,7 @@ "notifiers_sub": "Krijg notificaties voor opkomende onderhouds herinneringen", "test": "Test", "theme_settings": "Theme instellingen", - "theme_settings_sub": "Thema-instellingen worden opgeslagen in de lokale opslag van uw browser. Je kan deze wijzigen op elk moment. \nAls je problemen hebt met de instellingen kun je je browser verversen.", + "theme_settings_sub": "Thema-instellingen worden opgeslagen in de lokale opslag van uw browser. Je kan deze wijzigen op elk moment. \nAls je problemen hebt met de instellingen kun je de browser verversen.", "update_group": "Groep bijwerken", "update_language": "Taal bijwerken", "url": "URL",