This commit is contained in:
Zamitto 2024-06-08 00:16:29 -03:00
parent d8446263eb
commit f1b30eb969
3 changed files with 23 additions and 11 deletions

View file

@ -108,7 +108,14 @@
"create_shortcut": "Create shortcut", "create_shortcut": "Create shortcut",
"remove_files": "Remove files", "remove_files": "Remove files",
"remove_from_library_title": "Are you sure?", "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": { "activation": {
"title": "Activate Hydra", "title": "Activate Hydra",

View file

@ -105,7 +105,14 @@
"create_shortcut": "Criar atalho", "create_shortcut": "Criar atalho",
"remove_files": "Remover arquivos", "remove_files": "Remover arquivos",
"remove_from_library_description": "Isso irá remover {{game}} da sua biblioteca", "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": { "activation": {
"title": "Ativação", "title": "Ativação",

View file

@ -4,7 +4,6 @@ import { Button, Modal, TextField } from "@renderer/components";
import type { Game } from "@types"; import type { Game } from "@types";
import * as styles from "./game-options-modal.css"; import * as styles from "./game-options-modal.css";
import { gameDetailsContext } from "../game-details.context"; import { gameDetailsContext } from "../game-details.context";
import { NoEntryIcon, TrashIcon } from "@primer/octicons-react";
import { DeleteGameModal } from "@renderer/pages/downloads/delete-game-modal"; import { DeleteGameModal } from "@renderer/pages/downloads/delete-game-modal";
import { useDownload } from "@renderer/hooks"; import { useDownload } from "@renderer/hooks";
import { RemoveGameFromLibraryModal } from "./remove-from-library-modal"; import { RemoveGameFromLibraryModal } from "./remove-from-library-modal";
@ -94,7 +93,7 @@ export function GameOptionsModal({
<div className={styles.optionsContainer}> <div className={styles.optionsContainer}>
<div className={styles.gameOptionHeader}> <div className={styles.gameOptionHeader}>
<h2>Arquivos baixados</h2> <h2>{t("downloaded_files")}</h2>
</div> </div>
<div className={styles.gameOptionRow}> <div className={styles.gameOptionRow}>
<Button <Button
@ -108,9 +107,9 @@ export function GameOptionsModal({
</div> </div>
<div className={styles.gameOptionHeader}> <div className={styles.gameOptionHeader}>
<h2>Executável</h2> <h2>{t("executable_section_title")}</h2>
<h4 className={styles.gameOptionHeaderDescription}> <h4 className={styles.gameOptionHeaderDescription}>
O caminho do arquivo que sera executado ao clicar em "Jogar" {t("executable_section_description")}
</h4> </h4>
</div> </div>
<div className={styles.gameOptionRow}> <div className={styles.gameOptionRow}>
@ -151,9 +150,9 @@ export function GameOptionsModal({
</Button> </Button>
</div> </div>
<div className={styles.gameOptionHeader}> <div className={styles.gameOptionHeader}>
<h2>Downloads</h2> <h2>{t("downloads_secion_title")}</h2>
<h4 className={styles.gameOptionHeaderDescription}> <h4 className={styles.gameOptionHeaderDescription}>
Confira atualizações ou versões diferentes para este mesmo título {t("downloads_section_description")}
</h4> </h4>
</div> </div>
<div className={styles.gameOptionRow}> <div className={styles.gameOptionRow}>
@ -166,10 +165,9 @@ export function GameOptionsModal({
</Button> </Button>
</div> </div>
<div className={styles.gameOptionHeader}> <div className={styles.gameOptionHeader}>
<h2>Zona de perigo</h2> <h2>{t("danger_zone_section_title")}</h2>
<h4 className={styles.gameOptionHeaderDescription}> <h4 className={styles.gameOptionHeaderDescription}>
Remova o jogo da sua biblioteca ou os arquivos que foram baixados {t("danger_zone_section_description")}
pelo Hydra
</h4> </h4>
</div> </div>
<div className={styles.gameOptionRow}> <div className={styles.gameOptionRow}>