From 5a70587fe87a6d426f23207c819591c193ee3572 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 5 Feb 2019 14:59:21 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Refine=20wording=20of=20=E2=80=98already=20?= =?UTF-8?q?sent=E2=80=99=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/partials/check/sent-previously.html | 4 ++-- tests/app/main/views/test_send.py | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/templates/partials/check/sent-previously.html b/app/templates/partials/check/sent-previously.html index 8cd8d50a3..14edbf5de 100644 --- a/app/templates/partials/check/sent-previously.html +++ b/app/templates/partials/check/sent-previously.html @@ -1,6 +1,6 @@

- You already sent these messages + You’ve already sent these messages today

- If you want to send the same messages again, rename the file and re-upload it + If you need to resend them, rename the file and upload it again.

diff --git a/tests/app/main/views/test_send.py b/tests/app/main/views/test_send.py index fa5d1d55a..da4b36cb6 100644 --- a/tests/app/main/views/test_send.py +++ b/tests/app/main/views/test_send.py @@ -2697,9 +2697,7 @@ def test_warns_if_file_sent_already( assert normalize_spaces( page.select_one('.banner-dangerous').text ) == ( - 'You already sent these messages ' - 'If you want to send the same messages again, rename the file ' - 'and re-upload it ' + 'If you need to resend them, rename the file and upload it again. ' 'Skip to file contents' ) From d9e3a90123c3cdfa7bac1988015e613d238c3615 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 5 Feb 2019 15:07:19 +0000 Subject: [PATCH 2/2] =?UTF-8?q?Remove=20=E2=80=98You=E2=80=99ve=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It could be someone else who’s uploaded them. --- app/templates/partials/check/sent-previously.html | 2 +- tests/app/main/views/test_send.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/templates/partials/check/sent-previously.html b/app/templates/partials/check/sent-previously.html index 14edbf5de..136e3f3e2 100644 --- a/app/templates/partials/check/sent-previously.html +++ b/app/templates/partials/check/sent-previously.html @@ -1,5 +1,5 @@

- You’ve already sent these messages today + These messages have already been sent today

If you need to resend them, rename the file and upload it again. diff --git a/tests/app/main/views/test_send.py b/tests/app/main/views/test_send.py index da4b36cb6..a6dbc063f 100644 --- a/tests/app/main/views/test_send.py +++ b/tests/app/main/views/test_send.py @@ -2697,6 +2697,7 @@ def test_warns_if_file_sent_already( assert normalize_spaces( page.select_one('.banner-dangerous').text ) == ( + 'These messages have already been sent today ' 'If you need to resend them, rename the file and upload it again. ' 'Skip to file contents' )