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…)",
"filter": "Filter library",
"home": "Home",
"queued": "{{title}} (Queued)"
"queued": "{{title}} (Queued)",
"game_has_no_executable": "Game has no executable selected"
},
"header": {
"search": "Search games",

View File

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

View File

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