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/source_templates/tor2web-warning.html b/securedrop/source_templates/tor2web-warning.html index 0ab1aeac1b..c50f3e6c5c 100644 --- a/securedrop/source_templates/tor2web-warning.html +++ b/securedrop/source_templates/tor2web-warning.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block tab_title %}{{ gettext('WARNING: Proxy Service Detected') }}{% endblock %} +{% block tab_title %}{{ gettext('Warning: Proxy Detected') }}{% endblock %} {% block body %}

{{ gettext('Proxy Service Detected') }}

diff --git a/securedrop/translations/messages.pot b/securedrop/translations/messages.pot index 7b6a0bdf17..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] "" @@ -986,7 +986,7 @@ msgstr "" msgid "Sorry, we couldn't locate what you requested." msgstr "" -msgid "WARNING: Proxy Service Detected" +msgid "Warning: Proxy Detected" msgstr "" msgid "Proxy Service Detected"