diff --git a/securedrop/journalist_app/main.py b/securedrop/journalist_app/main.py index 1075d637a8..60151f400a 100644 --- a/securedrop/journalist_app/main.py +++ b/securedrop/journalist_app/main.py @@ -163,7 +163,8 @@ def reply() -> werkzeug.Response: "{} {}".format( # Translators: Precedes a message confirming the success of an operation. escape(gettext("Success!")), - escape(gettext("Your reply has been stored.")) + escape(gettext("The source will receive your reply " + "next time they log in.")) ) ), 'success') finally: diff --git a/securedrop/tests/functional/journalist_navigation_steps.py b/securedrop/tests/functional/journalist_navigation_steps.py index 36fc9645aa..9f251481b1 100644 --- a/securedrop/tests/functional/journalist_navigation_steps.py +++ b/securedrop/tests/functional/journalist_navigation_steps.py @@ -857,7 +857,7 @@ def _journalist_sends_reply_to_source(self): def reply_stored(): if not self.accept_languages: - assert "Your reply has been stored." in self.driver.page_source + assert "The source will receive your reply" in self.driver.page_source self.wait_for(reply_stored) diff --git a/securedrop/tests/test_integration.py b/securedrop/tests/test_integration.py index 2bd90fa932..a67ca2a36c 100644 --- a/securedrop/tests/test_integration.py +++ b/securedrop/tests/test_integration.py @@ -284,7 +284,7 @@ def _helper_test_reply(journalist_app, source_app, config, test_journo, pass else: text = resp.data.decode('utf-8') - assert "Your reply has been stored." in text + assert "The source will receive your reply" in text resp = app.get(col_url) text = resp.data.decode('utf-8')