mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
i18n: Translate toast errors
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user