From ff2ba240c9a499aa95f02deeaba80239c596015c Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 11 Jul 2024 17:20:57 +0200 Subject: [PATCH] feat(web): Rename the Menu Entry "admin.map_settings" to "admin.map_gps_settings" (#11033) * Rename the Menu Entry "admin.map_settings" to "admin.map_gps_settings" Explanation: The main menu item is called Map & GPS-Settings. The sub-item below it is also called. It would be correct: Main item: Map & GPS-Settings Sub-item 1: Map settings * Update en.json * chore: formatting --------- Co-authored-by: Jason Rasmussen --- web/src/lib/i18n/en.json | 4 +++- web/src/routes/admin/system-settings/+page.svelte | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/web/src/lib/i18n/en.json b/web/src/lib/i18n/en.json index 59481d3fef..b28b0b0cbd 100644 --- a/web/src/lib/i18n/en.json +++ b/web/src/lib/i18n/en.json @@ -125,12 +125,14 @@ "manage_log_settings": "Manage log settings", "map_dark_style": "Dark style", "map_enable_description": "Enable map features", + "map_gps_settings": "Map & GPS Settings", + "map_gps_settings_description": "Manage Map & GPS (Reverse Geocoding) Settings", "map_light_style": "Light style", "map_manage_reverse_geocoding_settings": "Manage Reverse Geocoding settings", "map_reverse_geocoding": "Reverse Geocoding", "map_reverse_geocoding_enable_description": "Enable reverse geocoding", "map_reverse_geocoding_settings": "Reverse Geocoding Settings", - "map_settings": "Map & GPS Settings", + "map_settings": "Map Settings", "map_settings_description": "Manage map settings", "map_style_description": "URL to a style.json map theme", "metadata_extraction_job": "Extract metadata", diff --git a/web/src/routes/admin/system-settings/+page.svelte b/web/src/routes/admin/system-settings/+page.svelte index 12bd54cecd..eff9336121 100644 --- a/web/src/routes/admin/system-settings/+page.svelte +++ b/web/src/routes/admin/system-settings/+page.svelte @@ -106,8 +106,8 @@ }, { component: MapSettings, - title: $t('admin.map_settings'), - subtitle: $t('admin.map_settings_description'), + title: $t('admin.map_gps_settings'), + subtitle: $t('admin.map_gps_settings_description'), key: 'location', }, {