From 6503e205529d3753a6225f3e4eb4ab52d6c470d3 Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Wed, 19 Jul 2023 20:34:12 +0000 Subject: [PATCH] fix(modal-contactless): add the contact info line --- .../includes/modal--contactless.html | 6 +++++- benefits/locale/en/LC_MESSAGES/django.po | 21 ++++++++++++++----- benefits/locale/es/LC_MESSAGES/django.po | 19 ++++++++++++----- 3 files changed, 35 insertions(+), 11 deletions(-) diff --git a/benefits/eligibility/templates/eligibility/includes/modal--contactless.html b/benefits/eligibility/templates/eligibility/includes/modal--contactless.html index eaf518b14..a111e9a6e 100644 --- a/benefits/eligibility/templates/eligibility/includes/modal--contactless.html +++ b/benefits/eligibility/templates/eligibility/includes/modal--contactless.html @@ -15,6 +15,10 @@

{% translate "eligibility.pages.start.modal.title" %} alt="{% translate "core.icons.contactless" context "image alt text" %}" />

{% translate "eligibility.pages.start.modal.p[3]" %}

-

{% translate "eligibility.pages.start.modal.p[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 %} +

{% endblock modal-content %} diff --git a/benefits/locale/en/LC_MESSAGES/django.po b/benefits/locale/en/LC_MESSAGES/django.po index 6cae9a387..498e36522 100644 --- a/benefits/locale/en/LC_MESSAGES/django.po +++ b/benefits/locale/en/LC_MESSAGES/django.po @@ -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" @@ -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]." +"" + +#, python-format +msgid "eligibility.pages.start.modal.p[4.3]%(agency_short_name)s" +msgstr "%(agency_short_name)s." msgid "eligibility.pages.index.senior.help.headline" msgstr "Learn more about" diff --git a/benefits/locale/es/LC_MESSAGES/django.po b/benefits/locale/es/LC_MESSAGES/django.po index 95c4fc334..404062d8c 100644 --- a/benefits/locale/es/LC_MESSAGES/django.po +++ b/benefits/locale/es/LC_MESSAGES/django.po @@ -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" @@ -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." + +#, 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]." +"" + +#, python-format +msgid "eligibility.pages.start.modal.p[4.3]%(agency_short_name)s" +msgstr "%(agency_short_name)s." msgid "eligibility.pages.index.senior.help.headline" msgstr "TODO: Learn more about"