From d954ac057d4619d5394a116875716976b0881555 Mon Sep 17 00:00:00 2001 From: Sean Morley <98704938+seanmorley15@users.noreply.github.com> Date: Wed, 10 Dec 2025 14:53:48 -0500 Subject: [PATCH] Misc. Bug fixes and Translation Improvments (#926) * Fixes [BUG] Editing a location removes it from all the collections Fixes #893 * Add new translations for Chinese and Ukrainian locales - Updated zh.json to include new keys: "about_country", "about_region", "show_less", and "show_more". - Registered Ukrainian locale in +layout.svelte and added it to the locales array. * Update translation for 'back' in Dutch locale (#917) --------- Co-authored-by: Sille Van Landschoot <979071+sillevl@users.noreply.github.com> --- frontend/src/lib/components/Navbar.svelte | 1 + .../locations/LocationDetails.svelte | 40 +- frontend/src/locales/ar.json | 6 +- frontend/src/locales/de.json | 2078 +++++++++-------- frontend/src/locales/en.json | 3 +- frontend/src/locales/es.json | 6 +- frontend/src/locales/fr.json | 6 +- frontend/src/locales/hu.json | 66 +- frontend/src/locales/it.json | 6 +- frontend/src/locales/ja.json | 6 +- frontend/src/locales/ko.json | 6 +- frontend/src/locales/nl.json | 8 +- frontend/src/locales/no.json | 6 +- frontend/src/locales/pl.json | 6 +- frontend/src/locales/pt-br.json | 2057 ++++++++-------- frontend/src/locales/ru.json | 6 +- frontend/src/locales/sk.json | 2078 +++++++++-------- frontend/src/locales/sv.json | 6 +- frontend/src/locales/tr.json | 2078 +++++++++-------- frontend/src/locales/uk.json | 1044 ++++++++- frontend/src/locales/zh.json | 6 +- frontend/src/routes/+layout.svelte | 2 + .../src/routes/profile/[uuid]/+page.svelte | 16 +- frontend/src/routes/settings/+page.svelte | 9 +- .../routes/worldtravel/[id]/[id]/+page.svelte | 2 +- 25 files changed, 5355 insertions(+), 4193 deletions(-) diff --git a/frontend/src/lib/components/Navbar.svelte b/frontend/src/lib/components/Navbar.svelte index 7b776616..c72976d9 100644 --- a/frontend/src/lib/components/Navbar.svelte +++ b/frontend/src/lib/components/Navbar.svelte @@ -66,6 +66,7 @@ 'pt-br': 'Português (Brasil)', sk: 'Slovenský', tr: 'Türkçe', + uk: 'Українська', hu: 'Magyar' }; diff --git a/frontend/src/lib/components/locations/LocationDetails.svelte b/frontend/src/lib/components/locations/LocationDetails.svelte index 126b119d..6aa9399e 100644 --- a/frontend/src/lib/components/locations/LocationDetails.svelte +++ b/frontend/src/lib/components/locations/LocationDetails.svelte @@ -1,7 +1,7 @@