Merge pull request #1090 from hydralauncher/feat/i18n

feat: i18n adjustments
This commit is contained in:
Zamitto 2024-10-22 18:11:35 -03:00 committed by GitHub
commit 3bff55ef2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
30 changed files with 30 additions and 98 deletions

View File

@ -2,7 +2,6 @@
"language_name": "اَلْعَرَبِيَّةُ", "language_name": "اَلْعَرَبِيَّةُ",
"home": { "home": {
"featured": "مميّز", "featured": "مميّز",
"trending": "شائع",
"surprise_me": "فاجئني", "surprise_me": "فاجئني",
"no_results": "لم يتم العثور على نتائج" "no_results": "لم يتم العثور على نتائج"
}, },

View File

@ -2,7 +2,6 @@
"language_name": "беларуская мова", "language_name": "беларуская мова",
"home": { "home": {
"featured": "Рэкамэндаванае", "featured": "Рэкамэндаванае",
"trending": "Актуальнае",
"surprise_me": "Здзіві мяне", "surprise_me": "Здзіві мяне",
"no_results": "Няма вынікаў" "no_results": "Няма вынікаў"
}, },

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Destacats", "featured": "Destacats",
"trending": "Populars",
"surprise_me": "Sorprèn-me", "surprise_me": "Sorprèn-me",
"no_results": "No s'ha trobat res" "no_results": "No s'ha trobat res"
}, },
@ -178,9 +177,6 @@
"download_count_zero": "No hi ha baixades a la llista", "download_count_zero": "No hi ha baixades a la llista",
"download_count_one": "{{countFormatted}} a la llista de baixades", "download_count_one": "{{countFormatted}} a la llista de baixades",
"download_count_other": "{{countFormatted}} baixades a la llista", "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", "download_source_url": "Descarrega l'URL de la font",
"add_download_source_description": "Inseriu la URL que conté el fitxer .json", "add_download_source_description": "Inseriu la URL que conté el fitxer .json",
"download_source_up_to_date": "Actualitzat", "download_source_up_to_date": "Actualitzat",

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Doporučené", "featured": "Doporučené",
"trending": "Trendy",
"surprise_me": "Překvap mě", "surprise_me": "Překvap mě",
"no_results": "Výsledek nenalezen" "no_results": "Výsledek nenalezen"
}, },

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Anbefalet", "featured": "Anbefalet",
"trending": "Trender",
"surprise_me": "Overrask mig", "surprise_me": "Overrask mig",
"no_results": "Ingen resultater fundet", "no_results": "Ingen resultater fundet",
"start_typing": "Begynd at skrive for at søge...", "start_typing": "Begynd at skrive for at søge...",

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Empfohlen", "featured": "Empfohlen",
"trending": "Beliebt",
"surprise_me": "Überrasche mich", "surprise_me": "Überrasche mich",
"no_results": "Keine Ergebnisse gefunden" "no_results": "Keine Ergebnisse gefunden"
}, },

View File

