diff --git a/src/locales/ca/translation.json b/src/locales/ca/translation.json new file mode 100644 index 00000000..c756745a --- /dev/null +++ b/src/locales/ca/translation.json @@ -0,0 +1,148 @@ +{ + "home": { + "featured": "Destacats", + "trending": "Populars", + "surprise_me": "Sorprèn-me", + "no_results": "No s'ha trobat res" + }, + "sidebar": { + "catalogue": "Catàleg", + "downloads": "Baixades", + "settings": "Configuració", + "my_library": "Biblioteca", + "downloading_metadata": "{{title}} (S'estan baixant les metadades…)", + "paused": "{{title}} (Pausat)", + "downloading": "{{title}} ({{percentage}} - S'està baixant…)", + "filter": "Filtra la biblioteca", + "home": "Inici" + }, + "header": { + "search": "Cerca jocs", + "home": "Inici", + "catalogue": "Catàleg", + "downloads": "Baixades", + "search_results": "Resultats de la cerca", + "settings": "Configuració", + "version_available_install": "Hi ha disponible la versió {{version}}. Feu clic aquí per a reiniciar i instal·lar-la.", + "version_available_download": "Hi ha disponible la versió {{version}}. Feu clic aquí per a baixar-la." + }, + "bottom_panel": { + "no_downloads_in_progress": "Cap baixada en curs", + "downloading_metadata": "S'estan baixant les metadades de: {{title}}…", + "downloading": "S'està baixant: {{title}}… ({{percentage}} complet) - Finalització: {{eta}} - {{speed}}" + }, + "catalogue": { + "next_page": "Pàgina següent", + "previous_page": "Pàgina anterior" + }, + "game_details": { + "open_download_options": "Obre les opcions de baixada", + "download_options_zero": "No hi ha opcions de baixada", + "download_options_one": "{{count}} opció de baixada", + "download_options_other": "{{count}} opcions de baixada", + "updated_at": "Actualitzat: {{updated_at}}", + "install": "Instal·la", + "resume": "Reprèn", + "pause": "Pausa", + "cancel": "Cancel·la", + "remove": "Elimina", + "space_left_on_disk": "{{space}} lliures al disc", + "eta": "Finalització: {{eta}}", + "downloading_metadata": "S'estan baixant les metadades…", + "filter": "Filtra els reempaquetats", + "requirements": "Requisits del sistema", + "minimum": "Mínims", + "recommended": "Recomanats", + "release_date": "Publicat el {{date}}", + "publisher": "Publicat per {{publisher}}", + "hours": "hores", + "minutes": "minuts", + "amount_hours": "{{amount}} hores", + "amount_minutes": "{{amount}} minuts", + "accuracy": "{{accuracy}}% de precisió", + "add_to_library": "Afegeix a la biblioteca", + "remove_from_library": "Elimina de la biblioteca", + "no_downloads": "No hi ha baixades disponibles", + "play_time": "Jugat durant {{amount}}", + "last_time_played": "Última partida: {{period}}", + "not_played_yet": "Encara no has jugat al {{title}}", + "next_suggestion": "Suggeriment següent", + "play": "Inicia", + "deleting": "S'està eliminant l'instal·lador…", + "close": "Tanca", + "playing_now": "S'està jugant", + "change": "Canvia", + "repacks_modal_description": "Tria quin reempaquetat vols baixar", + "select_folder_hint": "Per a canviar la carpeta predefinida, vés a la <0>Configuració0>", + "download_now": "Baixa ara", + "no_shop_details": "No s'han pogut recuperar els detalls de la tenda.", + "download_options": "Opcions de baixada", + "download_path": "Ruta de baixada", + "previous_screenshot": "Captura anterior", + "next_screenshot": "Captura següent", + "screenshot": "Captura {{number}}", + "open_screenshot": "Obre la captura {{number}}" + }, + "activation": { + "title": "Activa l'Hydra", + "installation_id": "ID d'instal·lació:", + "enter_activation_code": "Introdueix el codi d'activació", + "message": "Si no saps on demanar-ho, no ho hauries de tenir.", + "activate": "Activa", + "loading": "S'està carregant…" + }, + "downloads": { + "resume": "Reprèn", + "pause": "Pausa", + "eta": "Finalització {{eta}}", + "paused": "Pausada", + "verifying": "S'està verificant…", + "completed": "Completada", + "cancel": "Cancel·la", + "filter": "Filtra els jocs baixats", + "remove": "Elimina", + "downloading_metadata": "S'estan baixant les metadades…", + "deleting": "S'està eliminant l'instal·lador…", + "delete": "Elimina l'instal·lador", + "delete_modal_title": "N'estàs segur?", + "delete_modal_description": "S'eliminaran de l'ordinador tots els fitxers d'instal·lació", + "install": "Instal·la" + }, + "settings": { + "downloads_path": "Ruta de baixades", + "change": "Actualitza", + "notifications": "Notificacions", + "enable_download_notifications": "Quan finalitzi una baixada", + "enable_repack_list_notifications": "Quan s'afegeixi un nou reempaquetat", + "real_debrid_api_token_label": "Testimoni de l'API de Real Debrid", + "quit_app_instead_hiding": "Tanca l'Hydra en compte de minimitzar-la a la safata", + "launch_with_system": "Inicia l'Hydra quan s'iniciï el sistema", + "general": "General", + "behavior": "Comportament", + "enable_real_debrid": "Activa el Real Debrid", + "real_debrid_api_token_hint": "Pots obtenir la teva clau de l'API <0>aquí0>.", + "save_changes": "Desa els canvis" + }, + "notifications": { + "download_complete": "La baixada ha finalitzat", + "game_ready_to_install": "{{title}} ja es pot instal·lar", + "repack_list_updated": "S'ha actualitzat la llista de reempaquetats", + "repack_count_one": "S'ha afegit {{count}} reempaquetat", + "repack_count_other": "S'han afegit {{count}} reempaquetats" + }, + "system_tray": { + "open": "Obre l'Hydra", + "quit": "Tanca" + }, + "game_card": { + "no_downloads": "No hi ha baixades disponibles" + }, + "binary_not_found_modal": { + "title": "Programes no instal·lats", + "description": "No s'ha trobat els executables del Wine o el Lutris al sistema.", + "instructions": "Comprova quina és la manera correcta d'instal·lar qualsevol d'ells en la teva distribució de Linux perquè el joc pugui executar-se amb normalitat." + }, + "modal": { + "close": "Botó de tancar" + } +} diff --git a/src/locales/index.ts b/src/locales/index.ts index f863c8b3..3d48ce82 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -16,3 +16,5 @@ export { default as ko } from "./ko/translation.json"; export { default as da } from "./da/translation.json"; export { default as ar } from "./ar/translation.json"; export { default as fa } from "./fa/translation.json"; +export { default as ca } from "./ca/translation.json"; +export { default as kk } from "./kk/translation.json"; diff --git a/src/locales/kk/translation.json b/src/locales/kk/translation.json new file mode 100644 index 00000000..d565e3b7 --- /dev/null +++ b/src/locales/kk/translation.json @@ -0,0 +1,242 @@ +{ + "app": { + "successfully_signed_in": "Сәтті кіру" + }, + "home": { + "featured": "Ұсынылған", + "trending": "Трендте", + "surprise_me": "Таңқалдыр", + "no_results": "Ештеңе табылмады" + }, + "sidebar": { + "catalogue": "Каталог", + "downloads": "Жүктеулер", + "settings": "Параметрлер", + "my_library": "Кітапхана", + "downloading_metadata": "{{title}} (Метадеректерді жүктеу…)", + "paused": "{{title}} (Тоқтатылды)", + "downloading": "{{title}} ({{percentage}} - Жүктеу…)", + "filter": "Кітапхана фильтрі", + "home": "Басты бет", + "queued": "{{title}} (Кезекте)", + "game_has_no_executable": "Ойынды іске қосу файлы таңдалмаған", + "sign_in": "Кіру" + }, + "header": { + "search": "Іздеу", + "home": "Басты бет", + "catalogue": "Каталог", + "downloads": "Жүктеулер", + "search_results": "Іздеу нәтижелері", + "settings": "Параметрлер", + "version_available_install": "Қол жетімді нұсқа {{version}}. Қайта іске қосу және орнату үшін мұнда басыңыз.", + "version_available_download": "Қол жетімді нұсқа {{version}}. Жүктеу үшін мұнда басыңыз." + }, + "bottom_panel": { + "no_downloads_in_progress": "Белсенді жүктеулер жоқ", + "downloading_metadata": "Метадеректерді жүктеу {{title}}…", + "downloading": "Жүктеу {{title}}… ({{percentage}} аяқталды) - Аяқтау {{eta}} - {{speed}}", + "calculating_eta": "Жүктеу {{title}}… ({{percentage}} аяқталды) - Қалған уақытты есептеу…" + }, + "catalogue": { + "next_page": "Келесі бет", + "previous_page": "Алдыңғы бет" + }, + "game_details": { + "open_download_options": "Жүктеу нұсқаларын ашу", + "download_options_zero": "Жүктеу нұсқалары жоқ", + "download_options_one": "{{count}} жүктеу нұсқасы", + "download_options_other": "{{count}} жүктеу нұсқалары", + "updated_at": "Жаңартылды {{updated_at}}", + "install": "Орнату", + "resume": "Жандандыру", + "pause": "Тоқтату", + "cancel": "Болдырмау", + "remove": "Жою", + "space_left_on_disk": "{{space}} бос орын", + "eta": "Аяқтау {{eta}}", + "calculating_eta": "Қалған уақытты есептеу…", + "downloading_metadata": "Метадеректерді жүктеу…", + "filter": "Репактар фильтрі", + "requirements": "Жүйелік талаптар", + "minimum": "Минималды", + "recommended": "Ұсынылған", + "paused": "Тоқтатылды", + "release_date": "Шыққан күні {{date}}", + "publisher": "Баспагер {{publisher}}", + "hours": "сағат", + "minutes": "минут", + "amount_hours": "{{amount}} сағат", + "amount_minutes": "{{amount}} минут", + "accuracy": "дәлдік {{accuracy}}%", + "add_to_library": "Кітапханаға қосу", + "remove_from_library": "Кітапханадан жою", + "no_downloads": "Жүктеулер жоқ", + "play_time": "Ойнау уақыты {{amount}}", + "last_time_played": "Соңғы ойнаған уақыт {{period}}", + "not_played_yet": "Сіз {{title}} ойнамағансыз", + "next_suggestion": "Келесі ұсыныс", + "play": "Ойнау", + "deleting": "Орнатушыны жою…", + "close": "Жабу", + "playing_now": "Қазір ойнап жатыр", + "change": "Өзгерту", + "repacks_modal_description": "Жүктеу үшін репакты таңдаңыз", + "select_folder_hint": "Әдепкі жүктеу қалтасын өзгерту үшін <0>Параметрлер0> ашыңыз", + "download_now": "Қазір жүктеу", + "no_shop_details": "Сипаттаманы алу мүмкін болмады", + "download_options": "Жүктеу нұсқалары", + "download_path": "Жүктеу жолы", + "previous_screenshot": "Алдыңғы скриншот", + "next_screenshot": "Келесі скриншот", + "screenshot": "Скриншот {{number}}", + "open_screenshot": "Скриншотты ашу {{number}}", + "download_settings": "Жүктеу параметрлері", + "downloader": "Жүктегіш", + "select_executable": "Таңдау", + "no_executable_selected": "Файл таңдалмаған", + "open_folder": "Қалтаны ашу", + "open_download_location": "Жүктеу қалтасын қарау", + "create_shortcut": "Жұмыс үстелінде жарлық жасау", + "remove_files": "Файлдарды жою", + "remove_from_library_title": "Сіз сенімдісіз бе?", + "remove_from_library_description": "{{game}} сіздің кітапханаңыздан жойылады.", + "options": "Параметрлер", + "executable_section_title": "Файл", + "executable_section_description": "\"Ойнау\" батырмасын басқанда іске қосылатын файл жолы", + "downloads_secion_title": "Жүктеулер", + "downloads_section_description": "Ойынның жаңартулары немесе басқа нұсқалары бар-жоғын тексеру", + "danger_zone_section_title": "Қауіпті аймақ", + "danger_zone_section_description": "Осы ойынды кітапханаңыздан жою немесе Hydra жүктеген файлдарды жою", + "download_in_progress": "Жүктеу жүріп жатыр", + "download_paused": "Жүктеу тоқтатылды", + "last_downloaded_option": "Соңғы жүктеу нұсқасы", + "create_shortcut_success": "Жарлық жасалды", + "create_shortcut_error": "Жарлық жасау мүмкін болмады" + }, + "activation": { + "title": "Hydra-ны белсендіру", + "installation_id": "Орнату ID:", + "enter_activation_code": "Активтендіру кодын енгізіңіз", + "message": "Егер оның қайдан алуға болатынын білмесеңіз, сізде оның болмауы керек.", + "activate": "Белсендіру", + "loading": "Жүктеу…" + }, + "downloads": { + "resume": "Жандандыру", + "pause": "Тоқтату", + "eta": "Аяқтау {{eta}}", + "paused": "Тоқтатылды", + "verifying": "Тексеру…", + "completed": "Аяқталды", + "removed": "Жүктелмеген", + "cancel": "Болдырмау", + "filter": "Жүктелген ойындар фильтрі", + "remove": "Жою", + "downloading_metadata": "Метадеректерді жүктеу…", + "deleting": "Орнатушыны жою…", + "delete": "Орнатушыны жою", + "delete_modal_title": "Сіз сенімдісіз бе?", + "delete_modal_description": "Бұл барлық орнатушыларды компьютеріңізден жояды", + "install": "Орнату", + "download_in_progress": "Жүктеу жүріп жатыр", + "queued_downloads": "Кезектегі жүктеулер", + "downloads_completed": "Аяқталды", + "queued": "Кезекте", + "no_downloads_title": "Мұнда бос...", + "no_downloads_description": "Сіз Hydra арқылы әлі ештеңе жүктемегенсіз, бірақ бастау ешқашан кеш емес." + }, + "settings": { + "downloads_path": "Жүктеу жолы", + "change": "Өзгерту", + "notifications": "Хабарламалар", + "enable_download_notifications": "Жүктеу аяқталғанда", + "enable_repack_list_notifications": "Жаңа репак қосылғанда", + "real_debrid_api_token_label": "Real-Debrid API-токен", + "quit_app_instead_hiding": "Hydra-ны трейге жасырудың орнына жабу", + "launch_with_system": "Жүйемен бірге Hydra-ны іске қосу", + "general": "Жалпы", + "behavior": "Мінез-құлық", + "download_sources": "Жүктеу көздері", + "language": "Тіл", + "real_debrid_api_token": "API Кілті", + "enable_real_debrid": "Real-Debrid-ті қосу", + "real_debrid_description": "Real-Debrid - бұл шектеусіз жүктеуші, ол интернетте орналастырылған файлдарды тез жүктеуге немесе жеке желі арқылы кез келген блоктарды айналып өтіп, оларды бірден плеерге беруге мүмкіндік береді.", + "real_debrid_invalid_token": "Қате API кілті", + "real_debrid_api_token_hint": "API кілтін <0>осы жерден0> алуға болады", + "real_debrid_free_account_error": "\"{{username}}\" аккаунты жазылымға ие емес. Real-Debrid жазылымын алыңыз", + "real_debrid_linked_message": "\"{{username}}\" аккаунты байланған", + "save_changes": "Өзгерістерді сақтау", + "changes_saved": "Өзгерістер сәтті сақталды", + "download_sources_description": "Hydra осы көздерден жүктеу сілтемелерін алады. URL-да жүктеу сілтемелері бар .json файлына тікелей сілтеме болуы керек.", + "validate_download_source": "Тексеру", + "remove_download_source": "Жою", + "add_download_source": "Жүктеу көзін қосу", + "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": "Жаңартылған", + "download_source_errored": "Қате", + "sync_download_sources": "Көздерді синхрондау", + "removed_download_source": "Жүктеу көзі жойылды", + "added_download_source": "Жүктеу көзі қосылды", + "download_sources_synced": "Барлық жүктеу көздері синхрондалды", + "insert_valid_json_url": "Жарамды JSON URL енгізіңіз", + "found_download_option_zero": "Жүктеу нұсқалары табылмады", + "found_download_option_one": "{{countFormatted}} жүктеу нұсқасы табылды", + "found_download_option_other": "{{countFormatted}} жүктеу нұсқалары табылды", + "import": "Импорттау" + }, + "notifications": { + "download_complete": "Жүктеу аяқталды", + "game_ready_to_install": "{{title}} орнатуға дайын", + "repack_list_updated": "Репактар тізімі жаңартылды", + "repack_count_one": "{{count}} репак қосылды", + "repack_count_other": "{{count}} репактар қосылды" + }, + "system_tray": { + "open": "Hydra-ны ашу", + "quit": "Шығу" + }, + "game_card": { + "no_downloads": "Жүктеулер жоқ" + }, + "binary_not_found_modal": { + "title": "Бағдарламалар орнатылмаған", + "description": "Wine немесе Lutris табылмады", + "instructions": "Linux дистрибутивіңізге олардың кез келгенін дұрыс орнатудың жолын біліңіз осылайша ойын дұрыс жұмыс істей алады" + }, + "modal": { + "close": "Жабу" + }, + "forms": { + "toggle_password_visibility": "Құпиясөзді көрсету" + }, + "user_profile": { + "amount_hours": "{{amount}} сағат", + "amount_minutes": "{{amount}} минут", + "last_time_played": "Соңғы ойын {{period}}", + "activity": "Соңғы әрекет", + "library": "Кітапхана", + "total_play_time": "Барлығы ойнаған: {{amount}}", + "no_recent_activity_title": "Хммм... Мұнда ештеңе жоқ", + "no_recent_activity_description": "Сіз ұзақ уақыт бойы ештеңе ойнаған жоқсыз. Мұны өзгерту керек!", + "display_name": "Көрсету аты", + "saving": "Сақтау", + "save": "Сақталды", + "edit_profile": "Профильді өзгерту", + "saved_successfully": "Сәтті сақталды", + "try_again": "Қайта көріңіз", + "sign_out_modal_title": "Сіз сенімдісіз бе?", + "cancel": "Болдырмау", + "successfully_signed_out": "Аккаунттан сәтті шығу", + "sign_out": "Шығу", + "playing_for": "Ойнаған {{amount}}", + "sign_out_modal_text": "Сіздің кітапханаңыз ағымдағы аккаунтпен байланысты. Жүйеден шыққанда сіздің кітапханаңыз қол жетімсіз болады және прогресс сақталмайды. Шығу?" + } +} diff --git a/src/main/services/window-manager.ts b/src/main/services/window-manager.ts index 9f4d821e..201b13ad 100644 --- a/src/main/services/window-manager.ts +++ b/src/main/services/window-manager.ts @@ -95,6 +95,7 @@ export class WindowManager { minimizable: false, webPreferences: { sandbox: false, + nodeIntegrationInSubFrames: true, }, }); diff --git a/src/renderer/index.html b/src/renderer/index.html index 4cef28aa..543b85a9 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -6,7 +6,7 @@