fix translation bug (#68938)

This commit is contained in:
Corentin Sechet 2022-09-12 12:25:40 +02:00
parent 09f6796c25
commit 2be6ad6859
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ def get_password_strength(password):
hint = _('add more words or characters.')
strength = 0
if min_length and len(password) < min_length:
hint = _('use at least %s characters.' % min_length)
hint = _('use at least %s characters.') % min_length
elif password:
report = zxcvbn(password)
strength = report['score']