Skip to content

Commit

Permalink
refactor(copy): use values from TransitAgency model
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Jul 25, 2023
1 parent e9849f5 commit 3f3e9e1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion benefits/core/templates/core/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h2 class="pt-8" id="payment-options">{% translate "core.pages.help.payment_opti
<p class="pt-4">{% translate "eligibility.pages.start.modal.p[3]" %}</p>
{% if agency %}
<p class="pt-4">
{% blocktranslate with website=agency.info_url %}eligibility.pages.start.modal.p[4]{{ website }}{% endblocktranslate %}
{% blocktranslate with short_name=agency.short_name website=agency.info_url %}eligibility.pages.start.modal.p[4]{{ short_name }}{{ website }}{% endblocktranslate %}
</p>
{% endif %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2 id="contactless-modal">{% translate "eligibility.pages.start.modal.title" %}
<p class="pt-4">{% translate "eligibility.pages.start.modal.p[2]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.modal.p[3]" %}</p>
<p class="pt-4 pb-2">
{% blocktranslate with website=agency.info_url %}eligibility.pages.start.modal.p[4]{{ website }}{% endblocktranslate %}
{% blocktranslate with short_name=agency.short_name website=agency.info_url %}eligibility.pages.start.modal.p[4]{{ short_name }}{{ website }}{% endblocktranslate %}
</p>
<p class="pt-4 d-block d-sm-none">
<a href="#" data-bs-dismiss="modal" aria-label="Close">{% translate "core.modals.back" %}</a>
Expand Down
12 changes: 6 additions & 6 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-24 21:41+0000\n"
"POT-Creation-Date: 2023-07-25 17:28+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -106,12 +106,12 @@ msgstr ""
"debit card."

#, python-format
msgid "eligibility.pages.start.modal.p[4]%(website)s"
msgid "eligibility.pages.start.modal.p[4]%(short_name)s%(website)s"
msgstr ""
"You can still get your transit benefit by going through your [short name]'s "
"application process. For updates on additional options, please check back on "
"this website, or <a href=\"%(website)s\" target=\"_blank\" rel=\"noopener "
"noreferrer\">contact [short name].</a>"
"You can still get your transit benefit by going through your "
"%(short_name)s's application process. For updates on additional options, "
"please check back on this website, or <a href=\"%(website)s\" target=\"_blank"
"\" rel=\"noopener noreferrer\">contact %(short_name)s.</a>"

msgid "core.pages.help.login_gov"
msgstr "What is Login.gov?"
Expand Down
12 changes: 6 additions & 6 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-24 21:41+0000\n"
"POT-Creation-Date: 2023-07-25 17:28+0000\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -109,12 +109,12 @@ msgstr ""
"Mastercard debit card."

#, python-format
msgid "eligibility.pages.start.modal.p[4]%(website)s"
msgid "eligibility.pages.start.modal.p[4]%(short_name)s%(website)s"
msgstr ""
"TODO: You can still get your transit benefit by going through your [short "
"name]'s application process. For updates on additional options, please check "
"back on this website, or <a href=\"%(website)s\" target=\"_blank\" rel="
"\"noopener noreferrer\">contact [short name].</a>"
"TODO: You can still get your transit benefit by going through your "
"%(short_name)s's application process. For updates on additional options, "
"please check back on this website, or <a href=\"%(website)s\" target=\"_blank"
"\" rel=\"noopener noreferrer\">contact %(short_name)s.</a>"

msgid "core.pages.help.login_gov"
msgstr "¿Qué es Login.gov?"
Expand Down

0 comments on commit 3f3e9e1

Please sign in to comment.