Merge branch 'main' into feature/libtorrent-reloaded-remake-remaster

This commit is contained in:
Chubby Granny Chaser 2024-06-27 15:23:48 +01:00 committed by GitHub
commit d447942f84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 287 additions and 60 deletions

View file

@ -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"
}
}

View file

@ -1,6 +1,6 @@
{ {
"app": { "app": {
"successfully_signed_in": "Successfully signed in (TRANSLATE ME)" "successfully_signed_in": "Sesión iniciada correctamente"
}, },
"home": { "home": {
"featured": "Destacado", "featured": "Destacado",
@ -20,7 +20,7 @@
"home": "Inicio", "home": "Inicio",
"queued": "{{title}} (En Cola)", "queued": "{{title}} (En Cola)",
"game_has_no_executable": "El juego no tiene un ejecutable", "game_has_no_executable": "El juego no tiene un ejecutable",
"sign_in": "Sign in (TRANSLATE ME)" "sign_in": "Iniciar sesión"
}, },
"header": { "header": {
"search": "Buscar juegos", "search": "Buscar juegos",
@ -110,7 +110,9 @@
"danger_zone_section_description": "Eliminar este juego de tu librería o los archivos descargados por Hydra", "danger_zone_section_description": "Eliminar este juego de tu librería o los archivos descargados por Hydra",
"download_in_progress": "Descarga en progreso", "download_in_progress": "Descarga en progreso",
"download_paused": "Descarga pausada", "download_paused": "Descarga pausada",
"last_downloaded_option": "Última opción descargada" "last_downloaded_option": "Última opción descargada",
"create_shortcut_success": "Atajo creado con éxito",
"create_shortcut_error": "Error al crear un atajo"
}, },
"activation": { "activation": {
"title": "Activar Hydra", "title": "Activar Hydra",
@ -183,12 +185,12 @@
"sync_download_sources": "Sincronizar fuentes", "sync_download_sources": "Sincronizar fuentes",
"removed_download_source": "Fuente de descarga eliminada", "removed_download_source": "Fuente de descarga eliminada",
"added_download_source": "Fuente de descarga añadida", "added_download_source": "Fuente de descarga añadida",
"download_sources_synced": "Todas las fuentes de descarga estánn actualizadas (TRANSLATE ME)", "download_sources_synced": "Todas las fuentes de descargas están actualizadas.",
"insert_valid_json_url": "Insert a valid JSON url (TRANSLATE ME)", "insert_valid_json_url": "Introduce una URL JSON válida",
"found_download_option_zero": "No download option found (TRANSLATE ME)", "found_download_option_zero": "No se encontró una opción de descarga",
"found_download_option_one": "Found {{countFormatted}} download option (TRANSLATE ME)", "found_download_option_one": "Se encontró {{countFormatted}} opción de descarga",
"found_download_option_other": "Found {{countFormatted}} download options (TRANSLATE ME)", "found_download_option_other": "Se encontraron {{countFormatted}} opciones de descarga",
"import": "Import (TRANSLATE ME)" "import": "Importar"
}, },
"notifications": { "notifications": {
"download_complete": "Descarga completada", "download_complete": "Descarga completada",
@ -216,25 +218,25 @@
"toggle_password_visibility": "Cambiar visibilidad de contraseña" "toggle_password_visibility": "Cambiar visibilidad de contraseña"
}, },
"user_profile": { "user_profile": {
"amount_hours": "{{amount}} hours (TRANSLATE ME)", "amount_hours": "{{amount}} horas",
"amount_minutes": "{{amount}} minutes (TRANSLATE ME)", "amount_minutes": "{{amount}} minutos",
"last_time_played": "Last played {{period}} (TRANSLATE ME)", "last_time_played": "Última vez jugado {{period}}",
"activity": "Recent activity (TRANSLATE ME)", "activity": "Actividad reciente",
"library": "Library (TRANSLATE ME)", "library": "Biblioteca",
"total_play_time": "Total playtime: {{amount}} (TRANSLATE ME)", "total_play_time": "Total de tiempo jugado: {{amount}}",
"no_recent_activity_title": "Hmmm… nothing here (TRANSLATE ME)", "no_recent_activity_title": "Que raro, no hay nada por acá, ¿que tal si jugamos algo para empezar?",
"no_recent_activity_description": "You haven't played any games recently. It's time to change that! (TRANSLATE ME)", "no_recent_activity_description": "No has jugado ningún juego recientemente, ¡vamos a cambiar eso ahora!",
"display_name": "Display name (TRANSLATE ME)", "display_name": "Nombre a mostrar",
"saving": "Saving (TRANSLATE ME)", "saving": "Guardando",
"save": "Save (TRANSLATE ME)", "save": "Guardar",
"edit_profile": "Edit Profile (TRANSLATE ME)", "edit_profile": "Editar perfil",
"saved_successfully": "Saved successfully (TRANSLATE ME)", "saved_successfully": "Guardado exitosamente",
"try_again": "Please, try again (TRANSLATE ME)", "try_again": "Por favor, intenta de nuevo",
"sign_out_modal_title": "Are you sure? (TRANSLATE ME)", "sign_out_modal_title": "¿Estás seguro?",
"cancel": "Cancel (TRANSLATE ME)", "cancel": "Cancelar",
"successfully_signed_out": "Successfully signed out (TRANSLATE ME)", "successfully_signed_out": "Sesión cerrada exitosamente",
"sign_out": "Sign out (TRANSLATE ME)", "sign_out": "Cerrar sesión",
"playing_for": "Playing for {{amount}} (TRANSLATE ME)", "playing_for": "Jugando por {{amount}}",
"sign_out_modal_text": "Your library is linked with your current account. When signing out, your library will not be visible anymore, and any progress will not be saved. Continue with sign out? (TRANSLATE ME)" "sign_out_modal_text": "Tu biblioteca se ha vinculado con tu cuenta. Cuando cierres sesión, tú biblioteca ya no será visible y cualquier progreso no se guardará. ¿Continuar con el cierre de sesión?"
} }
} }