@ -5,13 +5,12 @@
}, },
"home": { "home": {
"featured": "Featured", "featured": "Featured",
"trending": "Trending",
"surprise_me": "Surprise me", "surprise_me": "Surprise me",
"no_results": "No results found", "no_results": "No results found",
"start_typing": "Starting typing to search...", "start_typing": "Starting typing to search...",
"hot": "Hot now", "hot": "Hot now",
"weekly": "📅 Top games of the week", "weekly": "📅 Top games of the week",
"achievements": "🏆 Good with achievements" "achievements": "🏆 Games to beat"
}, },
"sidebar": { "sidebar": {
"catalogue": "Catalogue", "catalogue": "Catalogue",
@ -164,7 +163,9 @@
"max_number_of_artifacts_reached": "Maximum number of backups reached for this game", "max_number_of_artifacts_reached": "Maximum number of backups reached for this game",
"achievements_not_sync": "Your achievements are not synchronized", "achievements_not_sync": "Your achievements are not synchronized",
"manage_files_description": "Manage which files will be backed up and restored", "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": { "activation": {
"title": "Activate Hydra", "title": "Activate Hydra",
@ -364,7 +365,7 @@
"tour": { "tour": {
"subscription_tour_title": "Hydra Cloud Subscription", "subscription_tour_title": "Hydra Cloud Subscription",
"subscribe_now": "Subscribe now", "subscribe_now": "Subscribe now",
"cloud_saving": "Cloud saving (up to {{gameCount}} games)", "cloud_saving": "Cloud saving",
"cloud_achievements": "Save your achievements on the cloud", "cloud_achievements": "Save your achievements on the cloud",
"animated_profile_picture": "Animated profile pictures", "animated_profile_picture": "Animated profile pictures",
"premium_support": "Premium Support", "premium_support": "Premium Support",

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Destacado", "featured": "Destacado",
"trending": "Tendencia",
"surprise_me": "¡Sorpréndeme!", "surprise_me": "¡Sorpréndeme!",
"no_results": "Sin resultados encontrados", "no_results": "Sin resultados encontrados",
"start_typing": "Empieza a escribir para buscar...", "start_typing": "Empieza a escribir para buscar...",
@ -361,7 +360,7 @@
"tour": { "tour": {
"subscription_tour_title": "Suscripción Hydra Cloud", "subscription_tour_title": "Suscripción Hydra Cloud",
"subscribe_now": "Suscribirse ahora", "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", "cloud_achievements": "Guarda tus logros en la nube",
"animated_profile_picture": "Fotos de perfil animadas", "animated_profile_picture": "Fotos de perfil animadas",
"premium_support": "Soporte Premium", "premium_support": "Soporte Premium",

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Esile toodud", "featured": "Esile toodud",
"trending": "Populaarne",
"surprise_me": "Üllata mind", "surprise_me": "Üllata mind",
"no_results": "Tulemusi ei leitud", "no_results": "Tulemusi ei leitud",
"start_typing": "Alusta otsimiseks kirjutamist...", "start_typing": "Alusta otsimiseks kirjutamist...",
@ -449,7 +448,7 @@
"tour": { "tour": {
"subscription_tour_title": "Hydra Cloud Tellimus", "subscription_tour_title": "Hydra Cloud Tellimus",
"subscribe_now": "Telli kohe", "subscribe_now": "Telli kohe",
"cloud_saving": "Pilvesalvestus (kuni {{gameCount}} mängu)", "cloud_saving": "Pilvesalvestus",
"cloud_achievements": "Salvesta oma saavutused pilve", "cloud_achievements": "Salvesta oma saavutused pilve",
"animated_profile_picture": "Animeeritud profiilipildid", "animated_profile_picture": "Animeeritud profiilipildid",
"premium_support": "Premium tugi", "premium_support": "Premium tugi",

View File

@ -2,7 +2,6 @@
"language_name": "فارسی", "language_name": "فارسی",
"home": { "home": {
"featured": "پیشنهادی", "featured": "پیشنهادی",
"trending": "پرطرفدار",
"surprise_me": "سوپرایزم کن", "surprise_me": "سوپرایزم کن",
"no_results": "اتمام‌ای پیدا نشد" "no_results": "اتمام‌ای پیدا نشد"
}, },

View File

@ -2,7 +2,6 @@
"language_name": "Français", "language_name": "Français",
"home": { "home": {
"featured": "En vedette", "featured": "En vedette",
"trending": "Tendance",
"surprise_me": "Surprenez-moi", "surprise_me": "Surprenez-moi",
"no_results": "Aucun résultat trouvé" "no_results": "Aucun résultat trouvé"
}, },

View File

@ -2,7 +2,6 @@
"language_name": "Magyar", "language_name": "Magyar",
"home": { "home": {
"featured": "Featured", "featured": "Featured",
"trending": "Népszerű",
"surprise_me": "Lepj meg", "surprise_me": "Lepj meg",
"no_results": "Nem található" "no_results": "Nem található"
}, },

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Unggulan", "featured": "Unggulan",
"trending": "Sedang Tren",
"surprise_me": "Kejutkan saya", "surprise_me": "Kejutkan saya",
"no_results": "Tidak ada hasil ditemukan" "no_results": "Tidak ada hasil ditemukan"
}, },
@ -178,9 +177,6 @@
"download_count_zero": "Tidak ada unduhan dalam daftar", "download_count_zero": "Tidak ada unduhan dalam daftar",
"download_count_one": "{{countFormatted}} unduhan dalam daftar", "download_count_one": "{{countFormatted}} unduhan dalam daftar",
"download_count_other": "{{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", "download_source_url": "URL sumber unduhan",
"add_download_source_description": "Masukkan URL yang berisi file .json", "add_download_source_description": "Masukkan URL yang berisi file .json",
"download_source_up_to_date": "Terkini", "download_source_up_to_date": "Terkini",

View File

@ -2,7 +2,6 @@
"language_name": "Italiano", "language_name": "Italiano",
"home": { "home": {
"featured": "In primo piano", "featured": "In primo piano",
"trending": "Di tendenza",
"surprise_me": "Sorprendimi", "surprise_me": "Sorprendimi",
"no_results": "Nessun risultato trovato" "no_results": "Nessun risultato trovato"
}, },

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Ұсынылған", "featured": "Ұсынылған",
"trending": "Трендте",
"surprise_me": "Таңқалдыр", "surprise_me": "Таңқалдыр",
"no_results": "Ештеңе табылмады" "no_results": "Ештеңе табылмады"
}, },
@ -176,9 +175,6 @@
"download_count_zero": "Жүктеулер тізімінде жоқ", "download_count_zero": "Жүктеулер тізімінде жоқ",
"download_count_one": "{{countFormatted}} жүктеу тізімде", "download_count_one": "{{countFormatted}} жүктеу тізімде",
"download_count_other": "{{countFormatted}} жүктеу тізімде", "download_count_other": "{{countFormatted}} жүктеу тізімде",
"download_options_zero": "Қолжетімді жүктеулер жоқ",
"download_options_one": "{{countFormatted}} жүктеу нұсқасы қол жетімді",
"download_options_other": "{{countFormatted}} жүктеу нұсқалары қол жетімді",
"download_source_url": "Көздің сілтемесі", "download_source_url": "Көздің сілтемесі",
"add_download_source_description": ".json файлға сілтемені қойыңыз", "add_download_source_description": ".json файлға сілтемені қойыңыз",
"download_source_up_to_date": "Жаңартылған", "download_source_up_to_date": "Жаңартылған",

View File

@ -2,7 +2,6 @@
"language_name": "한국어", "language_name": "한국어",
"home": { "home": {
"featured": "추천", "featured": "추천",
"trending": "인기",
"surprise_me": "무작위 추천", "surprise_me": "무작위 추천",
"no_results": "결과 없음" "no_results": "결과 없음"
}, },

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Anbefalinger", "featured": "Anbefalinger",
"trending": "Trender",
"surprise_me": "Overrask meg", "surprise_me": "Overrask meg",
"no_results": "Ingen resultater fundet", "no_results": "Ingen resultater fundet",
"start_typing": "Begynn å skrive for å søke...", "start_typing": "Begynn å skrive for å søke...",

View File

@ -2,7 +2,6 @@
"language_name": "Nederlands", "language_name": "Nederlands",
"home": { "home": {
"featured": "Uitgelicht", "featured": "Uitgelicht",
"trending": "Trending",
"surprise_me": "Verrasing", "surprise_me": "Verrasing",
"no_results": "Geen resultaten gevonden" "no_results": "Geen resultaten gevonden"
}, },

View File

@ -2,7 +2,6 @@
"language_name": "Polski", "language_name": "Polski",
"home": { "home": {
"featured": "Wyróżnione", "featured": "Wyróżnione",
"trending": "Trendujące",
"surprise_me": "Zaskocz mnie", "surprise_me": "Zaskocz mnie",
"no_results": "Nie znaleziono wyników" "no_results": "Nie znaleziono wyników"
}, },

View File

@ -157,7 +157,11 @@
"no_download_option_info": "Sem informações disponíveis", "no_download_option_info": "Sem informações disponíveis",
"backup_deletion_failed": "Falha ao apagar backup", "backup_deletion_failed": "Falha ao apagar backup",
"max_number_of_artifacts_reached": "Número máximo de backups atingido para este jogo", "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": { "activation": {
"title": "Ativação", "title": "Ativação",
@ -221,9 +225,6 @@
"download_count_zero": "Sem downloads na lista", "download_count_zero": "Sem downloads na lista",
"download_count_one": "{{countFormatted}} download na lista", "download_count_one": "{{countFormatted}} download na lista",
"download_count_other": "{{countFormatted}} downloads 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", "download_source_url": "URL da fonte",
"add_download_source_description": "Insira a URL contendo o arquivo .json", "add_download_source_description": "Insira a URL contendo o arquivo .json",
"download_source_up_to_date": "Sincronizada", "download_source_up_to_date": "Sincronizada",
@ -331,7 +332,6 @@
"friend_code_copied": "Código de amigo copiado", "friend_code_copied": "Código de amigo copiado",
"undo_friendship_modal_text": "Isso irá remover sua amizade com {{displayName}}", "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>", "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", "image_process_failure": "Falha ao processar a imagem",
"required_field": "Este campo é obrigatório", "required_field": "Este campo é obrigatório",
"displayname_min_length": "Nome de exibição deve ter pelo menos 3 caracteres", "displayname_min_length": "Nome de exibição deve ter pelo menos 3 caracteres",
@ -368,6 +368,6 @@
"premium_support": "Suporte Premium", "premium_support": "Suporte Premium",
"show_and_compare_achievements": "Exiba e compare suas conquistas com outros usuários", "show_and_compare_achievements": "Exiba e compare suas conquistas com outros usuários",
"animated_profile_banner": "Banner animado no perfil", "animated_profile_banner": "Banner animado no perfil",
"cloud_saving": "Saves na Cloud (até {{gameCount}} jogos)" "cloud_saving": "Saves de jogos em nuvem"
} }
} }

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Destaques", "featured": "Destaques",
"trending": "Populares",
"surprise_me": "Surpreende-me", "surprise_me": "Surpreende-me",
"no_results": "Nenhum resultado encontrado", "no_results": "Nenhum resultado encontrado",
"start_typing": "Comece a digitar para pesquisar…" "start_typing": "Comece a digitar para pesquisar…"
@ -182,9 +181,6 @@
"download_count_zero": "Sem transferências na lista", "download_count_zero": "Sem transferências na lista",
"download_count_one": "{{countFormatted}} transferência na lista", "download_count_one": "{{countFormatted}} transferência na lista",
"download_count_other": "{{countFormatted}} transferências 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", "download_source_url": "URL da fonte",
"add_download_source_description": "Insira o URL contendo o arquivo .json", "add_download_source_description": "Insira o URL contendo o arquivo .json",
"download_source_up_to_date": "Sincronizada", "download_source_up_to_date": "Sincronizada",
@ -283,7 +279,7 @@
}, },
"achievement": { "achievement": {
"achievement_unlocked": "Conquista desbloqueada", "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", "subscription_needed": "Você precisa de uma assinatura Hydra Cloud para visualizar este conteúdo",
"new_achievements_unlocked": "Encontradas {{achievementCount}} novas conquistas de {{gameCount}} jogos" "new_achievements_unlocked": "Encontradas {{achievementCount}} novas conquistas de {{gameCount}} jogos"
} }

View File

@ -2,7 +2,6 @@
"language_name": "Română", "language_name": "Română",
"home": { "home": {
"featured": "Recomandate", "featured": "Recomandate",
"trending": "Populare",
"surprise_me": "Surprinde-mă", "surprise_me": "Surprinde-mă",
"no_results": "Niciun rezultat găsit" "no_results": "Niciun rezultat găsit"
}, },

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Рекомендованное", "featured": "Рекомендованное",
"trending": "В тренде",
"surprise_me": "Удиви меня", "surprise_me": "Удиви меня",
"no_results": "Ничего не найдено", "no_results": "Ничего не найдено",
"hot": "Сейчас жарко", "hot": "Сейчас жарко",
@ -206,9 +205,6 @@
"found_download_option_other": "Найдено {{countFormatted}} вариантов загрузки", "found_download_option_other": "Найдено {{countFormatted}} вариантов загрузки",
"import": "Импортировать", "import": "Импортировать",
"blocked_users": "Заблокированные пользователи", "blocked_users": "Заблокированные пользователи",
"download_options_one": "",
"download_options_other": "",
"download_options_zero": "",
"friends_only": "Только друзья", "friends_only": "Только друзья",
"must_be_valid_url": "Источник должен быть действительным URL-адресом.", "must_be_valid_url": "Источник должен быть действительным URL-адресом.",
"privacy": "Конфиденциальность", "privacy": "Конфиденциальность",
@ -300,7 +296,6 @@
"image_process_failure": "Сбой при обработке изображения", "image_process_failure": "Сбой при обработке изображения",
"locked_profile": "Этот профиль является частным", "locked_profile": "Этот профиль является частным",
"privacy_hint": "Чтобы указать, кто может это видеть, перейдите в <0>Настройки</0>.", "privacy_hint": "Чтобы указать, кто может это видеть, перейдите в <0>Настройки</0>.",
"profile_locked": "",
"profile_reported": "Профиль сообщил", "profile_reported": "Профиль сообщил",
"report": "Отчет", "report": "Отчет",
"report_description": "Дополнительная информация", "report_description": "Дополнительная информация",

View File

@ -2,7 +2,6 @@
"language_name": "Türkçe", "language_name": "Türkçe",
"home": { "home": {
"featured": "Öne çıkan", "featured": "Öne çıkan",
"trending": "Popüler",
"surprise_me": "Şaşırt beni", "surprise_me": "Şaşırt beni",
"no_results": "Sonuç bulunamadı" "no_results": "Sonuç bulunamadı"
}, },

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "Рекомендоване", "featured": "Рекомендоване",
"trending": "У тренді",
"surprise_me": "Здивуй мене", "surprise_me": "Здивуй мене",
"no_results": "Результатів не знайдено" "no_results": "Результатів не знайдено"
}, },
@ -161,9 +160,6 @@
"download_count_one": "{{countFormatted}} завантаження в списку", "download_count_one": "{{countFormatted}} завантаження в списку",
"download_count_other": "{{countFormatted}} завантажень в списку", "download_count_other": "{{countFormatted}} завантажень в списку",
"download_count_zero": "В списку немає завантажень", "download_count_zero": "В списку немає завантажень",
"download_options_one": "{{countFormatted}} доступний варіант завантаження",
"download_options_other": "{{countFormatted}} доступних варіантів завантаження",
"download_options_zero": "Немає доступних завантажень",
"download_source_errored": "Помилка", "download_source_errored": "Помилка",
"download_source_up_to_date": "Оновлено", "download_source_up_to_date": "Оновлено",
"download_source_url": "Посилання на джерело", "download_source_url": "Посилання на джерело",

