Added translations

ref #103
This commit is contained in:
Nicolai Ort 2021-03-19 19:14:23 +01:00
parent 24b98983cf
commit e76854c23b
3 changed files with 8 additions and 4 deletions

View File

@ -45,7 +45,7 @@
function changePassword() { function changePassword() {
if (data_loaded === true && update_password_enabled) { if (data_loaded === true && update_password_enabled) {
Toastify({ Toastify({
text: "Changing your password", text: $_('changing-your-password'),
duration: 2500, duration: 2500,
}).showToast(); }).showToast();
let postdata = Object.assign({}, original_data); let postdata = Object.assign({}, original_data);
@ -55,7 +55,7 @@
password_confirm = ""; password_confirm = "";
password_change = ""; password_change = "";
Toastify({ Toastify({
text: "Password changed", text: $_('password-changed'),
duration: 2500, duration: 2500,
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)", backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
}).showToast(); }).showToast();

View File

@ -368,5 +368,7 @@
"passwords-dont-match": "Die Passwörter stimmen nicht überein.", "passwords-dont-match": "Die Passwörter stimmen nicht überein.",
"update-password": "Passwort ändern", "update-password": "Passwort ändern",
"confirm-the-new-password": "Neues Passwort bestätigen", "confirm-the-new-password": "Neues Passwort bestätigen",
"change-your-password-here": "Hier kannst du dein Passwort ändern" "change-your-password-here": "Hier kannst du dein Passwort ändern",
"password-changed": "Passwort wurde aktualisiert!",
"changing-your-password": "Passwort wird geändert"
} }

View File

@ -368,5 +368,7 @@
"passwords-dont-match": "Passwords don't match", "passwords-dont-match": "Passwords don't match",
"update-password": "Update password", "update-password": "Update password",
"confirm-the-new-password": "Confirm the new password", "confirm-the-new-password": "Confirm the new password",
"change-your-password-here": "Change your password here" "change-your-password-here": "Change your password here",
"password-changed": "Password changed!",
"changing-your-password": "Changing your password"
} }