Skip to content

Commit

Permalink
Merge pull request #1090 from hydralauncher/feat/i18n
Browse files Browse the repository at this point in the history
feat: i18n adjustments
  • Loading branch information
zamitto authored Oct 22, 2024
2 parents a774b10 + 02d1f8f commit 3bff55e
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 98 deletions.
1 change: 0 additions & 1 deletion src/locales/ar/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "اَلْعَرَبِيَّةُ",
"home": {
"featured": "مميّز",
"trending": "شائع",
"surprise_me": "فاجئني",
"no_results": "لم يتم العثور على نتائج"
},
Expand Down
1 change: 0 additions & 1 deletion src/locales/be/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "беларуская мова",
"home": {
"featured": "Рэкамэндаванае",
"trending": "Актуальнае",
"surprise_me": "Здзіві мяне",
"no_results": "Няма вынікаў"
},
Expand Down
4 changes: 0 additions & 4 deletions src/locales/ca/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Destacats",
"trending": "Populars",
"surprise_me": "Sorprèn-me",
"no_results": "No s'ha trobat res"
},
Expand Down Expand Up @@ -178,9 +177,6 @@
"download_count_zero": "No hi ha baixades a la llista",
"download_count_one": "{{countFormatted}} a la llista de baixades",
"download_count_other": "{{countFormatted}} baixades a la llista",
"download_options_zero": "No hi ha cap descàrrega disponible",
"download_options_one": "{{countFormatted}} descàrrega disponible",
"download_options_other": "{{countFormatted}} baixades disponibles",
"download_source_url": "Descarrega l'URL de la font",
"add_download_source_description": "Inseriu la URL que conté el fitxer .json",
"download_source_up_to_date": "Actualitzat",
Expand Down
1 change: 0 additions & 1 deletion src/locales/cs/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Doporučené",
"trending": "Trendy",
"surprise_me": "Překvap mě",
"no_results": "Výsledek nenalezen"
},
Expand Down
1 change: 0 additions & 1 deletion src/locales/da/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Anbefalet",
"trending": "Trender",
"surprise_me": "Overrask mig",
"no_results": "Ingen resultater fundet",
"start_typing": "Begynd at skrive for at søge...",
Expand Down
1 change: 0 additions & 1 deletion src/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Empfohlen",
"trending": "Beliebt",
"surprise_me": "Überrasche mich",
"no_results": "Keine Ergebnisse gefunden"
},
Expand Down
9 changes: 5 additions & 4 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
},
"home": {
"featured": "Featured",
"trending": "Trending",
"surprise_me": "Surprise me",
"no_results": "No results found",
"start_typing": "Starting typing to search...",
"hot": "Hot now",
"weekly": "📅 Top games of the week",
"achievements": "🏆 Good with achievements"
"achievements": "🏆 Games to beat"
},
"sidebar": {
"catalogue": "Catalogue",
Expand Down Expand Up @@ -164,7 +163,9 @@
"max_number_of_artifacts_reached": "Maximum number of backups reached for this game",
"achievements_not_sync": "Your achievements are not synchronized",
"manage_files_description": "Manage which files will be backed up and restored",
"select_folder": "Select folder"
"select_folder": "Select folder",
"backup_from": "Backup from {{date}}",
"custom_backup_location_set": "Custom backup location set"
},
"activation": {
"title": "Activate Hydra",
Expand Down Expand Up @@ -364,7 +365,7 @@
"tour": {
"subscription_tour_title": "Hydra Cloud Subscription",
"subscribe_now": "Subscribe now",
"cloud_saving": "Cloud saving (up to {{gameCount}} games)",
"cloud_saving": "Cloud saving",
"cloud_achievements": "Save your achievements on the cloud",
"animated_profile_picture": "Animated profile pictures",
"premium_support": "Premium Support",
Expand Down
3 changes: 1 addition & 2 deletions src/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Destacado",
"trending": "Tendencia",
"surprise_me": "¡Sorpréndeme!",
"no_results": "Sin resultados encontrados",
"start_typing": "Empieza a escribir para buscar...",
Expand Down Expand Up @@ -361,7 +360,7 @@
"tour": {
"subscription_tour_title": "Suscripción Hydra Cloud",
"subscribe_now": "Suscribirse ahora",
"cloud_saving": "Guardado en la nube (hasta {{gameCount}} juegos)",
"cloud_saving": "Guardado en la nube",
"cloud_achievements": "Guarda tus logros en la nube",
"animated_profile_picture": "Fotos de perfil animadas",
"premium_support": "Soporte Premium",
Expand Down
3 changes: 1 addition & 2 deletions src/locales/et/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Esile toodud",
"trending": "Populaarne",
"surprise_me": "Üllata mind",
"no_results": "Tulemusi ei leitud",
"start_typing": "Alusta otsimiseks kirjutamist...",
Expand Down Expand Up @@ -449,7 +448,7 @@
"tour": {
"subscription_tour_title": "Hydra Cloud Tellimus",
"subscribe_now": "Telli kohe",
"cloud_saving": "Pilvesalvestus (kuni {{gameCount}} mängu)",
"cloud_saving": "Pilvesalvestus",
"cloud_achievements": "Salvesta oma saavutused pilve",
"animated_profile_picture": "Animeeritud profiilipildid",
"premium_support": "Premium tugi",
Expand Down
1 change: 0 additions & 1 deletion src/locales/fa/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "فارسی",
"home": {
"featured": "پیشنهادی",
"trending": "پرطرفدار",
"surprise_me": "سوپرایزم کن",
"no_results": "اتمام‌ای پیدا نشد"
},
Expand Down
1 change: 0 additions & 1 deletion src/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "Français",
"home": {
"featured": "En vedette",
"trending": "Tendance",
"surprise_me": "Surprenez-moi",
"no_results": "Aucun résultat trouvé"
},
Expand Down
1 change: 0 additions & 1 deletion src/locales/hu/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "Magyar",
"home": {
"featured": "Featured",
"trending": "Népszerű",
"surprise_me": "Lepj meg",
"no_results": "Nem található"
},
Expand Down
4 changes: 0 additions & 4 deletions src/locales/id/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Unggulan",
"trending": "Sedang Tren",
"surprise_me": "Kejutkan saya",
"no_results": "Tidak ada hasil ditemukan"
},
Expand Down Expand Up @@ -178,9 +177,6 @@
"download_count_zero": "Tidak ada unduhan dalam daftar",
"download_count_one": "{{countFormatted}} unduhan dalam daftar",
"download_count_other": "{{countFormatted}} unduhan dalam daftar",
"download_options_zero": "Tidak ada unduhan tersedia",
"download_options_one": "{{countFormatted}} unduhan tersedia",
"download_options_other": "{{countFormatted}} unduhan tersedia",
"download_source_url": "URL sumber unduhan",
"add_download_source_description": "Masukkan URL yang berisi file .json",
"download_source_up_to_date": "Terkini",
Expand Down
1 change: 0 additions & 1 deletion src/locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "Italiano",
"home": {
"featured": "In primo piano",
"trending": "Di tendenza",
"surprise_me": "Sorprendimi",
"no_results": "Nessun risultato trovato"
},
Expand Down
4 changes: 0 additions & 4 deletions src/locales/kk/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Ұсынылған",
"trending": "Трендте",
"surprise_me": "Таңқалдыр",
"no_results": "Ештеңе табылмады"
},
Expand Down Expand Up @@ -176,9 +175,6 @@
"download_count_zero": "Жүктеулер тізімінде жоқ",
"download_count_one": "{{countFormatted}} жүктеу тізімде",
"download_count_other": "{{countFormatted}} жүктеу тізімде",
"download_options_zero": "Қолжетімді жүктеулер жоқ",
"download_options_one": "{{countFormatted}} жүктеу нұсқасы қол жетімді",
"download_options_other": "{{countFormatted}} жүктеу нұсқалары қол жетімді",
"download_source_url": "Көздің сілтемесі",
"add_download_source_description": ".json файлға сілтемені қойыңыз",
"download_source_up_to_date": "Жаңартылған",
Expand Down
1 change: 0 additions & 1 deletion src/locales/ko/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "한국어",
"home": {
"featured": "추천",
"trending": "인기",
"surprise_me": "무작위 추천",
"no_results": "결과 없음"
},
Expand Down
1 change: 0 additions & 1 deletion src/locales/nb/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Anbefalinger",
"trending": "Trender",
"surprise_me": "Overrask meg",
"no_results": "Ingen resultater fundet",
"start_typing": "Begynn å skrive for å søke...",
Expand Down
1 change: 0 additions & 1 deletion src/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "Nederlands",
"home": {
"featured": "Uitgelicht",
"trending": "Trending",
"surprise_me": "Verrasing",
"no_results": "Geen resultaten gevonden"
},
Expand Down
1 change: 0 additions & 1 deletion src/locales/pl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "Polski",
"home": {
"featured": "Wyróżnione",
"trending": "Trendujące",
"surprise_me": "Zaskocz mnie",
"no_results": "Nie znaleziono wyników"
},
Expand Down
12 changes: 6 additions & 6 deletions src/locales/pt-BR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@
"no_download_option_info": "Sem informações disponíveis",
"backup_deletion_failed": "Falha ao apagar backup",
"max_number_of_artifacts_reached": "Número máximo de backups atingido para este jogo",
"achievements_not_sync": "Suas conquistas não estão sincronizadas"
"achievements_not_sync": "Suas conquistas não estão sincronizadas",
"backup_from": "Backup de {{date}}",
"custom_backup_location_set": "Localização customizada selecionada",
"select_folder": "Selecione a pasta",
"manage_files_description": "Gerencie quais arquivos serão feitos backup"
},
"activation": {
"title": "Ativação",
Expand Down Expand Up @@ -221,9 +225,6 @@
"download_count_zero": "Sem downloads na lista",
"download_count_one": "{{countFormatted}} download na lista",
"download_count_other": "{{countFormatted}} downloads na lista",
"download_options_zero": "Sem downloads disponíveis",
"download_options_one": "{{countFormatted}} download disponível",
"download_options_other": "{{countFormatted}} downloads disponíveis",
"download_source_url": "URL da fonte",
"add_download_source_description": "Insira a URL contendo o arquivo .json",
"download_source_up_to_date": "Sincronizada",
Expand Down Expand Up @@ -331,7 +332,6 @@
"friend_code_copied": "Código de amigo copiado",
"undo_friendship_modal_text": "Isso irá remover sua amizade com {{displayName}}",
"privacy_hint": "Pra controlar quem pode ver seu perfil, acesse a <0>Tela de Configurações</0>",
"profile_locked": "Este perfil é privado",
"image_process_failure": "Falha ao processar a imagem",
"required_field": "Este campo é obrigatório",
"displayname_min_length": "Nome de exibição deve ter pelo menos 3 caracteres",
Expand Down Expand Up @@ -368,6 +368,6 @@
"premium_support": "Suporte Premium",
"show_and_compare_achievements": "Exiba e compare suas conquistas com outros usuários",
"animated_profile_banner": "Banner animado no perfil",
"cloud_saving": "Saves na Cloud (até {{gameCount}} jogos)"
"cloud_saving": "Saves de jogos em nuvem"
}
}
6 changes: 1 addition & 5 deletions src/locales/pt-PT/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Destaques",
"trending": "Populares",
"surprise_me": "Surpreende-me",
"no_results": "Nenhum resultado encontrado",
"start_typing": "Comece a digitar para pesquisar…"
Expand Down Expand Up @@ -182,9 +181,6 @@
"download_count_zero": "Sem transferências na lista",
"download_count_one": "{{countFormatted}} transferência na lista",
"download_count_other": "{{countFormatted}} transferências na lista",
"download_options_zero": "Sem transferências disponíveis",
"download_options_one": "{{countFormatted}} transferência disponível",
"download_options_other": "{{countFormatted}} transferências disponíveis",
"download_source_url": "URL da fonte",
"add_download_source_description": "Insira o URL contendo o arquivo .json",
"download_source_up_to_date": "Sincronizada",
Expand Down Expand Up @@ -283,7 +279,7 @@
},
"achievement": {
"achievement_unlocked": "Conquista desbloqueada",
"unlocked_at": "Desbloqueado em:",
"unlocked_at": "Desbloqueada em:",
"subscription_needed": "Você precisa de uma assinatura Hydra Cloud para visualizar este conteúdo",
"new_achievements_unlocked": "Encontradas {{achievementCount}} novas conquistas de {{gameCount}} jogos"
}
Expand Down
1 change: 0 additions & 1 deletion src/locales/ro/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "Română",
"home": {
"featured": "Recomandate",
"trending": "Populare",
"surprise_me": "Surprinde-mă",
"no_results": "Niciun rezultat găsit"
},
Expand Down
5 changes: 0 additions & 5 deletions src/locales/ru/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Рекомендованное",
"trending": "В тренде",
"surprise_me": "Удиви меня",
"no_results": "Ничего не найдено",
"hot": "Сейчас жарко",
Expand Down Expand Up @@ -206,9 +205,6 @@
"found_download_option_other": "Найдено {{countFormatted}} вариантов загрузки",
"import": "Импортировать",
"blocked_users": "Заблокированные пользователи",
"download_options_one": "",
"download_options_other": "",
"download_options_zero": "",
"friends_only": "Только друзья",
"must_be_valid_url": "Источник должен быть действительным URL-адресом.",
"privacy": "Конфиденциальность",
Expand Down Expand Up @@ -300,7 +296,6 @@
"image_process_failure": "Сбой при обработке изображения",
"locked_profile": "Этот профиль является частным",
"privacy_hint": "Чтобы указать, кто может это видеть, перейдите в <0>Настройки</0>.",
"profile_locked": "",
"profile_reported": "Профиль сообщил",
"report": "Отчет",
"report_description": "Дополнительная информация",
Expand Down
1 change: 0 additions & 1 deletion src/locales/tr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"language_name": "Türkçe",
"home": {
"featured": "Öne çıkan",
"trending": "Popüler",
"surprise_me": "Şaşırt beni",
"no_results": "Sonuç bulunamadı"
},
Expand Down
4 changes: 0 additions & 4 deletions src/locales/uk/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "Рекомендоване",
"trending": "У тренді",
"surprise_me": "Здивуй мене",
"no_results": "Результатів не знайдено"
},
Expand Down Expand Up @@ -161,9 +160,6 @@
"download_count_one": "{{countFormatted}} завантаження в списку",
"download_count_other": "{{countFormatted}} завантажень в списку",
"download_count_zero": "В списку немає завантажень",
"download_options_one": "{{countFormatted}} доступний варіант завантаження",
"download_options_other": "{{countFormatted}} доступних варіантів завантаження",
"download_options_zero": "Немає доступних завантажень",
"download_source_errored": "Помилка",
"download_source_up_to_date": "Оновлено",
"download_source_url": "Посилання на джерело",
Expand Down
4 changes: 0 additions & 4 deletions src/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"home": {
"featured": "特色推荐",
"trending": "最近热门",
"surprise_me": "向我推荐",
"no_results": "没有找到结果"
},
Expand Down Expand Up @@ -170,9 +169,6 @@
"download_count_zero": "列表中无下载",
"download_count_one": "列表中有 {{countFormatted}} 个下载",
"download_count_other": "列表中有 {{countFormatted}} 个下载",
"download_options_zero": "无可用下载",
"download_options_one": "有 {{countFormatted}} 个下载可用",
"download_options_other": "有 {{countFormatted}} 个下载可用",
"download_source_url": "下载源 URL",
"add_download_source_description": "插入包含 .json 文件的 URL",
"download_source_up_to_date": "已更新",
Expand Down
10 changes: 4 additions & 6 deletions src/renderer/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,10 @@ export function App() {
onClose={handleToastClose}
/>

{showSubscritionTourModal && (
<SubscriptionTourModal
visible={showSubscritionTourModal}
onClose={handleCloseSubscriptionTourModal}
/>
)}
<SubscriptionTourModal
visible={showSubscritionTourModal}
onClose={handleCloseSubscriptionTourModal}
/>

{userDetails && (
<UserFriendModal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function CloudSyncFilesModal({
setValue("customBackupPath", path);

await window.electron.selectGameBackupPath(shop, objectId!, path);
showSuccessToast("custom_backup_location_set");
showSuccessToast(t("custom_backup_location_set"));
getGameBackupPreview();
}
}, [objectId, setValue, shop, showSuccessToast, getGameBackupPreview]);
Expand Down
Loading

0 comments on commit 3bff55e

Please sign in to comment.