View file

@ -16,3 +16,4 @@ export { default as ko } from "./ko/translation.json";
export { default as da } from "./da/translation.json"; export { default as da } from "./da/translation.json";
export { default as ar } from "./ar/translation.json"; export { default as ar } from "./ar/translation.json";
export { default as fa } from "./fa/translation.json"; export { default as fa } from "./fa/translation.json";
export { default as ca } from "./ca/translation.json";

View file

@ -157,7 +157,7 @@
"launch_with_system": "Запуск Hydra вместе с системой", "launch_with_system": "Запуск Hydra вместе с системой",
"general": "Основные", "general": "Основные",
"behavior": "Поведение", "behavior": "Поведение",
"download_sources": "Скачать исходный код", "download_sources": "Источники загрузки",
"language": "Язык", "language": "Язык",
"real_debrid_api_token": "API Ключ", "real_debrid_api_token": "API Ключ",
"enable_real_debrid": "Включить Real-Debrid", "enable_real_debrid": "Включить Real-Debrid",

View file

@ -1,4 +1,7 @@
{ {
"app": {
"successfully_signed_in": "已成功登录"
},
"home": { "home": {
"featured": "特色推荐", "featured": "特色推荐",
"trending": "最近热门", "trending": "最近热门",
@ -14,20 +17,26 @@
"paused": "{{title}} (已暂停)", "paused": "{{title}} (已暂停)",
"downloading": "{{title}} ({{percentage}} - 正在下载…)", "downloading": "{{title}} ({{percentage}} - 正在下载…)",
"filter": "筛选游戏库", "filter": "筛选游戏库",
"home": "主页" "home": "主页",
"queued": "{{title}} (已加入下载队列)",
"game_has_no_executable": "未选择游戏的可执行文件",
"sign_in": "登入"
}, },
"header": { "header": {
"search": "搜索", "search": "搜索游戏",
"home": "主页", "home": "主页",
"catalogue": "游戏目录", "catalogue": "游戏目录",
"downloads": "下载中心", "downloads": "下载中心",
"search_results": "搜索结果", "search_results": "搜索结果",
"settings": "设置" "settings": "设置",
"version_available_install": "版本 {{version}} 已可用. 点击此处重新启动并安装.",
"version_available_download": "版本 {{version}} 可用. 点击此处下载."
}, },
"bottom_panel": { "bottom_panel": {
"no_downloads_in_progress": "没有正在进行的下载", "no_downloads_in_progress": "没有正在进行的下载",
"downloading_metadata": "正在下载{{title}}的元数据…", "downloading_metadata": "正在下载{{title}}的元数据…",
"downloading": "正在下载{{title}}… ({{percentage}}完成) - 剩余时间{{eta}} - 速度{{speed}}" "downloading": "正在下载{{title}}… ({{percentage}}完成) - 剩余时间{{eta}} - 速度{{speed}}",
"calculating_eta": "正在下载 {{title}}… (已完成{{percentage}}.) - 正在计算剩余时间..."
}, },
"catalogue": { "catalogue": {
"next_page": "下一页", "next_page": "下一页",
@ -76,7 +85,29 @@
"previous_screenshot": "上一张截图", "previous_screenshot": "上一张截图",
"next_screenshot": "下一张截图", "next_screenshot": "下一张截图",
"screenshot": "截图 {{number}}", "screenshot": "截图 {{number}}",
"open_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": "点击 \"Play\" 时将执行的文件的路径",
"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": { "activation": {
"title": "激活 Hydra", "title": "激活 Hydra",
@ -101,7 +132,13 @@
"delete": "移除安装程序", "delete": "移除安装程序",
"delete_modal_title": "您确定吗?", "delete_modal_title": "您确定吗?",
"delete_modal_description": "这将从您的电脑上移除所有的安装文件", "delete_modal_description": "这将从您的电脑上移除所有的安装文件",
"install": "安装" "install": "安装",
"download_in_progress": "进行中",
"queued_downloads": "在队列中的下载",
"downloads_completed": "已完成",
"queued": "下载列表",
"no_downloads_title": "空空如也",
"no_downloads_description": "你还未使用Hydra下载任何游戏,但什么时候开始,都为时不晚。"
}, },
"settings": { "settings": {
"downloads_path": "下载路径", "downloads_path": "下载路径",
@ -109,34 +146,72 @@
"notifications": "通知", "notifications": "通知",
"enable_download_notifications": "下载完成时", "enable_download_notifications": "下载完成时",
"enable_repack_list_notifications": "添加新重打包时", "enable_repack_list_notifications": "添加新重打包时",
"real_debrid_api_token_label": "Real-Debrid API 令牌",
"quit_app_instead_hiding": "关闭Hydra而不是最小化到托盘",
"launch_with_system": "系统启动时运行 Hydra",
"general": "通用",
"behavior": "行为", "behavior": "行为",
"general": "常规", "download_sources": "下载源",
"quit_app_instead_hiding": "关闭应用程序而不是最小化到托盘", "language": "语言",
"launch_with_system": "随系统启动时运行应用程序", "real_debrid_api_token": "API 令牌",
"enable_real_debrid": "启用 Real-Debrid", "enable_real_debrid": "启用 Real-Debrid",
"real_debrid_description": "Real-Debrid 是一个无限制的下载器,允许您以最快的互联网速度即时下载文件。",
"real_debrid_invalid_token": "无效的 API 令牌",
"real_debrid_api_token_hint": "您可以从<0>这里</0>获取API密钥.", "real_debrid_api_token_hint": "您可以从<0>这里</0>获取API密钥.",
"save_changes": "保存更改" "real_debrid_free_account_error": "账户 \"{{username}}\" 是免费账户。请订阅 Real-Debrid",
}, "real_debrid_linked_message": "账户 \"{{username}}\" 已链接",
"notifications": { "save_changes": "保存更改",
"download_complete": "下载完成", "changes_saved": "更改已成功保存",
"game_ready_to_install": "{{title}}已准备好安装", "download_sources_description": "Hydra 将从这些源获取下载链接。源 URL 必须是直接链接到包含下载链接的 .json 文件。",
"repack_list_updated": "重打包列表已更新", "validate_download_source": "验证",
"repack_count_one": "已添加{{count}}个重打包", "remove_download_source": "移除",
"repack_count_other": "已添加{{count}}个重打包" "add_download_source": "添加源",
}, "download_count_zero": "列表中无下载",
"system_tray": { "download_count_one": "列表中有 {{countFormatted}} 个下载",
"open": "打开Hydra", "download_count_other": "列表中有 {{countFormatted}} 个下载",
"quit": "退出" "download_options_zero": "无可用下载",
}, "download_options_one": "有 {{countFormatted}} 个下载可用",
"game_card": { "download_options_other": "有 {{countFormatted}} 个下载可用",
"no_downloads": "没有可用的下载" "download_source_url": "下载源 URL",
}, "add_download_source_description": "插入包含 .json 文件的 URL",
"binary_not_found_modal": { "download_source_up_to_date": "已更新",
"title": "程序未安装", "download_source_errored": "出错",
"description": "在您的系统上未找到Wine或Lutris的可执行文件", "sync_download_sources": "同步源",
"instructions": "检查在您的Linux发行版上正确安装它们的方法,以便游戏可以正常运行" "removed_download_source": "已移除下载源",
"added_download_source": "已添加下载源",
"download_sources_synced": "所有下载源已同步",
"insert_valid_json_url": "插入有效的 JSON 网址",
"found_download_option_zero": "未找到下载选项",
"found_download_option_one": "找到 {{countFormatted}} 个下载选项",
"found_download_option_other": "找到 {{countFormatted}} 个下载选项",
"import": "导入"
}, },
"modal": { "modal": {
"close": "关闭按钮" "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": "Emmm… 这里暂时啥都没有",
"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": "Playing for {{amount}}",
"sign_out_modal_text": "您的资料库与您当前的账户相关联。注销后,您的资料库将不再可见,任何进度也不会保存。继续退出吗?"
} }
} }

View file

@ -95,6 +95,7 @@ export class WindowManager {
minimizable: false, minimizable: false,
webPreferences: { webPreferences: {
sandbox: false, sandbox: false,
nodeIntegrationInSubFrames: true,
}, },
}); });

