From f1b30eb969fd354f64b16364a378ba37c01ce7fd Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Sat, 8 Jun 2024 00:16:29 -0300 Subject: [PATCH] i18n --- src/locales/en/translation.json | 9 ++++++++- src/locales/pt/translation.json | 9 ++++++++- .../game-details/modals/game-options-modal.tsx | 16 +++++++--------- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 838c795f..f55702b1 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -108,7 +108,14 @@ "create_shortcut": "Create shortcut", "remove_files": "Remove files", "remove_from_library_title": "Are you sure?", - "remove_from_library_description": "This will remove {{game}} from your library" + "remove_from_library_description": "This will remove {{game}} from your library", + "downloaded_files": "Downloaded files", + "executable_section_title": "Executable", + "executable_section_description": "Path of the file that will be executed when \"Play\" is clicked", + "downloads_secion_title": "Downloads", + "downloads_section_description": "Check out updates or other versions of this game", + "danger_zone_section_title": "Danger zone", + "danger_zone_section_description": "Remove this game from your library or the files downloaded by Hydra" }, "activation": { "title": "Activate Hydra", diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json index ee404e9f..702dc791 100644 --- a/src/locales/pt/translation.json +++ b/src/locales/pt/translation.json @@ -105,7 +105,14 @@ "create_shortcut": "Criar atalho", "remove_files": "Remover arquivos", "remove_from_library_description": "Isso irá remover {{game}} da sua biblioteca", - "remove_from_library_title": "Tem certeza?" + "remove_from_library_title": "Tem certeza?", + "downloaded_files": "Arquivos baixados", + "executable_section_title": "Executável", + "executable_section_description": "O caminho do arquivo que sera executado ao clicar em \"Jogar\"", + "downloads_secion_title": "Downloads", + "downloads_section_description": "Confira atualizações ou versões diferentes para este mesmo título", + "danger_zone_section_title": "Zona de perigo", + "danger_zone_section_description": "Remova o jogo da sua biblioteca ou os arquivos que foram baixados pelo Hydra" }, "activation": { "title": "Ativação", diff --git a/src/renderer/src/pages/game-details/modals/game-options-modal.tsx b/src/renderer/src/pages/game-details/modals/game-options-modal.tsx index e12a9834..73b49417 100644 --- a/src/renderer/src/pages/game-details/modals/game-options-modal.tsx +++ b/src/renderer/src/pages/game-details/modals/game-options-modal.tsx @@ -4,7 +4,6 @@ import { Button, Modal, TextField } from "@renderer/components"; import type { Game } from "@types"; import * as styles from "./game-options-modal.css"; import { gameDetailsContext } from "../game-details.context"; -import { NoEntryIcon, TrashIcon } from "@primer/octicons-react"; import { DeleteGameModal } from "@renderer/pages/downloads/delete-game-modal"; import { useDownload } from "@renderer/hooks"; import { RemoveGameFromLibraryModal } from "./remove-from-library-modal"; @@ -94,7 +93,7 @@ export function GameOptionsModal({
-

Arquivos baixados

+

{t("downloaded_files")}

-

Downloads

+

{t("downloads_secion_title")}

- Confira atualizações ou versões diferentes para este mesmo título + {t("downloads_section_description")}

@@ -166,10 +165,9 @@ export function GameOptionsModal({
-

Zona de perigo

+

{t("danger_zone_section_title")}

- Remova o jogo da sua biblioteca ou os arquivos que foram baixados - pelo Hydra + {t("danger_zone_section_description")}