fix change password criteria

This commit is contained in:
2026-03-18 17:19:37 +01:00
parent a07246130e
commit b291b12865
4 changed files with 6 additions and 2 deletions

View File

@@ -129,6 +129,7 @@ class _PasswordCriteriaList extends StatelessWidget {
met: _specialRegex.hasMatch(password), met: _specialRegex.hasMatch(password),
hasInput: hasInput, hasInput: hasInput,
), ),
Text(context.translate((I18n.passwordRepeated)))
], ],
); );
} }

View File

@@ -544,5 +544,6 @@
"deviceSetup_heightHint": "120", "deviceSetup_heightHint": "120",
"activationKeyLabel": "Activation key", "activationKeyLabel": "Activation key",
"rewardsMessage": "Send rewards", "rewardsMessage": "Send rewards",
"sendRewards": "Send rewards!" "sendRewards": "Send rewards!",
"passwordRepeated": "The new password can't have been used before"
} }

View File

@@ -542,5 +542,6 @@
"deviceSetup_heightHint": "120", "deviceSetup_heightHint": "120",
"activationKeyLabel": "Clave de activación", "activationKeyLabel": "Clave de activación",
"rewardsMessage": "Envía una recompensa", "rewardsMessage": "Envía una recompensa",
"sendRewards": "¡Enviar recompensas!" "sendRewards": "¡Enviar recompensas!",
"passwordRepeated": "La nueva contraseña no puede haber sido usada antes."
} }

View File

@@ -663,4 +663,5 @@ class I18n {
static const String activationKeyLabel = 'activationKeyLabel'; static const String activationKeyLabel = 'activationKeyLabel';
static const String rewardsMessage = 'rewardsMessage'; static const String rewardsMessage = 'rewardsMessage';
static const String sendRewards = 'sendRewards'; static const String sendRewards = 'sendRewards';
static const String passwordRepeated = 'passwordRepeated';
} }