View File

@ -5,7 +5,6 @@
}, },
"home": { "home": {
"featured": "特色推荐", "featured": "特色推荐",
"trending": "最近热门",
"surprise_me": "向我推荐", "surprise_me": "向我推荐",
"no_results": "没有找到结果" "no_results": "没有找到结果"
}, },
@ -170,9 +169,6 @@
"download_count_zero": "列表中无下载", "download_count_zero": "列表中无下载",
"download_count_one": "列表中有 {{countFormatted}} 个下载", "download_count_one": "列表中有 {{countFormatted}} 个下载",
"download_count_other": "列表中有 {{countFormatted}} 个下载", "download_count_other": "列表中有 {{countFormatted}} 个下载",
"download_options_zero": "无可用下载",
"download_options_one": "有 {{countFormatted}} 个下载可用",
"download_options_other": "有 {{countFormatted}} 个下载可用",
"download_source_url": "下载源 URL", "download_source_url": "下载源 URL",
"add_download_source_description": "插入包含 .json 文件的 URL", "add_download_source_description": "插入包含 .json 文件的 URL",
"download_source_up_to_date": "已更新", "download_source_up_to_date": "已更新",

View File

@ -307,12 +307,10 @@ export function App() {
onClose={handleToastClose} onClose={handleToastClose}
/> />
{showSubscritionTourModal && (
<SubscriptionTourModal <SubscriptionTourModal
visible={showSubscritionTourModal} visible={showSubscritionTourModal}
onClose={handleCloseSubscriptionTourModal} onClose={handleCloseSubscriptionTourModal}
/> />
)}
{userDetails && ( {userDetails && (
<UserFriendModal <UserFriendModal

View File

@ -72,7 +72,7 @@ export function CloudSyncFilesModal({
setValue("customBackupPath", path); setValue("customBackupPath", path);
await window.electron.selectGameBackupPath(shop, objectId!, path); await window.electron.selectGameBackupPath(shop, objectId!, path);
showSuccessToast("custom_backup_location_set"); showSuccessToast(t("custom_backup_location_set"));
getGameBackupPreview(); getGameBackupPreview();
} }
}, [objectId, setValue, shop, showSuccessToast, getGameBackupPreview]); }, [objectId, setValue, shop, showSuccessToast, getGameBackupPreview]);

View File

@ -126,7 +126,11 @@ export function CloudSyncModal({ visible, onClose }: CloudSyncModalProps) {
return t("no_backup_preview"); return t("no_backup_preview");
} }
if (artifacts.length === 0) {
return t("no_backups"); return t("no_backups");
}
return "";
}, [ }, [
uploadingBackup, uploadingBackup,
backupDownloadProgress?.progress, backupDownloadProgress?.progress,
@ -210,7 +214,11 @@ export function CloudSyncModal({ visible, onClose }: CloudSyncModalProps) {
marginBottom: 4, marginBottom: 4,
}} }}
> >
<h3>Backup from 22/10</h3> <h3>
{t("backup_from", {
date: format(artifact.createdAt, "dd/MM/yyyy"),
})}
</h3>
<small>{formatBytes(artifact.artifactLengthInBytes)}</small> <small>{formatBytes(artifact.artifactLengthInBytes)}</small>
</div> </div>

