feat: add locale strings

This commit is contained in:
Hachi-R 2024-11-09 13:00:22 -03:00
parent 9619578fcf
commit 518d919da5
3 changed files with 14 additions and 6 deletions

View file

@ -199,7 +199,10 @@
"queued": "Queued", "queued": "Queued",
"no_downloads_title": "Such empty", "no_downloads_title": "Such empty",
"no_downloads_description": "You haven't downloaded anything with Hydra yet, but it's never too late to start.", "no_downloads_description": "You haven't downloaded anything with Hydra yet, but it's never too late to start.",
"checking_files": "Checking files…" "checking_files": "Checking files…",
"seeding": "Seeding",
"stop_seeding": "Stop seeding",
"resume_seeding": "Resume seeding"
}, },
"settings": { "settings": {
"downloads_path": "Downloads path", "downloads_path": "Downloads path",
@ -256,7 +259,8 @@
"user_unblocked": "User has been unblocked", "user_unblocked": "User has been unblocked",
"enable_achievement_notifications": "When an achievement is unlocked", "enable_achievement_notifications": "When an achievement is unlocked",
"launch_minimized": "Launch Hydra minimized", "launch_minimized": "Launch Hydra minimized",
"disable_nsfw_alert": "Disable NSFW alert" "disable_nsfw_alert": "Disable NSFW alert",
"seed_after_download_complete": "Seed after download complete"
}, },
"notifications": { "notifications": {
"download_complete": "Download complete", "download_complete": "Download complete",

View file

@ -195,7 +195,10 @@
"queued": "Na fila", "queued": "Na fila",
"no_downloads_title": "Nada por aqui…", "no_downloads_title": "Nada por aqui…",
"no_downloads_description": "Você ainda não baixou nada pelo Hydra, mas nunca é tarde para começar.", "no_downloads_description": "Você ainda não baixou nada pelo Hydra, mas nunca é tarde para começar.",
"checking_files": "Verificando arquivos…" "checking_files": "Verificando arquivos…",
"seeding": "Semeando",
"stop_seeding": "Parar semeio",
"resume_seeding": "Retomar semeio"
}, },
"settings": { "settings": {
"downloads_path": "Diretório dos downloads", "downloads_path": "Diretório dos downloads",
@ -252,7 +255,8 @@
"user_unblocked": "Usuário desbloqueado", "user_unblocked": "Usuário desbloqueado",
"enable_achievement_notifications": "Quando uma conquista é desbloqueada", "enable_achievement_notifications": "Quando uma conquista é desbloqueada",
"launch_minimized": "Iniciar o Hydra minimizado", "launch_minimized": "Iniciar o Hydra minimizado",
"disable_nsfw_alert": "Desativar alerta de conteúdo inapropriado" "disable_nsfw_alert": "Desativar alerta de conteúdo inapropriado",
"seed_after_download_complete": "Semear após a conclusão do download"
}, },
"notifications": { "notifications": {
"download_complete": "Download concluído", "download_complete": "Download concluído",

View file

@ -170,11 +170,11 @@ export function DownloadGroup({
{game.status === "seeding" ? ( {game.status === "seeding" ? (
<Button onClick={() => pauseSeeding(game.id)} theme="outline"> <Button onClick={() => pauseSeeding(game.id)} theme="outline">
{t("stop seeding")} {t("stop_seeding")}
</Button> </Button>
) : ( ) : (
<Button onClick={() => resumeSeeding(game.id)} theme="outline"> <Button onClick={() => resumeSeeding(game.id)} theme="outline">
{t("resume seeding")} {t("resume_seeding")}
</Button> </Button>
)} )}
</> </>