mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-13 11:42:10 +00:00
i18n
This commit is contained in:
parent
95a7922806
commit
58dff75f64
3 changed files with 21 additions and 14 deletions
|
@ -99,7 +99,13 @@
|
|||
"screenshot": "Screenshot {{number}}",
|
||||
"open_screenshot": "Open screenshot {{number}}",
|
||||
"download_settings": "Download settings",
|
||||
"downloader": "Downloader"
|
||||
"downloader": "Downloader",
|
||||
"select_executable": "Select executable",
|
||||
"no_executable_selected": "No executable selected",
|
||||
"open_folder": "Open folder",
|
||||
"create_shortcut": "Create shortcut",
|
||||
"installer_path": "Installer path",
|
||||
"remove_installer": "Remove installer"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Activate Hydra",
|
||||
|
|
|
@ -96,7 +96,13 @@
|
|||
"screenshot": "Captura de tela {{number}}",
|
||||
"open_screenshot": "Ver captura de tela {{number}}",
|
||||
"download_settings": "Ajustes do download",
|
||||
"downloader": "Downloader"
|
||||
"downloader": "Downloader",
|
||||
"select_executable": "Selecionar executável",
|
||||
"no_executable_selected": "Nenhum executável selecionado",
|
||||
"open_folder": "Abrir pasta",
|
||||
"create_shortcut": "Criar atalho",
|
||||
"installer_path": "Caminho do instalador",
|
||||
"remove_installer": "Remover instalador"
|
||||
},
|
||||
"activation": {
|
||||
"title": "Ativação",
|
||||
|
|
|
@ -104,18 +104,14 @@ export function GameOptionsModal({
|
|||
readOnly
|
||||
theme="dark"
|
||||
disabled
|
||||
placeholder="Selecione um executável"
|
||||
placeholder={t("no_executable_selected")}
|
||||
/>
|
||||
<Button
|
||||
type="button"
|
||||
theme="outline"
|
||||
style={{ alignSelf: "flex-end" }}
|
||||
onClick={handleChangeExecutableLocation}
|
||||
title={
|
||||
game.executablePath
|
||||
? "Trocar executável"
|
||||
: "Selecionar executável"
|
||||
}
|
||||
title={t("select_executable")}
|
||||
>
|
||||
<PencilIcon />
|
||||
</Button>
|
||||
|
@ -125,7 +121,7 @@ export function GameOptionsModal({
|
|||
style={{ alignSelf: "flex-end" }}
|
||||
onClick={handleOpenGameExecutablePath}
|
||||
disabled={!game.executablePath}
|
||||
title={"Abrir pasta"}
|
||||
title={t("open_folder")}
|
||||
>
|
||||
<FileDirectoryOpenFillIcon />
|
||||
</Button>
|
||||
|
@ -135,7 +131,7 @@ export function GameOptionsModal({
|
|||
style={{ alignSelf: "flex-end" }}
|
||||
theme="outline"
|
||||
disabled={deleting || !game.executablePath}
|
||||
title={"Criar atalho"}
|
||||
title={t("create_shortcut")}
|
||||
>
|
||||
<FileSymlinkFileIcon />
|
||||
</Button>
|
||||
|
@ -146,12 +142,11 @@ export function GameOptionsModal({
|
|||
{game.folderName && (
|
||||
<div className={styles.downloadSourceField}>
|
||||
<TextField
|
||||
label="Caminho do instalador"
|
||||
label={t("installer_path")}
|
||||
value={`${game.downloadPath}\\${game.folderName}`}
|
||||
readOnly
|
||||
theme="dark"
|
||||
disabled
|
||||
placeholder=""
|
||||
/>
|
||||
|
||||
<Button
|
||||
|
@ -160,7 +155,7 @@ export function GameOptionsModal({
|
|||
style={{ alignSelf: "flex-end" }}
|
||||
onClick={handleOpenGameInstallerPath}
|
||||
disabled={!game.downloadPath}
|
||||
title={"Abrir pasta"}
|
||||
title={t("open_folder")}
|
||||
>
|
||||
<FileDirectoryOpenFillIcon />
|
||||
</Button>
|
||||
|
@ -172,7 +167,7 @@ export function GameOptionsModal({
|
|||
onClick={() => {
|
||||
setShowDeleteModal(true);
|
||||
}}
|
||||
title={"Remover instalador"}
|
||||
title={t("remove_installer")}
|
||||
>
|
||||
<TrashIcon />
|
||||
</Button>
|
||||
|
|
Loading…
Reference in a new issue