diff --git a/securedrop/journalist_app/admin.py b/securedrop/journalist_app/admin.py index c6b0024b38..fb2ab8fbb4 100644 --- a/securedrop/journalist_app/admin.py +++ b/securedrop/journalist_app/admin.py @@ -53,7 +53,10 @@ def manage_config() -> Union[str, werkzeug.Response]: flash(gettext("Image updated."), "logo-success") except Exception: # Translators: This error is shown when an uploaded image cannot be used. - flash(gettext("Unable to process the image file. Try another one."), "logo-error") + flash( + gettext("Unable to process the image file. Please try another one."), + "logo-error" + ) finally: return redirect(url_for("admin.manage_config") + "#config-logoimage") else: diff --git a/securedrop/tests/test_journalist.py b/securedrop/tests/test_journalist.py index 70b49d79c9..69c90a425d 100644 --- a/securedrop/tests/test_journalist.py +++ b/securedrop/tests/test_journalist.py @@ -2025,7 +2025,7 @@ def test_logo_upload_save_fails(config, journalist_app, test_admin, locale): ) assert page_language(resp.data) == language_tag(locale) - msgids = ["Unable to process the image file. Try another one."] + msgids = ["Unable to process the image file. Please try another one."] with xfail_untranslated_messages(config, locale, msgids): ins.assert_message_flashed(gettext(msgids[0]), "logo-error") finally: