Skip to content

Commit

Permalink
fix(modal-contactless): add the contact info line
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Jul 19, 2023
1 parent 72bbe44 commit 6503e20
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ <h2 id="contactless-modal">{% translate "eligibility.pages.start.modal.title" %}
alt="{% translate "core.icons.contactless" context "image alt text" %}" />
</p>
<p class="pt-4">{% translate "eligibility.pages.start.modal.p[3]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.modal.p[4]" %}</p>
<p class="pt-4">
{% blocktranslate with agency_short_name=agency.short_name %}eligibility.pages.start.modal.p[4.1]{{agency_short_name}}{% endblocktranslate %}
{% blocktranslate with agency_info_url=agency.info_url %}eligibility.pages.start.modal.p[4.2]{{agency_info_url}}{% endblocktranslate %}
{% blocktranslate with agency_short_name=agency.short_name %}eligibility.pages.start.modal.p[4.3]{{agency_short_name}}{% endblocktranslate %}
</p>
</div>
{% endblock modal-content %}
21 changes: 16 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-18 19:25+0000\n"
"POT-Creation-Date: 2023-07-19 19:11+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -397,11 +397,22 @@ msgstr ""
"debit cards, such as the Cash App Visa debit card or the Venmo Mastercard "
"debit card."

msgid "eligibility.pages.start.modal.p[4]"
#, python-format
msgid "eligibility.pages.start.modal.p[4.1]%(agency_short_name)s"
msgstr ""
"You can still get your transit benefit by going through your "
"%(agency_short_name)s application process. For updates on additional "
"options, please check back on this website, or contact "

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

#, python-format
msgid "eligibility.pages.start.modal.p[4.3]%(agency_short_name)s"
msgstr "%(agency_short_name)s</a>."

msgid "eligibility.pages.index.senior.help.headline"
msgstr "Learn more about"
Expand Down
19 changes: 14 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-18 19:25+0000\n"
"POT-Creation-Date: 2023-07-19 20:22+0000\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -408,11 +408,20 @@ msgstr ""
"prepaid debit cards, such as the Cash App Visa debit card or the Venmo "
"Mastercard debit card."

msgid "eligibility.pages.start.modal.p[4]"
#, fuzzy, python-format
#| msgid "eligibility.pages.start.modal.p[4.3]%(agency_short_name)s"
msgid "eligibility.pages.start.modal.p[4.1]%(agency_short_name)s"
msgstr "%(agency_short_name)s</a>."

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

#, python-format
msgid "eligibility.pages.start.modal.p[4.3]%(agency_short_name)s"
msgstr "%(agency_short_name)s</a>."

msgid "eligibility.pages.index.senior.help.headline"
msgstr "TODO: Learn more about"
Expand Down

0 comments on commit 6503e20

Please sign in to comment.