Skip to content

Commit

Permalink
refactor(unverified): paragraph
Browse files Browse the repository at this point in the history
use agency.short_name from context
  • Loading branch information
thekaveman committed Jul 13, 2023
1 parent 404764c commit c761a46
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
5 changes: 4 additions & 1 deletion benefits/eligibility/templates/eligibility/unverified.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@

<div class="row justify-content-center">
<div class="col-lg-8 pt-4">
<p>{% translate "eligibility.pages.unverified.p[0]" %}</p>
<p>
{% translate "eligibility.pages.unverified.p[0]s[0]" %}
{% blocktranslate with short_name=agency.short_name %}eligibility.pages.unverified.p[0]s[1]{{ short_name }}{% endblocktranslate %}
</p>
</div>
</div>

Expand Down
12 changes: 7 additions & 5 deletions benefits/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
"POT-Creation-Date: 2023-07-13 19:33+0000\n"
"POT-Creation-Date: 2023-07-13 21:02+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -525,10 +525,12 @@ msgstr "Eligibility Error"
msgid "eligibility.pages.unverified.headline"
msgstr "Your eligibility could not be verified."

msgid "eligibility.pages.unverified.p[0]"
msgstr ""
"That’s okay! You may still be eligible for our program. Please reach out to "
"your local transit provider for assistance."
msgid "eligibility.pages.unverified.p[0]s[0]"
msgstr "That’s okay! You may still be eligible for our program."

#, python-format
msgid "eligibility.pages.unverified.p[0]s[1]%(short_name)s"
msgstr "Please reach out to %(short_name)s for assistance."

msgctxt "image alt text"
msgid "core.icons.idcardquestion"
Expand Down
12 changes: 7 additions & 5 deletions benefits/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
"POT-Creation-Date: 2023-07-13 19:33+0000\n"
"POT-Creation-Date: 2023-07-13 21:02+0000\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -535,10 +535,12 @@ msgstr "Error de elegibilidad"
msgid "eligibility.pages.unverified.headline"
msgstr "No se pudo verificar su elegibilidad."

msgid "eligibility.pages.unverified.p[0]"
msgstr ""
"¡Esta bien! Aún puede ser elegible para nuestro programa. Comuníquese con su "
"proveedor de tránsito local para obtener asistencia."
msgid "eligibility.pages.unverified.p[0]s[0]"
msgstr "TODO: ¡Esta bien! Aún puede ser elegible para nuestro programa."

#, python-format
msgid "eligibility.pages.unverified.p[0]s[1]%(short_name)s"
msgstr "TODO: Comuníquese con %(short_name)s para obtener asistencia."

msgctxt "image alt text"
msgid "core.icons.idcardquestion"
Expand Down

0 comments on commit c761a46

Please sign in to comment.