From 162336bc3e46d6d2cf0e6386d970d30697da9f8f Mon Sep 17 00:00:00 2001
From: Rosanny <rosanny.sihombing@hft-stuttgart.de>
Date: Thu, 2 Apr 2020 15:12:58 +0200
Subject: [PATCH] UI minor update: Translation

---
 routes/routes-account.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/routes/routes-account.js b/routes/routes-account.js
index e075f04d..39fb86eb 100644
--- a/routes/routes-account.js
+++ b/routes/routes-account.js
@@ -292,7 +292,8 @@ module.exports = function (app, config, passport, i18n) {
               }
               else {
                 if ( newPwd != retypePwd ) {
-                  req.flash('error', "Passwords do no match. Please make sure you re-type your new password correctly.")
+                  //req.flash('error', "Passwords do no match. Please make sure you re-type your new password correctly.")
+                  req.flash('error', 'Passwörter stimmen nicht überein. Bitte stellen Sie sicher, dass Sie das Passwort beide Male genau gleich eingeben.')
                   res.redirect('/security')
                 }
                 else {
-- 
GitLab