mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +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}}",
|
"screenshot": "Screenshot {{number}}",
|
||||||
"open_screenshot": "Open screenshot {{number}}",
|
"open_screenshot": "Open screenshot {{number}}",
|
||||||
"download_settings": "Download settings",
|
"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": {
|
"activation": {
|
||||||
"title": "Activate Hydra",
|
"title": "Activate Hydra",
|
||||||
|
|
|
@ -96,7 +96,13 @@
|
||||||
"screenshot": "Captura de tela {{number}}",
|
"screenshot": "Captura de tela {{number}}",
|
||||||
"open_screenshot": "Ver captura de tela {{number}}",
|
"open_screenshot": "Ver captura de tela {{number}}",
|
||||||
"download_settings": "Ajustes do download",
|
"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": {
|
"activation": {
|
||||||
"title": "Ativação",
|
"title": "Ativação",
|
||||||
|
|
|
@ -104,18 +104,14 @@ export function GameOptionsModal({
|
||||||
readOnly
|
readOnly
|
||||||
theme="dark"
|
theme="dark"
|
||||||
disabled
|
disabled
|
||||||
placeholder="Selecione um executável"
|
placeholder={t("no_executable_selected")}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
type="button"
|
type="button"
|
||||||
theme="outline"
|
theme="outline"
|
||||||
style={{ alignSelf: "flex-end" }}
|
style={{ alignSelf: "flex-end" }}
|
||||||
onClick={handleChangeExecutableLocation}
|
onClick={handleChangeExecutableLocation}
|
||||||
title={
|
title={t("select_executable")}
|
||||||
game.executablePath
|
|
||||||
? "Trocar executável"
|
|
||||||
: "Selecionar executável"
|
|
||||||
}
|
|
||||||
>
|
>
|
||||||
<PencilIcon />
|
<PencilIcon />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -125,7 +121,7 @@ export function GameOptionsModal({
|
||||||
style={{ alignSelf: "flex-end" }}
|
style={{ alignSelf: "flex-end" }}
|
||||||
onClick={handleOpenGameExecutablePath}
|
onClick={handleOpenGameExecutablePath}
|
||||||
disabled={!game.executablePath}
|
disabled={!game.executablePath}
|
||||||
title={"Abrir pasta"}
|
title={t("open_folder")}
|
||||||
>
|
>
|
||||||
<FileDirectoryOpenFillIcon />
|
<FileDirectoryOpenFillIcon />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -135,7 +131,7 @@ export function GameOptionsModal({
|
||||||
style={{ alignSelf: "flex-end" }}
|
style={{ alignSelf: "flex-end" }}
|
||||||
theme="outline"
|
theme="outline"
|
||||||
disabled={deleting || !game.executablePath}
|
disabled={deleting || !game.executablePath}
|
||||||
title={"Criar atalho"}
|
title={t("create_shortcut")}
|
||||||
>
|
>
|
||||||
<FileSymlinkFileIcon />
|
<FileSymlinkFileIcon />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -146,12 +142,11 @@ export function GameOptionsModal({
|
||||||
{game.folderName && (
|
{game.folderName && (
|
||||||
<div className={styles.downloadSourceField}>
|
<div className={styles.downloadSourceField}>
|
||||||
<TextField
|
<TextField
|
||||||
label="Caminho do instalador"
|
label={t("installer_path")}
|
||||||
value={`${game.downloadPath}\\${game.folderName}`}
|
value={`${game.downloadPath}\\${game.folderName}`}
|
||||||
readOnly
|
readOnly
|
||||||
theme="dark"
|
theme="dark"
|
||||||
disabled
|
disabled
|
||||||
placeholder=""
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
@ -160,7 +155,7 @@ export function GameOptionsModal({
|
||||||
style={{ alignSelf: "flex-end" }}
|
style={{ alignSelf: "flex-end" }}
|
||||||
onClick={handleOpenGameInstallerPath}
|
onClick={handleOpenGameInstallerPath}
|
||||||
disabled={!game.downloadPath}
|
disabled={!game.downloadPath}
|
||||||
title={"Abrir pasta"}
|
title={t("open_folder")}
|
||||||
>
|
>
|
||||||
<FileDirectoryOpenFillIcon />
|
<FileDirectoryOpenFillIcon />
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -172,7 +167,7 @@ export function GameOptionsModal({
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setShowDeleteModal(true);
|
setShowDeleteModal(true);
|
||||||
}}
|
}}
|
||||||
title={"Remover instalador"}
|
title={t("remove_installer")}
|
||||||
>
|
>
|
||||||
<TrashIcon />
|
<TrashIcon />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue