i18n for sidebar

This commit is contained in:
Zamitto 2024-06-07 14:07:15 -03:00
parent 08eda5573d
commit ceb8f164b7
3 changed files with 5 additions and 3 deletions

View File

@ -15,7 +15,8 @@
"downloading": "{{title}} ({{percentage}} - Downloading…)", "downloading": "{{title}} ({{percentage}} - Downloading…)",
"filter": "Filter library", "filter": "Filter library",
"home": "Home", "home": "Home",
"queued": "{{title}} (Queued)" "queued": "{{title}} (Queued)",
"game_has_no_executable": "Game has no executable selected"
}, },
"header": { "header": {
"search": "Search games", "search": "Search games",

View File

@ -16,7 +16,8 @@
"filter": "Filtrar biblioteca", "filter": "Filtrar biblioteca",
"home": "Início", "home": "Início",
"follow_us": "Acompanhe-nos", "follow_us": "Acompanhe-nos",
"queued": "{{title}} (Na fila)" "queued": "{{title}} (Na fila)",
"game_has_no_executable": "Jogo não possui executável selecionado"
}, },
"header": { "header": {
"search": "Buscar jogos", "search": "Buscar jogos",

View File

@ -137,7 +137,7 @@ export function Sidebar() {
if (game.executablePath) { if (game.executablePath) {
window.electron.openGame(game.id, game.executablePath); window.electron.openGame(game.id, game.executablePath);
} else { } else {
showWarningToast("Jogo não possui executável selecionado"); showWarningToast(t("game_has_no_executable"));
} }
} }
}; };