Merge pull request #2732 from alphagov/resend-wording

Refine wording of ‘already sent’ error
This commit is contained in:
Chris Hill-Scott
2019-02-05 15:19:24 +00:00
committed by GitHub
2 changed files with 4 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<h1 class='banner-title' data-module="track-error" data-error-type="File previously sent" data-error-label="{{ upload_id }}">
You already sent these messages
These messages have already been sent today
</h1>
<p>
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.
</p>

View File

@@ -2697,9 +2697,8 @@ 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 '
'These messages have already been sent today '
'If you need to resend them, rename the file and upload it again. '
'Skip to file contents'
)