Skip to content

Commit

Permalink
fix: senseless plural
Browse files Browse the repository at this point in the history
  • Loading branch information
cfm committed Nov 2, 2023
1 parent ff0ee8e commit 2805907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion securedrop/source_app/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion securedrop/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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] ""
Expand Down

0 comments on commit 2805907

Please sign in to comment.