Skip to content

Commit

Permalink
PB-898 Add a legal notice link to the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
schtibe committed Aug 20, 2024
1 parent 1b09a88 commit 8416b72
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/modules/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 3 additions & 1 deletion src/modules/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 3 additions & 1 deletion src/modules/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 3 additions & 1 deletion src/modules/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 3 additions & 1 deletion src/modules/i18n/locales/rm.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 4 additions & 0 deletions src/modules/map/components/footer/MapFooterAppCopyright.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export default {
label: 'copyright_label',
url: this.$t('copyright_url'),
},
{
label: 'legal_notice',
url: this.$t('legal_notice_url'),
},
]
},
},
Expand Down

0 comments on commit 8416b72

Please sign in to comment.