i18n: Translate toast errors

This commit is contained in:
Elian Doran
2024-10-20 02:19:47 +03:00
parent 28f6712a4f
commit 26e4decaec
8 changed files with 47 additions and 19 deletions

View File

@@ -50,7 +50,7 @@ async function setupProtectedSession(password) {
const response = await server.post('login/protected', { password: password });
if (!response.success) {
toastService.showError("Wrong password.", 3000);
toastService.showError(t("protected_session.wrong_password"), 3000);
return;
}