-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IR failure template and handle failure (#324)
Co-authored-by: Andrew Maddaford <[email protected]>
- Loading branch information
1 parent
36719da
commit 410cf2c
Showing
6 changed files
with
150 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2020-10-02 09:53+0100\n" | ||
"POT-Creation-Date: 2020-10-02 10:40+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -335,136 +335,136 @@ msgstr "" | |
msgid "Error: {page_title}" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:93 | ||
#: app/views/handlers/individual_response.py:98 | ||
msgid "Person {list_item_position}" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:190 | ||
#: app/views/handlers/individual_response.py:198 | ||
msgid "Cannot answer questions for others in your household" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:238 | ||
#: app/views/handlers/individual_response.py:246 | ||
msgid "How would you like <em>{person_name}</em> to receive a separate census?" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:244 | ||
#: app/views/handlers/individual_response.py:252 | ||
msgid "" | ||
"For someone to complete a separate census, we need to send them an " | ||
"individual access code." | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:247 | ||
#: app/views/handlers/individual_response.py:255 | ||
msgid "Select how to send access code" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:257 | ||
#: app/views/handlers/individual_response.py:265 | ||
msgid "Text message" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:259 | ||
#: app/views/handlers/individual_response.py:267 | ||
msgid "We will need their mobile number for this" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:264 | ||
#: app/views/handlers/individual_response.py:272 | ||
msgid "Post" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:266 | ||
#: app/views/handlers/individual_response.py:274 | ||
msgid "" | ||
"We can only send this to an unnamed resident at the registered household " | ||
"address" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:335 | ||
#: app/views/handlers/individual_response.py:343 | ||
msgid "Send individual access code" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:364 | ||
#: app/views/handlers/individual_response.py:372 | ||
msgid "How would you like to answer <em>{person_name_possessive}</em> questions?" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:377 | ||
#: app/views/handlers/individual_response.py:385 | ||
msgid "I would like to request a separate census for them to complete" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:383 | ||
#: app/views/handlers/individual_response.py:391 | ||
msgid "I will ask them to answer their own questions" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:387 | ||
#: app/views/handlers/individual_response.py:395 | ||
msgid "They will need the household access code from the letter we sent you" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:393 | ||
#: app/views/handlers/individual_response.py:401 | ||
msgid "I will answer for {person_name}" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:505 | ||
#: app/views/handlers/individual_response.py:513 | ||
msgid "Do you want to send an individual access code for {person_name} by post?" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:511 | ||
#: app/views/handlers/individual_response.py:519 | ||
msgid "" | ||
"A letter with an individual access code will be sent to your registered " | ||
"household address" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:518 | ||
#: app/views/handlers/individual_response.py:526 | ||
msgid "" | ||
"The letter will be addressed to <strong>Individual Resident</strong> " | ||
"instead of the name provided" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:531 | ||
#: app/views/handlers/individual_response.py:539 | ||
msgid "Yes, send the access code by post" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:535 | ||
#: app/views/handlers/individual_response.py:543 | ||
msgid "No, send it another way" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:587 | ||
#: app/views/handlers/individual_response.py:595 | ||
msgid "Confirm address" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:649 | ||
#: app/views/handlers/individual_response.py:682 | ||
#: app/views/handlers/individual_response.py:658 | ||
#: app/views/handlers/individual_response.py:691 | ||
msgid "Separate Census" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:653 | ||
#: app/views/handlers/individual_response.py:662 | ||
msgid "Who do you need to request a separate census for?" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:704 | ||
#: app/views/handlers/individual_response.py:713 | ||
msgid "What is <em>{person_name_possessive}</em> mobile number?" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:714 | ||
#: app/views/handlers/individual_response.py:723 | ||
msgid "UK mobile number" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:715 | ||
#: app/views/handlers/individual_response.py:724 | ||
msgid "This will not be stored and only used once to send the access code" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:767 | ||
#: app/views/handlers/individual_response.py:776 | ||
msgid "Mobile number" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:813 | ||
#: app/views/handlers/individual_response.py:822 | ||
msgid "Is this mobile number correct?" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:822 | ||
#: app/views/handlers/individual_response.py:831 | ||
msgid "Yes, send the text" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:826 | ||
#: app/views/handlers/individual_response.py:835 | ||
msgid "No, I need to change it" | ||
msgstr "" | ||
|
||
#: app/views/handlers/individual_response.py:860 | ||
#: app/views/handlers/individual_response.py:869 | ||
msgid "Confirm mobile number" | ||
msgstr "" | ||
|
||
|
@@ -730,12 +730,21 @@ msgstr "" | |
msgid "If you have started a survey, your answers have been saved." | ||
msgstr "" | ||
|
||
#: templates/errors/500.html:9 | ||
#: templates/errors/500.html:9 templates/errors/fulfilment-request.html:9 | ||
msgid "" | ||
"<a href='{url}'>Contact us</a> if you need to speak to someone about your" | ||
" survey." | ||
msgstr "" | ||
|
||
#: templates/errors/fulfilment-request.html:3 | ||
#: templates/errors/fulfilment-request.html:6 | ||
msgid "Sorry, there was a problem sending the access code" | ||
msgstr "" | ||
|
||
#: templates/errors/fulfilment-request.html:8 | ||
msgid "If this problem keeps happening, please contact us for help." | ||
msgstr "" | ||
|
||
#: templates/errors/no-cookie.html:3 | ||
msgid "Page is not available" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% extends 'layouts/_base.html' %} | ||
|
||
{% set page_title = _("Sorry, there was a problem sending the access code") %} | ||
|
||
{% block main %} | ||
<h1>{{ _("Sorry, there was a problem sending the access code") }}</h1> | ||
<p data-qa="retry">{{ _("You can try to <a href='{retry_url}'>request a new access code again</a>.".format(retry_url = retry_url)) }}</p> | ||
<p>{{ _("If this problem keeps happening, please contact us for help.") }}</p> | ||
<p>{{ _("<a href='{url}'>Contact us</a> if you need to speak to someone about your survey.").format(url = contact_us_url) }}</p> | ||
{% endblock %} |
Oops, something went wrong.