View file

@ -6,7 +6,7 @@
<title>Hydra</title> <title>Hydra</title>
<meta <meta
http-equiv="Content-Security-Policy" http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: local: https://*.s3.amazonaws.com https://steamcdn-a.akamaihd.net https://shared.akamai.steamstatic.com https://cdn.cloudflare.steamstatic.com https://cdn2.steamgriddb.com https://cdn.akamai.steamstatic.com; media-src 'self' local: data: https://steamcdn-a.akamaihd.net https://cdn.cloudflare.steamstatic.com https://cdn2.steamgriddb.com https://cdn.akamai.steamstatic.com https://shared.akamai.steamstatic.com;" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: local: https://*.cloudfront.net https://*.s3.amazonaws.com https://steamcdn-a.akamaihd.net https://shared.akamai.steamstatic.com https://cdn.cloudflare.steamstatic.com https://cdn2.steamgriddb.com https://cdn.akamai.steamstatic.com; media-src 'self' local: data: https://steamcdn-a.akamaihd.net https://cdn.cloudflare.steamstatic.com https://cdn2.steamgriddb.com https://cdn.akamai.steamstatic.com https://shared.akamai.steamstatic.com;"
/> />
</head> </head>
<body style="background-color: #1c1c1c"> <body style="background-color: #1c1c1c">