From 1fe7e23fa8b9e4742a5ef8bafc75924893010183 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Sat, 15 Feb 2025 21:31:25 -0300 Subject: [PATCH 1/3] feat: i18n --- src/locales/en/translation.json | 4 +++- src/locales/pt-BR/translation.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 0d856f75..3a45c6a2 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -189,7 +189,9 @@ "download_error_gofile_quota_exceeded": "You have exceeded your Gofile monthly quota. Please await the quota to reset.", "download_error_real_debrid_account_not_authorized": "Your Real-Debrid account is not authorized to make new downloads. Please check your account settings and try again.", "download_error_not_cached_in_real_debrid": "This download is not available on Real-Debrid and polling download status from Real-Debrid is not yet available.", - "download_error_not_cached_in_torbox": "This download is not available on Torbox and polling download status from Torbox is not yet available." + "download_error_not_cached_in_torbox": "This download is not available on Torbox and polling download status from Torbox is not yet available.", + "game_added_to_favorites": "Game added to favorites", + "game_removed_from_favorites": "Game removed from favorites" }, "activation": { diff --git a/src/locales/pt-BR/translation.json b/src/locales/pt-BR/translation.json index 6394ed95..8d1b4f88 100644 --- a/src/locales/pt-BR/translation.json +++ b/src/locales/pt-BR/translation.json @@ -179,7 +179,9 @@ "download_error_gofile_quota_exceeded": "Você excedeu sua cota mensal do Gofile. Por favor, aguarde a cota resetar.", "download_error_real_debrid_account_not_authorized": "Sua conta do Real-Debrid não está autorizada a fazer novos downloads. Por favor, verifique sua assinatura e tente novamente.", "download_error_not_cached_in_real_debrid": "Este download não está disponível no Real-Debrid e a verificação do status do download não está disponível.", - "download_error_not_cached_in_torbox": "Este download não está disponível no Torbox e a verificação do status do download não está disponível." + "download_error_not_cached_in_torbox": "Este download não está disponível no Torbox e a verificação do status do download não está disponível.", + "game_added_to_favorites": "Jogo adicionado aos favoritos", + "game_removed_from_favorites": "Jogo removido dos favoritos" }, "activation": { From c0c78b5e4b38e4f52ffe1c281e75d02b135c5f0c Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Sat, 15 Feb 2025 21:44:50 -0300 Subject: [PATCH 2/3] feat: i18n --- src/locales/en/translation.json | 2 +- src/locales/pt-BR/translation.json | 20 +++++++++++++++++++ .../settings/aparence/settings-appearance.tsx | 2 -- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 3a45c6a2..7437cd68 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -312,7 +312,7 @@ "web_store": "Web store", "clear_themes": "Clear", "add_theme": "Add", - "add_theme_modal_title": "Add custom theme", + "add_theme_modal_title": "Create custom theme", "add_theme_modal_description": "Create a new theme to customize Hydra's appearance", "theme_name": "Name", "insert_theme_name": "Insert theme name", diff --git a/src/locales/pt-BR/translation.json b/src/locales/pt-BR/translation.json index 8d1b4f88..1a354ff4 100644 --- a/src/locales/pt-BR/translation.json +++ b/src/locales/pt-BR/translation.json @@ -295,6 +295,26 @@ "subscription_renew_cancelled": "A renovação automática está desativada", "subscription_renews_on": "Sua assinatura renova dia {{date}}", "bill_sent_until": "Sua próxima cobrança será enviada até esse dia", + "no_themes": "Parace que você ainda não tem nenhum tema. Não se preocupe, clique aqui para criar sua primeira obra de arte.", + "editor_tab_code": "Código", + "editor_tab_info": "Info", + "editor_tab_save": "Salvar", + "web_store": "Loja de temas", + "clear_themes": "Limpar", + "add_theme": "Adicionar", + "add_theme_modal_title": "Criar tema customizado", + "add_theme_modal_description": "Criar novo tema para customizar a aparência do Hydra", + "theme_name": "Nome", + "insert_theme_name": "Insira o nome do tema", + "set_theme": "Habilitar tema", + "unset_theme": "Desabilitar tema", + "delete_theme": "Deletar tema", + "edit_theme": "Editar tema", + "delete_all_themes": "Deletar todos os temas", + "delete_all_themes_description": "Isso irá deletar todos os seus temas", + "delete_theme_description": "Isso irá deletar o tema {{theme}}", + "cancel": "Cancelar", + "appearance": "Aparência", "enable_torbox": "Habilitar Torbox", "torbox_description": "TorBox é o seu serviço de seedbox premium que rivaliza até com os melhores servidores do mercado.", "torbox_account_linked": "Conta do TorBox vinculada", diff --git a/src/renderer/src/pages/settings/aparence/settings-appearance.tsx b/src/renderer/src/pages/settings/aparence/settings-appearance.tsx index 9b1d72d0..f45c3426 100644 --- a/src/renderer/src/pages/settings/aparence/settings-appearance.tsx +++ b/src/renderer/src/pages/settings/aparence/settings-appearance.tsx @@ -17,8 +17,6 @@ export const SettingsAppearance = () => { return (
-

Appearance

-
From 418ad71e15eb3eebb6f596a8a6fee1a99c99cecf Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Sat, 15 Feb 2025 21:45:25 -0300 Subject: [PATCH 3/3] chore: bump version --- package.json | 2 +- src/renderer/src/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 234331e2..9435b728 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hydralauncher", - "version": "3.1.5", + "version": "3.2.0", "description": "Hydra", "main": "./out/main/index.js", "author": "Los Broxas", diff --git a/src/renderer/src/constants.ts b/src/renderer/src/constants.ts index 1d7aa1b1..83293cb6 100644 --- a/src/renderer/src/constants.ts +++ b/src/renderer/src/constants.ts @@ -1,6 +1,6 @@ import { Downloader } from "@shared"; -export const VERSION_CODENAME = "Spectre"; +export const VERSION_CODENAME = "Polychrome"; export const DOWNLOADER_NAME = { [Downloader.RealDebrid]: "Real-Debrid",