From ce5cd20e541fcd86c3d41e2a9e7ccf720ab19218 Mon Sep 17 00:00:00 2001 From: Bekiboo Date: Sat, 3 Oct 2026 13:13:41 +0300 Subject: [PATCH] fix(eid-wallet): translate the apps ribbon categories the marketplace uses The ribbon only translated Social, Governance and Finance, so the live categories (Productivity, Wellness, Communication, Other) stayed in English in ru and uk. Add labels for those and for Identity and Storage, the other categories the marketplace lists. --- docs/static/translations.json | 18 ++++++++++++++++++ infrastructure/eid-wallet/messages/en.json | 6 ++++++ infrastructure/eid-wallet/messages/ru.json | 6 ++++++ infrastructure/eid-wallet/messages/uk.json | 6 ++++++ .../main/components/AppsMarketplace.svelte | 10 ++++++++-- 5 files changed, 44 insertions(+), 2 deletions(-) diff --git a/docs/static/translations.json b/docs/static/translations.json index 058ff5e4e..8cedc5d82 100644 --- a/docs/static/translations.json +++ b/docs/static/translations.json @@ -162,9 +162,15 @@ "main_profile_setup_title": "Setting up your eVault profile", "main_settings_aria": "Settings", "marketplace_all_apps": "All apps", + "marketplace_category_communication": "Communication", "marketplace_category_finance": "Finance", "marketplace_category_governance": "Governance", + "marketplace_category_identity": "Identity", + "marketplace_category_other": "Other", + "marketplace_category_productivity": "Productivity", "marketplace_category_social": "Social", + "marketplace_category_storage": "Storage", + "marketplace_category_wellness": "Wellness", "marketplace_see_all_aria": "See all apps", "marketplace_title": "Apps marketplace", "notif_clear_all": "Clear all", @@ -712,9 +718,15 @@ "main_profile_setup_title": "Настраиваем профиль вашего eVault", "main_settings_aria": "Настройки", "marketplace_all_apps": "Все приложения", + "marketplace_category_communication": "Общение", "marketplace_category_finance": "Финансы", "marketplace_category_governance": "Управление", + "marketplace_category_identity": "Идентификация", + "marketplace_category_other": "Другое", + "marketplace_category_productivity": "Продуктивность", "marketplace_category_social": "Социальные", + "marketplace_category_storage": "Хранилище", + "marketplace_category_wellness": "Здоровье", "marketplace_see_all_aria": "Посмотреть все приложения", "marketplace_title": "Маркетплейс приложений", "notif_clear_all": "Очистить всё", @@ -1262,9 +1274,15 @@ "main_profile_setup_title": "Налаштовуємо профіль вашого eVault", "main_settings_aria": "Налаштування", "marketplace_all_apps": "Усі застосунки", + "marketplace_category_communication": "Спілкування", "marketplace_category_finance": "Фінанси", "marketplace_category_governance": "Врядування", + "marketplace_category_identity": "Ідентифікація", + "marketplace_category_other": "Інше", + "marketplace_category_productivity": "Продуктивність", "marketplace_category_social": "Соціальні", + "marketplace_category_storage": "Сховище", + "marketplace_category_wellness": "Здоров’я", "marketplace_see_all_aria": "Переглянути всі застосунки", "marketplace_title": "Маркетплейс застосунків", "notif_clear_all": "Очистити все", diff --git a/infrastructure/eid-wallet/messages/en.json b/infrastructure/eid-wallet/messages/en.json index e60f487bc..8cc973e7e 100644 --- a/infrastructure/eid-wallet/messages/en.json +++ b/infrastructure/eid-wallet/messages/en.json @@ -175,9 +175,15 @@ "main_profile_setup_title": "Setting up your eVault profile", "main_settings_aria": "Settings", "marketplace_all_apps": "All apps", + "marketplace_category_communication": "Communication", "marketplace_category_finance": "Finance", "marketplace_category_governance": "Governance", + "marketplace_category_identity": "Identity", + "marketplace_category_other": "Other", + "marketplace_category_productivity": "Productivity", "marketplace_category_social": "Social", + "marketplace_category_storage": "Storage", + "marketplace_category_wellness": "Wellness", "marketplace_see_all_aria": "See all apps", "marketplace_title": "Apps marketplace", "notif_clear_all": "Clear all", diff --git a/infrastructure/eid-wallet/messages/ru.json b/infrastructure/eid-wallet/messages/ru.json index 2e415310d..33d84981c 100644 --- a/infrastructure/eid-wallet/messages/ru.json +++ b/infrastructure/eid-wallet/messages/ru.json @@ -177,9 +177,15 @@ "main_profile_setup_title": "Настраиваем профиль вашего eVault", "main_settings_aria": "Настройки", "marketplace_all_apps": "Все приложения", + "marketplace_category_communication": "Общение", "marketplace_category_finance": "Финансы", "marketplace_category_governance": "Управление", + "marketplace_category_identity": "Идентификация", + "marketplace_category_other": "Другое", + "marketplace_category_productivity": "Продуктивность", "marketplace_category_social": "Социальные", + "marketplace_category_storage": "Хранилище", + "marketplace_category_wellness": "Здоровье", "marketplace_see_all_aria": "Посмотреть все приложения", "marketplace_title": "Маркетплейс приложений", "notif_clear_all": "Очистить всё", diff --git a/infrastructure/eid-wallet/messages/uk.json b/infrastructure/eid-wallet/messages/uk.json index 1d1d672e3..e18342865 100644 --- a/infrastructure/eid-wallet/messages/uk.json +++ b/infrastructure/eid-wallet/messages/uk.json @@ -177,9 +177,15 @@ "main_profile_setup_title": "Налаштовуємо профіль вашого eVault", "main_settings_aria": "Налаштування", "marketplace_all_apps": "Усі застосунки", + "marketplace_category_communication": "Спілкування", "marketplace_category_finance": "Фінанси", "marketplace_category_governance": "Врядування", + "marketplace_category_identity": "Ідентифікація", + "marketplace_category_other": "Інше", + "marketplace_category_productivity": "Продуктивність", "marketplace_category_social": "Соціальні", + "marketplace_category_storage": "Сховище", + "marketplace_category_wellness": "Здоров’я", "marketplace_see_all_aria": "Переглянути всі застосунки", "marketplace_title": "Маркетплейс застосунків", "notif_clear_all": "Очистити все", diff --git a/infrastructure/eid-wallet/src/routes/(app)/main/components/AppsMarketplace.svelte b/infrastructure/eid-wallet/src/routes/(app)/main/components/AppsMarketplace.svelte index e7ebf657d..6b4c4b95b 100644 --- a/infrastructure/eid-wallet/src/routes/(app)/main/components/AppsMarketplace.svelte +++ b/infrastructure/eid-wallet/src/routes/(app)/main/components/AppsMarketplace.svelte @@ -28,9 +28,15 @@ let brokenLogos = $state>(new Set()); // Categories the wallet has translations for; anything else is shown as // the platform published it. const CATEGORY_LABELS: Record string> = { - social: m.marketplace_category_social, - governance: m.marketplace_category_governance, + communication: m.marketplace_category_communication, finance: m.marketplace_category_finance, + governance: m.marketplace_category_governance, + identity: m.marketplace_category_identity, + other: m.marketplace_category_other, + productivity: m.marketplace_category_productivity, + social: m.marketplace_category_social, + storage: m.marketplace_category_storage, + wellness: m.marketplace_category_wellness, }; function categoryLabel(category: string): string {