From 28059071b0a44bf64a37b754cf9d9ded782070a3 Mon Sep 17 00:00:00 2001 From: Cory Francis Myers Date: Wed, 1 Nov 2023 17:24:17 -0700 Subject: [PATCH] fix: senseless plural Per @kwadronaut in . --- securedrop/source_app/forms.py | 2 +- securedrop/translations/messages.pot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/securedrop/source_app/forms.py b/securedrop/source_app/forms.py index 48689c5222..1de4f9bf0e 100644 --- a/securedrop/source_app/forms.py +++ b/securedrop/source_app/forms.py @@ -19,7 +19,7 @@ class LoginForm(FlaskForm): 1, PassphraseGenerator.MAX_PASSPHRASE_LENGTH, message=ngettext( - "Field must be between 1 and {max_codename_len} character long.", + "Field must be 1 character long.", "Field must be between 1 and {max_codename_len} characters long.", PassphraseGenerator.MAX_PASSPHRASE_LENGTH, ).format(max_codename_len=PassphraseGenerator.MAX_PASSPHRASE_LENGTH), diff --git a/securedrop/translations/messages.pot b/securedrop/translations/messages.pot index d5002e422c..5f59105958 100644 --- a/securedrop/translations/messages.pot +++ b/securedrop/translations/messages.pot @@ -729,7 +729,7 @@ msgstr "" msgid "LOG IN" msgstr "" -msgid "Field must be between 1 and {max_codename_len} character long." +msgid "Field must be 1 character long." msgid_plural "Field must be between 1 and {max_codename_len} characters long." msgstr[0] "" msgstr[1] ""