View File

@ -21,7 +21,6 @@ export const SubscriptionTourModal = ({
<Modal <Modal
visible={visible} visible={visible}
title={t("subscription_tour_title")} title={t("subscription_tour_title")}
large={true}
onClose={onClose} onClose={onClose}
> >
<div <div
@ -34,7 +33,6 @@ export const SubscriptionTourModal = ({
<div <div
style={{ style={{
display: "flex", display: "flex",
width: "100%",
flexDirection: "row", flexDirection: "row",
gap: `${SPACING_UNIT * 2}px`, gap: `${SPACING_UNIT * 2}px`,
justifyContent: "space-around", justifyContent: "space-around",
@ -50,34 +48,7 @@ export const SubscriptionTourModal = ({
<h2>Hydra Cloud</h2> <h2>Hydra Cloud</h2>
<ul style={{ margin: "0", padding: "0" }}> <ul style={{ margin: "0", padding: "0" }}>
<li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}> <li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}>
{t("cloud_saving", { gameCount: 15 })} {t("cloud_saving")}
</li>
<li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}>
{t("cloud_achievements")}
</li>
<li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}>
{t("show_and_compare_achievements")}
</li>
<li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}>
{t("animated_profile_picture")}
</li>
<li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}>
{t("premium_support")}
</li>
</ul>
</div>
<div
style={{
display: "flex",
flexDirection: "column",
gap: `${SPACING_UNIT * 2}px`,
}}
>
<h2>Hydra Cloud+</h2>
<ul style={{ margin: "0", padding: "0" }}>
<li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}>
{t("cloud_saving", { gameCount: 30 })}
</li> </li>
<li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}> <li style={{ margin: `${SPACING_UNIT}px ${SPACING_UNIT * 2}px` }}>
{t("cloud_achievements")} {t("cloud_achievements")}