Added translations

ref #103
This commit is contained in:
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() {
if (data_loaded === true && update_password_enabled) {
Toastify({
text: "Changing your password",
text: $_('changing-your-password'),
duration: 2500,
}).showToast();
let postdata = Object.assign({}, original_data);
@@ -55,7 +55,7 @@
password_confirm = "";
password_change = "";
Toastify({
text: "Password changed",
text: $_('password-changed'),
duration: 2500,
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
}).showToast();