From 8416b7241007d1eaaee9b4450aabcaed65b304ea Mon Sep 17 00:00:00 2001 From: Stefan Heinemann Date: Mon, 19 Aug 2024 16:29:33 +0200 Subject: [PATCH] PB-898 Add a legal notice link to the footer --- src/modules/i18n/locales/de.json | 4 +++- src/modules/i18n/locales/en.json | 4 +++- src/modules/i18n/locales/fr.json | 4 +++- src/modules/i18n/locales/it.json | 4 +++- src/modules/i18n/locales/rm.json | 4 +++- src/modules/map/components/footer/MapFooterAppCopyright.vue | 4 ++++ 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/modules/i18n/locales/de.json b/src/modules/i18n/locales/de.json index 41f954848..13901d4f1 100644 --- a/src/modules/i18n/locales/de.json +++ b/src/modules/i18n/locales/de.json @@ -686,5 +686,7 @@ "geoloc_out_of_bounds": "Ihre aktuelle Position liegt ausserhalb der Schweiz und kann deshalb nicht angezeigt werden", "orient_map_north": "Karte einnorden", "kml_icon_url_cors_issue": "Die KML-Datei „{layerName}“ enthält Symbol(e) mit der URL {url}, die keine CORS-Unterstützung bietet! Bitte wenden Sie sich an den Administrator dieser URL, um die Unterstützung für CORS hinzuzufügen.", - "warning": "Warnung" + "warning": "Warnung", + "legal_notice": "Impressum", + "legal_notice_url": "https://www.geo.admin.ch/de/impressum-verantwortlichkeiten-und-kontakte" } diff --git a/src/modules/i18n/locales/en.json b/src/modules/i18n/locales/en.json index ff0c110b5..a9cee238c 100644 --- a/src/modules/i18n/locales/en.json +++ b/src/modules/i18n/locales/en.json @@ -686,5 +686,7 @@ "geoloc_out_of_bounds": "Your current location is outside of Switzerland and cannot be shown", "orient_map_north": "Orient the map", "kml_icon_url_cors_issue": "The KML \"{layerName}\" contains icon(s) with URL {url} that doesn't support CORS! Please contact the administrator of this URL to add support for CORS.", - "warning": "Warning" + "warning": "Warning", + "legal_notice": "Legal Notice", + "legal_notice_url": "https://www.geo.admin.ch/en/impressum-responsibilities-and-contacts" } diff --git a/src/modules/i18n/locales/fr.json b/src/modules/i18n/locales/fr.json index be6123f3b..f9265fc17 100644 --- a/src/modules/i18n/locales/fr.json +++ b/src/modules/i18n/locales/fr.json @@ -686,5 +686,7 @@ "geoloc_out_of_bounds": "Votre emplacement actuel est en dehors de la Suisse et ne peut pas être affiché", "orient_map_north": "Orienter la carte", "kml_icon_url_cors_issue": "Le KML « {layerName} » contient des icônes avec l'URL {url} qui ne supporte pas CORS ! Veuillez contacter l'administrateur de cette URL pour avoir du support de CORS.", - "warning": "Attention" + "warning": "Attention", + "legal_notice": "Mentions légales", + "legal_notice_url": "https://www.geo.admin.ch/fr/impressum-responsabilites-et-contacts" } diff --git a/src/modules/i18n/locales/it.json b/src/modules/i18n/locales/it.json index 350c6c367..84394f28e 100644 --- a/src/modules/i18n/locales/it.json +++ b/src/modules/i18n/locales/it.json @@ -686,5 +686,7 @@ "geoloc_out_of_bounds": "La Sua posizione attuale è al di fuori della Svizzera e non può essere mostrata.", "orient_map_north": "Orientare la mappa", "kml_icon_url_cors_issue": "Il KML “{layerName}” contiene icone con l'URL {url} che non supporta CORS! Contattare l'amministratore di questo URL per aggiungere il supporto per CORS.", - "warning": "Avvertenza" + "warning": "Avvertenza", + "legal_notice": "Informazioni legali", + "legal_notice_url": "https://www.geo.admin.ch/it/colophon-responsabilita-e-contatti" } diff --git a/src/modules/i18n/locales/rm.json b/src/modules/i18n/locales/rm.json index 00d8cee24..de9cee85d 100644 --- a/src/modules/i18n/locales/rm.json +++ b/src/modules/i18n/locales/rm.json @@ -684,5 +684,7 @@ "geoloc_out_of_bounds": "Voss lieu actual sa chatta ordaifer la Svizra e na po betg vegnir mussà", "orient_map_north": "Orientar la carta", "kml_icon_url_cors_issue": "Il KML \"{layerName}\" cuntegna icona(s) cun URL {url} che na po nagin sustegnair CORS! As drizzai p.pl. a l'administratura da quella URL per agiuntar il sustegn dal CORS.", - "warning": "Avertiment" + "warning": "Avertiment", + "legal_notice": "Dapli infurmaziuns", + "legal_notice_url": "https://www.geo.admin.ch/de/impressum-verantwortlichkeiten-und-kontakte" } diff --git a/src/modules/map/components/footer/MapFooterAppCopyright.vue b/src/modules/map/components/footer/MapFooterAppCopyright.vue index d7ea0cb21..5764fa7bc 100644 --- a/src/modules/map/components/footer/MapFooterAppCopyright.vue +++ b/src/modules/map/components/footer/MapFooterAppCopyright.vue @@ -28,6 +28,10 @@ export default { label: 'copyright_label', url: this.$t('copyright_url'), }, + { + label: 'legal_notice', + url: this.$t('legal_notice_url'), + }, ] }, },