From f9bb2506982a7619a696aed9a7faf9d7ebee767b Mon Sep 17 00:00:00 2001 From: Miguel Cabrerizo <30386061+doncicuto@users.noreply.github.com> Date: Tue, 19 Sep 2023 14:05:49 +0200 Subject: [PATCH] feat: improve Password.NotChanged message (#6589) * feat: improve Password.NotChanged message * Update internal/api/ui/login/static/i18n/de.yaml * Update internal/static/i18n/de.yaml --------- Co-authored-by: Fabi --- internal/api/ui/login/static/i18n/bg.yaml | 2 +- internal/api/ui/login/static/i18n/de.yaml | 2 +- internal/api/ui/login/static/i18n/en.yaml | 2 +- internal/api/ui/login/static/i18n/es.yaml | 2 +- internal/api/ui/login/static/i18n/fr.yaml | 2 +- internal/api/ui/login/static/i18n/it.yaml | 2 +- internal/api/ui/login/static/i18n/ja.yaml | 2 +- internal/api/ui/login/static/i18n/mk.yaml | 2 +- internal/api/ui/login/static/i18n/pl.yaml | 2 +- internal/api/ui/login/static/i18n/pt.yaml | 2 +- internal/api/ui/login/static/i18n/zh.yaml | 2 +- internal/static/i18n/bg.yaml | 2 +- internal/static/i18n/de.yaml | 2 +- internal/static/i18n/en.yaml | 2 +- internal/static/i18n/es.yaml | 2 +- internal/static/i18n/fr.yaml | 2 +- internal/static/i18n/it.yaml | 2 +- internal/static/i18n/ja.yaml | 2 +- internal/static/i18n/mk.yaml | 2 +- internal/static/i18n/pl.yaml | 2 +- internal/static/i18n/pt.yaml | 2 +- internal/static/i18n/zh.yaml | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/internal/api/ui/login/static/i18n/bg.yaml b/internal/api/ui/login/static/i18n/bg.yaml index 8e834db180..7aafdc7499 100644 --- a/internal/api/ui/login/static/i18n/bg.yaml +++ b/internal/api/ui/login/static/i18n/bg.yaml @@ -415,7 +415,7 @@ Errors: InvalidAndLocked: >- Паролата е невалидна и потребителят е заключен, свържете се с вашия администратор. - NotChanged: Паролата не е променена + NotChanged: Новата парола не може да съвпада с текущата парола UsernameOrPassword: Invalid: Потребителското име или паролата са невалидни PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/de.yaml b/internal/api/ui/login/static/i18n/de.yaml index 921026a1a9..e69c4ab90c 100644 --- a/internal/api/ui/login/static/i18n/de.yaml +++ b/internal/api/ui/login/static/i18n/de.yaml @@ -425,7 +425,7 @@ Errors: Empty: Passwort ist leer Invalid: Passwort ungültig InvalidAndLocked: Passwort ist ungültig und Benutzer wurde gesperrt, wende dich an einen Administrator. - NotChanged: Passwort nicht geändert + NotChanged: Das neue Passwort darf nicht mit deinem aktuellen Passwort übereinstimmen UsernameOrPassword: Invalid: Benutzername oder Passwort ist ungültig PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/en.yaml b/internal/api/ui/login/static/i18n/en.yaml index 456375d928..4c5dc2b0a4 100644 --- a/internal/api/ui/login/static/i18n/en.yaml +++ b/internal/api/ui/login/static/i18n/en.yaml @@ -426,7 +426,7 @@ Errors: Empty: Password is empty Invalid: Password is invalid InvalidAndLocked: Password is invalid and user is locked, contact your administrator. - NotChanged: Password not changed + NotChanged: New password cannot be the same as your current password UsernameOrPassword: Invalid: Username or Password is invalid PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/es.yaml b/internal/api/ui/login/static/i18n/es.yaml index 98847b67a8..0e9ea71e46 100644 --- a/internal/api/ui/login/static/i18n/es.yaml +++ b/internal/api/ui/login/static/i18n/es.yaml @@ -408,7 +408,7 @@ Errors: Empty: La contraseña está vacía Invalid: La contraseña no es válida InvalidAndLocked: La contraseña no es válida y el usuario está bloqueado, contacta con tu administrador. - NotChanged: Contraseña no modificada + NotChanged: La nueva contraseña no puede coincidir con la contraseña actual UsernameOrPassword: Invalid: El nombre de usuario o la contraseña no son válidos PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/fr.yaml b/internal/api/ui/login/static/i18n/fr.yaml index ebc87dfebe..bc3d02d4e7 100644 --- a/internal/api/ui/login/static/i18n/fr.yaml +++ b/internal/api/ui/login/static/i18n/fr.yaml @@ -426,7 +426,7 @@ Errors: Empty: Le mot de passe est vide Invalid: Le mot de passe n'est pas valide InvalidAndLocked: Le mot de passe n'est pas valide et l'utilisateur est verrouillé, contactez votre administrateur. - NotChanged: Mot de passe non modifié + NotChanged: Le nouveau mot de passe ne peut pas être le même que votre mot de passe actuel UsernameOrPassword: Invalid: Le nom d'utilisateur ou le mot de passe n'est pas valide PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/it.yaml b/internal/api/ui/login/static/i18n/it.yaml index 1fffcee7fc..3e668e5497 100644 --- a/internal/api/ui/login/static/i18n/it.yaml +++ b/internal/api/ui/login/static/i18n/it.yaml @@ -426,7 +426,7 @@ Errors: Empty: La password è vuota Invalid: La password non è valida InvalidAndLocked: La password non è valida e l'utente è bloccato, contatta il tuo amministratore. - NotChanged: Password non modificata + NotChanged: La nuova password non può essere uguale alla password attuale UsernameOrPassword: Invalid: Il nome utente o la password non sono validi PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/ja.yaml b/internal/api/ui/login/static/i18n/ja.yaml index fe58a191f2..91772bcd86 100644 --- a/internal/api/ui/login/static/i18n/ja.yaml +++ b/internal/api/ui/login/static/i18n/ja.yaml @@ -389,7 +389,7 @@ Errors: Empty: パスワードが空です Invalid: 無効なパスワードです InvalidAndLocked: パスワードが無効かつユーザーがロックされているため、管理者に連絡してください。 - NotChanged: パスワードは変更されていません + NotChanged: 新しいパスワードは現在のパスワードと同じにすることはできません UsernameOrPassword: Invalid: ユーザー名またはパスワードは無効です PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/mk.yaml b/internal/api/ui/login/static/i18n/mk.yaml index 6db9dea24a..74f9c8ddcb 100644 --- a/internal/api/ui/login/static/i18n/mk.yaml +++ b/internal/api/ui/login/static/i18n/mk.yaml @@ -426,7 +426,7 @@ Errors: Empty: Лозинката е празна Invalid: Лозинката не е валидна InvalidAndLocked: Лозинката не е валидна и корисникот е заклучен, контактирајте со вашиот администратор. - NotChanged: Лозинката не е променета + NotChanged: Новата лозинка не може да биде иста со вашата тековна лозинка UsernameOrPassword: Invalid: Корисничкото име и/или лозинката не се валидни PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/pl.yaml b/internal/api/ui/login/static/i18n/pl.yaml index 4cc7e222f6..747e64ae52 100644 --- a/internal/api/ui/login/static/i18n/pl.yaml +++ b/internal/api/ui/login/static/i18n/pl.yaml @@ -426,7 +426,7 @@ Errors: Empty: Hasło jest puste Invalid: Hasło jest niepoprawne InvalidAndLocked: Hasło jest niepoprawne i użytkownik jest zablokowany, skontaktuj się z administratorem. - NotChanged: Hasło nie zostało zmienione + NotChanged: Nowe hasło nie może być takie samo jak Twoje obecne hasło UsernameOrPassword: Invalid: Nazwa użytkownika lub hasło jest niepoprawne PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/pt.yaml b/internal/api/ui/login/static/i18n/pt.yaml index 9b50f7087c..40eb47e63f 100644 --- a/internal/api/ui/login/static/i18n/pt.yaml +++ b/internal/api/ui/login/static/i18n/pt.yaml @@ -420,7 +420,7 @@ Errors: Empty: A senha está vazia Invalid: A senha é inválida InvalidAndLocked: A senha é inválida e o usuário está bloqueado, entre em contato com o administrador. - NotChanged: Senha não alterada + NotChanged: A nova senha não pode ser igual à sua senha atual UsernameOrPassword: Invalid: Nome de usuário ou senha inválidos PasswordComplexityPolicy: diff --git a/internal/api/ui/login/static/i18n/zh.yaml b/internal/api/ui/login/static/i18n/zh.yaml index 1b02b36705..f251bd0c26 100644 --- a/internal/api/ui/login/static/i18n/zh.yaml +++ b/internal/api/ui/login/static/i18n/zh.yaml @@ -426,7 +426,7 @@ Errors: Empty: 密码为空 Invalid: 密码无效 InvalidAndLocked: 密码无效且用户被锁定,请联系您的管理员。 - NotChanged: 密码未更改 + NotChanged: 新密码不能与您当前的密码相同 UsernameOrPassword: Invalid: 用户名或密码无效 PasswordComplexityPolicy: diff --git a/internal/static/i18n/bg.yaml b/internal/static/i18n/bg.yaml index f0c1bf273c..4a8d2e762e 100644 --- a/internal/static/i18n/bg.yaml +++ b/internal/static/i18n/bg.yaml @@ -122,7 +122,7 @@ Errors: Empty: Паролата е празна Invalid: Паролата е невалидна NotSet: Потребителят не е задал парола - NotChanged: Паролата не е променена + NotChanged: Новата парола не може да съвпада с текущата парола NotSupported: Хеш кодирането на паролата не се поддържа PasswordComplexityPolicy: NotFound: Политиката за парола не е намерена diff --git a/internal/static/i18n/de.yaml b/internal/static/i18n/de.yaml index 0d7ce3539d..fe31dee4af 100644 --- a/internal/static/i18n/de.yaml +++ b/internal/static/i18n/de.yaml @@ -120,7 +120,7 @@ Errors: Empty: Passwort ist leer Invalid: Passwort ungültig NotSet: Benutzer hat kein Passwort gesetzt - NotChanged: Passwort nicht geändert + NotChanged: Das neue Passwort darf nicht mit deinem aktuellen Passwort übereinstimmen NotSupported: Passwort-Hash-Kodierung wird nicht unterstützt PasswordComplexityPolicy: NotFound: Passwort Policy konnte nicht gefunden werden diff --git a/internal/static/i18n/en.yaml b/internal/static/i18n/en.yaml index fcda9ec0b8..3c74e9046b 100644 --- a/internal/static/i18n/en.yaml +++ b/internal/static/i18n/en.yaml @@ -120,7 +120,7 @@ Errors: Empty: Password is empty Invalid: Password is invalid NotSet: User has not set a password - NotChanged: Password not changed + NotChanged: New password cannot be the same as your current password NotSupported: Password hash encoding not supported PasswordComplexityPolicy: NotFound: Password policy not found diff --git a/internal/static/i18n/es.yaml b/internal/static/i18n/es.yaml index f316baa2a0..4863276066 100644 --- a/internal/static/i18n/es.yaml +++ b/internal/static/i18n/es.yaml @@ -120,7 +120,7 @@ Errors: Empty: La contraseña está vacía Invalid: La contraseña no es válida NotSet: El usuario no ha establecido una contraseña - NotChanged: Contraseña no modificada + NotChanged: La nueva contraseña no puede coincidir con la contraseña actual NotSupported: No se admite la codificación hash de contraseña PasswordComplexityPolicy: NotFound: Política de contraseñas no encontrada diff --git a/internal/static/i18n/fr.yaml b/internal/static/i18n/fr.yaml index fce9e07bf3..e0259d0a9b 100644 --- a/internal/static/i18n/fr.yaml +++ b/internal/static/i18n/fr.yaml @@ -120,7 +120,7 @@ Errors: Empty: Le mot de passe est vide Invalid: Le mot de passe n'est pas valide NotSet: L'utilisateur n'a pas défini de mot de passe - NotChanged: Mot de passe non modifié + NotChanged: Le nouveau mot de passe ne peut pas être le même que votre mot de passe actuel NotSupported: Encodage de hachage de mot de passe non pris en charge PasswordComplexityPolicy: NotFound: Politique de mot de passe non trouvée diff --git a/internal/static/i18n/it.yaml b/internal/static/i18n/it.yaml index 3b0d8b2bd7..b175d2f354 100644 --- a/internal/static/i18n/it.yaml +++ b/internal/static/i18n/it.yaml @@ -120,7 +120,7 @@ Errors: Empty: La password è vuota Invalid: La password non è valida NotSet: L'utente non ha impostato una password - NotChanged: Password non modificata + NotChanged: La nuova password non può essere uguale alla password attuale NotSupported: Codifica hash password non supportata PasswordComplexityPolicy: NotFound: Impostazioni di complessità password non trovati diff --git a/internal/static/i18n/ja.yaml b/internal/static/i18n/ja.yaml index 974b18acd7..b5178ee50f 100644 --- a/internal/static/i18n/ja.yaml +++ b/internal/static/i18n/ja.yaml @@ -112,7 +112,7 @@ Errors: Empty: パスワードは空です Invalid: 無効なパスワードです NotSet: パスワードが未設置です - NotChanged: パスワードは変更されていません + NotChanged: 新しいパスワードは現在のパスワードと同じにすることはできません NotSupported: パスワードハッシュエンコードはサポートされていません PasswordComplexityPolicy: NotFound: パスワードポリシーが見つかりません diff --git a/internal/static/i18n/mk.yaml b/internal/static/i18n/mk.yaml index dd691345dc..e458b45d0d 100644 --- a/internal/static/i18n/mk.yaml +++ b/internal/static/i18n/mk.yaml @@ -120,7 +120,7 @@ Errors: Empty: Лозинката е празна Invalid: Невалидна лозинка NotSet: Корисникот нема поставено лозинка - NotChanged: Лозинката не е променета + NotChanged: Новата лозинка не може да биде иста со вашата тековна лозинка NotSupported: Не е поддржано хаш-кодирањето на лозинката PasswordComplexityPolicy: NotFound: Политиката за комплексност на лозинката не е пронајдена diff --git a/internal/static/i18n/pl.yaml b/internal/static/i18n/pl.yaml index 98bd773e7d..a3f283cfe1 100644 --- a/internal/static/i18n/pl.yaml +++ b/internal/static/i18n/pl.yaml @@ -120,7 +120,7 @@ Errors: Empty: Hasło jest puste Invalid: Hasło jest nieprawidłowe NotSet: Użytkownik nie ustawił hasła - NotChanged: Hasło nie zostało zmienione + NotChanged: Nowe hasło nie może być takie samo jak Twoje obecne hasło NotSupported: Kodowanie skrótu hasła nie jest obsługiwane PasswordComplexityPolicy: NotFound: Polityka hasła nie znaleziona diff --git a/internal/static/i18n/pt.yaml b/internal/static/i18n/pt.yaml index 95f64e43b1..753ec1a796 100644 --- a/internal/static/i18n/pt.yaml +++ b/internal/static/i18n/pt.yaml @@ -120,7 +120,7 @@ Errors: Empty: Senha está vazia Invalid: Senha é inválida NotSet: O usuário não definiu uma senha - NotChanged: Senha não alterada + NotChanged: A nova senha não pode ser igual à sua senha atual PasswordComplexityPolicy: NotFound: Política de complexidade de senha não encontrada MinLength: A senha é muito curta diff --git a/internal/static/i18n/zh.yaml b/internal/static/i18n/zh.yaml index 6014382241..bf7d1475b6 100644 --- a/internal/static/i18n/zh.yaml +++ b/internal/static/i18n/zh.yaml @@ -120,7 +120,7 @@ Errors: Empty: 密码为空 Invalid: 密码无效 NotSet: 用户未设置密码 - NotChanged: 密码未更改 + NotChanged: 新密码不能与您当前的密码相同 NotSupported: 不支持密码哈希编码 PasswordComplexityPolicy: NotFound: 未找到密码策略