From 379428fedccce286731b9daecbd8cd1f3dfae83c Mon Sep 17 00:00:00 2001 From: nOester <51328443+nOester@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:19:35 +0200 Subject: [PATCH 1/6] Update app.de.json --- ui/locales/app.de.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/locales/app.de.json b/ui/locales/app.de.json index 860d619f8..6ce65eb4e 100644 --- a/ui/locales/app.de.json +++ b/ui/locales/app.de.json @@ -15,7 +15,7 @@ "cancel": "Abbrechen", "contact_mailto_text": "Kontakt", "created_on": "Erstellt am", - "dashboard_add_view": "", + "dashboard_add_view": "Ansicht hinzufügen", "dashboard_back_to_topics": "Zurück zu den Themen", "dashboard_by_swisstopo_title": "von swisstopo", "dashboard_delete_warning_description": "Das Projekt und seine Bestandteile werden dauerhaft gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.", @@ -83,7 +83,7 @@ "dtd_remove_assets_confirmation": "Token hat geändert, aktuelle Datensätze werden entfernt", "dtd_show": "Hintergrundkarte anzeigen", "dtd_show_exaggeration": "Vertikale Überhöhung anzeigen", - "dtd_slice_arrows_hidden": "", + "dtd_slice_arrows_hidden": "Um die Slicing-Box zu ändern, schalten Sie die Überhöhung aus", "dtd_time_journey": "Zeitreise", "dtd_topic_kml_tag": "Themen-Objekt", "dtd_user_content_label": "Eigenen Inhalt hinzufügen", @@ -283,8 +283,8 @@ "tbx_profile_btn": "Höhenprofil erstellen", "tbx_project_geometries": "Projekt", "tbx_remove_all_btn": "Alles entfernen", - "tbx_remove_all_warn_description": "", - "tbx_remove_all_warn_title": "", + "tbx_remove_all_warn_description": "Aufgelistete Geometrien werden permanent gelöscht. Diese Aktion kann nicht rückgängig gemacht werden", + "tbx_remove_all_warn_title": "Sind Sie sicher, dass Sie alle Geometrien löschen wollen?", "tbx_remove_btn_label": "Entfernen", "tbx_request_aborted_warning": "Aufruf abgebrochen", "tbx_save_editing_btn_label": "Speichern", From 313a035e1024fd3ce8bc5a85f831c14c2959edd7 Mon Sep 17 00:00:00 2001 From: nOester <51328443+nOester@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:24:24 +0200 Subject: [PATCH 2/6] Update app.en.json --- ui/locales/app.en.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/locales/app.en.json b/ui/locales/app.en.json index 40f57e186..e1e0fadd8 100644 --- a/ui/locales/app.en.json +++ b/ui/locales/app.en.json @@ -83,7 +83,7 @@ "dtd_remove_assets_confirmation": "Token changed, current datasets will be removed.", "dtd_show": "Show", "dtd_show_exaggeration": "Show exaggeration", - "dtd_slice_arrows_hidden": "Slice box arrows hidden", + "dtd_slice_arrows_hidden": "To change the slicing box, switch off the exaggeration", "dtd_time_journey": "Journey through time", "dtd_topic_kml_tag": "Topic object", "dtd_user_content_label": "Add user content", @@ -284,7 +284,7 @@ "tbx_project_geometries": "Project", "tbx_remove_all_btn": "Remove all", "tbx_remove_all_warn_description": "Listed geometries will be permanently removed. This action cannot be undone.", - "tbx_remove_all_warn_title": "Are you sure you want to remove all?", + "tbx_remove_all_warn_title": "Are you sure you want to remove all geometries?", "tbx_remove_btn_label": "Remove", "tbx_request_aborted_warning": "Request aborted", "tbx_save_editing_btn_label": "Save", From a3348f6249b84f56c29d758648504ff56e5ec2c1 Mon Sep 17 00:00:00 2001 From: nOester <51328443+nOester@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:30:53 +0200 Subject: [PATCH 3/6] Update app.fr.json --- ui/locales/app.fr.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/locales/app.fr.json b/ui/locales/app.fr.json index 5d36eeef5..e31b3840e 100644 --- a/ui/locales/app.fr.json +++ b/ui/locales/app.fr.json @@ -15,7 +15,7 @@ "cancel": "Annuler", "contact_mailto_text": "Contact", "created_on": "Créé le", - "dashboard_add_view": "", + "dashboard_add_view": "Ajouter une vue", "dashboard_back_to_topics": "Retour aux thèmes", "dashboard_by_swisstopo_title": "par swisstopo", "dashboard_delete_warning_description": "Le projet et ses biens seront définitivement supprimés. Cette action ne peut être annulée.", @@ -83,7 +83,7 @@ "dtd_remove_assets_confirmation": "Token a changé, les données actuelles seront supprimées", "dtd_show": "Afficher", "dtd_show_exaggeration": "Montrer l'exagération", - "dtd_slice_arrows_hidden": "", + "dtd_slice_arrows_hidden": "Pour modifier la boîte de découpage, désactivez l'exagération", "dtd_time_journey": "Voyage dans le temps", "dtd_topic_kml_tag": "Objet du thème", "dtd_user_content_label": "Ajouter propre contenu", @@ -283,8 +283,8 @@ "tbx_profile_btn": "Montrer le profil", "tbx_project_geometries": "Projet", "tbx_remove_all_btn": "Supprimer tout", - "tbx_remove_all_warn_description": "", - "tbx_remove_all_warn_title": "", + "tbx_remove_all_warn_description": "Les géométries listées seront définitivement supprimées. Cette action ne peut être annulée", + "tbx_remove_all_warn_title": "Êtes-vous sûr de vouloir supprimer toutes les géométries ?", "tbx_remove_btn_label": "Effacer", "tbx_request_aborted_warning": "Demande annulée", "tbx_save_editing_btn_label": "Sauvegarder", From 52f9f401321e7466b073178c4db27ad2151ae623 Mon Sep 17 00:00:00 2001 From: nOester <51328443+nOester@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:34:25 +0200 Subject: [PATCH 4/6] Update app.it.json --- ui/locales/app.it.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/locales/app.it.json b/ui/locales/app.it.json index 4e489ce67..b8b2603b5 100644 --- a/ui/locales/app.it.json +++ b/ui/locales/app.it.json @@ -1,4 +1,4 @@ -{ +x{ "app_cancel_btn_label": "Cancellare", "by": "di", "cam_configuration_header": "Configurazione della camera", @@ -15,7 +15,7 @@ "cancel": "Annullare", "contact_mailto_text": "Contatto", "created_on": "Creato lo", - "dashboard_add_view": "", + "dashboard_add_view": "Aggiungi vista", "dashboard_back_to_topics": "Tornare a temi", "dashboard_by_swisstopo_title": "da swisstopo", "dashboard_delete_warning_description": "Il progetto e i suoi beni saranno eliminati in modo permanente. Questa azione non può essere annullata.", @@ -83,7 +83,7 @@ "dtd_remove_assets_confirmation": "Il token è stato modificato, i set di dati attuali saranno rimossi.", "dtd_show": "Mostrare", "dtd_show_exaggeration": "Mostra l'esagerazione", - "dtd_slice_arrows_hidden": "", + "dtd_slice_arrows_hidden": "Per modificare il riquadro di affettatura, disattivare l'esagerazione", "dtd_time_journey": "Viaggio nel tempo", "dtd_topic_kml_tag": "Oggetto di tema", "dtd_user_content_label": "Aggiungere propio contenuto", @@ -283,8 +283,8 @@ "tbx_profile_btn": "Mostrare il profilo", "tbx_project_geometries": "Progetto", "tbx_remove_all_btn": "Rimuovi tutto", - "tbx_remove_all_warn_description": "", - "tbx_remove_all_warn_title": "", + "tbx_remove_all_warn_description": "Le geometrie elencate saranno rimosse in modo permanente. Questa azione non può essere annullata", + "tbx_remove_all_warn_title": "Siete sicuri di voler rimuovere tutte le geometrie?", "tbx_remove_btn_label": "Cancellare", "tbx_request_aborted_warning": "Domanda cancellata", "tbx_save_editing_btn_label": "Salvare", From 55edae02f02f0b939dd2600bbfde5db98168c417 Mon Sep 17 00:00:00 2001 From: nOester <51328443+nOester@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:34:54 +0200 Subject: [PATCH 5/6] Update app.it.json --- ui/locales/app.it.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/locales/app.it.json b/ui/locales/app.it.json index b8b2603b5..3269d0e1f 100644 --- a/ui/locales/app.it.json +++ b/ui/locales/app.it.json @@ -1,4 +1,4 @@ -x{ +{ "app_cancel_btn_label": "Cancellare", "by": "di", "cam_configuration_header": "Configurazione della camera", From 86c9a49420a40f7b392a698fdf820ad9bcccdeb4 Mon Sep 17 00:00:00 2001 From: vladyslavtk Date: Mon, 2 Sep 2024 11:55:01 +0300 Subject: [PATCH 6/6] fixed Tools translation --- ui/locales/app.de.json | 1 + ui/locales/app.en.json | 1 + ui/locales/app.fr.json | 1 + ui/locales/app.it.json | 1 + ui/src/toolbox/ngm-toolbox.ts | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/locales/app.de.json b/ui/locales/app.de.json index 6ce65eb4e..a07593fd7 100644 --- a/ui/locales/app.de.json +++ b/ui/locales/app.de.json @@ -96,6 +96,7 @@ "lsb_debug_tools": "Debugtools", "lsb_settings": "Einstellungen", "lsb_share": "Teilen", + "lsb_tools": "Werkzeuge", "lyr_3d_model_berne_label": "3D-Modell Stadt Bern", "lyr_3d_model_label": "3D-Modelle", "lyr_background_label": "Hintergrunddaten", diff --git a/ui/locales/app.en.json b/ui/locales/app.en.json index e1e0fadd8..ea47951a9 100644 --- a/ui/locales/app.en.json +++ b/ui/locales/app.en.json @@ -96,6 +96,7 @@ "lsb_debug_tools": "Debug tools", "lsb_settings": "Settings", "lsb_share": "Share", + "lsb_tools": "Tools", "lyr_3d_model_berne_label": "City of Bern", "lyr_3d_model_label": "Local models", "lyr_background_label": "Background data", diff --git a/ui/locales/app.fr.json b/ui/locales/app.fr.json index e31b3840e..334878fcd 100644 --- a/ui/locales/app.fr.json +++ b/ui/locales/app.fr.json @@ -96,6 +96,7 @@ "lsb_debug_tools": "Debug tools", "lsb_settings": "Paramètres", "lsb_share": "Partager", + "lsb_tools": "Outils", "lyr_3d_model_berne_label": "Modèle 3D Ville de Berne", "lyr_3d_model_label": "Modèles 3D", "lyr_background_label": "Données d'arrière-plan", diff --git a/ui/locales/app.it.json b/ui/locales/app.it.json index 3269d0e1f..919ee83e2 100644 --- a/ui/locales/app.it.json +++ b/ui/locales/app.it.json @@ -96,6 +96,7 @@ "lsb_debug_tools": "Debug tools", "lsb_settings": "Impostazioni", "lsb_share": "Condividere", + "lsb_tools": "Strumenti", "lyr_3d_model_berne_label": "Modello 3D Città di Berna", "lyr_3d_model_label": "Modelli 3D", "lyr_background_label": "Dati di sfondo", diff --git a/ui/src/toolbox/ngm-toolbox.ts b/ui/src/toolbox/ngm-toolbox.ts index b9a35eaec..6203caac9 100644 --- a/ui/src/toolbox/ngm-toolbox.ts +++ b/ui/src/toolbox/ngm-toolbox.ts @@ -240,7 +240,7 @@ export class NgmToolbox extends LitElementI18n { return html`
- ${i18next.t(this.activeTool ? `tbx_${this.activeTool}` : 'lsb_tools')} + ${this.activeTool ? i18next.t(`tbx_${this.activeTool}`) : i18next.t('lsb_tools')}
this.onClose()}>