diff --git a/interface/web/tools/lib/lang/en_usersettings.lng b/interface/web/tools/lib/lang/en_usersettings.lng index 02e5d6e891b62dc3f570f7aa47936a1e69b6f37d..ca6ca603a1d10b616ab80830e83ae48035451e49 100644 --- a/interface/web/tools/lib/lang/en_usersettings.lng +++ b/interface/web/tools/lib/lang/en_usersettings.lng @@ -3,4 +3,5 @@ $wb["passwort_txt"] = 'Password'; $wb["language_txt"] = 'Language'; $wb["btn_save_txt"] = 'Save'; $wb["btn_cancel_txt"] = 'Cancel'; +$wb["password_mismatch"] = 'The password in the second password field does not match the first password.'; ?> \ No newline at end of file diff --git a/interface/web/tools/user_settings.php b/interface/web/tools/user_settings.php index eb52f5812a8b86e0527668980abf7714f2c83ca7..d618ef08d68e1c060408d9f9195c867fd0b9ae2c 100644 --- a/interface/web/tools/user_settings.php +++ b/interface/web/tools/user_settings.php @@ -77,7 +77,7 @@ class page_action extends tform_actions { global $app, $conf; if($_POST['passwort'] != $_POST['passwort2']) { - $app->tform->errorMessage = 'The passwords in the second password field does not match the first password.'; + $app->tform->errorMessage = $app->tform->lng('password_mismatch'); } }