Skip to content

Commit

Permalink
Chore: Help page - contactless cards section (#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran authored Jul 25, 2023
2 parents 67ee1a5 + 3f3e9e1 commit 669e86b
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 143 deletions.
19 changes: 9 additions & 10 deletions benefits/core/templates/core/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,22 @@ <h2 class="pt-8" id="what-is-cal-itp">{% translate "core.pages.help.about" %}</h
<p class="pt-4">{% translate "core.pages.help.about.p[1]" %}</p>

<h2 class="pt-8" id="payment-options">{% translate "core.pages.help.payment_options" %}</h2>
<p class="pt-4">{% translate "core.pages.help.payment_options.p[0]" %}</p>

<p class="pt-4">{% translate "eligibility.pages.start.modal.p[0]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.modal.p[1]" %}</p>
<p class="contactless-symbol pt-3">
<img class="icon mx-auto d-block"
width="40"
height="50"
src="{% static 'img/icon/contactless.svg' %}"
alt="{% translate "core.icons.contactless" context "image alt text" %}" />
</p>

<p class="pt-4">{% translate "core.pages.help.payment_options.p[1]" %}</p>
<p class="pt-4">
{% blocktranslate with website="https://cash.app/help/us/en-us/14425-cal-transit" %}core.pages.help.payment_options.p[2][0]{{ website }}{% endblocktranslate %}
{% blocktranslate with website="https://venmo.com/about/debitcard/" %}core.pages.help.payment_options.p[2][1]{{ website }}{% endblocktranslate %}
</p>
<p class="pt-4">{% translate "core.pages.help.payment_options.p[3]" %}</p>
<p class="pt-4">{% translate "core.pages.help.payment_options.p[4]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.modal.p[2]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.modal.p[3]" %}</p>
{% if agency %}
<p class="pt-4">
{% blocktranslate with short_name=agency.short_name website=agency.info_url %}eligibility.pages.start.modal.p[4]{{ short_name }}{{ website }}{% endblocktranslate %}
</p>
{% endif %}

<h2 class="pt-8" id="login-gov">{% translate "core.pages.help.login_gov" %}</h2>
<p class="pt-4">{% translate "core.pages.help.login_gov.p[0]" %}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +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 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 %}
{% 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
86 changes: 21 additions & 65 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-21 16:47+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 @@ -80,46 +80,38 @@ msgstr ""
"benefit to the rider's contactless card of choice."

msgid "core.pages.help.payment_options"
msgstr "Payment options"
msgstr "What kind of credit card can I use?"

msgid "core.pages.help.payment_options.p[0]"
msgid "eligibility.pages.start.modal.p[0]"
msgstr ""
"In order to activate your discount, you need a bank card that has the "
"contactless symbol on it. The contactless symbol is four curved lines that "
"looks like this:"
"Benefits only works with contactless debit or credit cards. We do not "
"currently support mobile wallets or digital cards, such as Apple Pay, Google "
"Wallet, or Samsung Wallet."

msgid "eligibility.pages.start.modal.p[1]"
msgstr "The contactless symbol is four curved lines, like this:"

msgctxt "image alt text"
msgid "core.icons.contactless"
msgstr "Four curved lines on contactless-enabled cards"

msgid "core.pages.help.payment_options.p[1]"
msgstr ""
"A contactless bank card can be a credit card or a debit card and must "
"include a Visa or Mastercard logo."
msgid "eligibility.pages.start.modal.p[2]"
msgstr "Your card must include a Visa or Mastercard logo."

#, python-format
msgid "core.pages.help.payment_options.p[2][0]%(website)s"
msgid "eligibility.pages.start.modal.p[3]"
msgstr ""
"Don’t have access to a bank card? You can request a contactless card from "
"one of the companies that offer free contactless prepaid debit cards, such "
"as the <a href=\"%(website)s\" target=\"_blank\" rel=\"noopener noreferrer"
"\">Cash App Visa Debit Card</a> "
"Don’t have access to a contactless card? You can request a contactless card "
"from your bank, or one of the companies that offer free contactless prepaid "
"debit cards, such as the Cash App Visa debit card or the Venmo Mastercard "
"debit card."

#, python-format
msgid "core.pages.help.payment_options.p[2][1]%(website)s"
msgstr ""
"or the <a href=\"%(website)s\" target=\"_blank\" rel=\"noopener noreferrer"
"\">Venmo Mastercard Debit Card</a>."

msgid "core.pages.help.payment_options.p[3]"
msgstr ""
"You can still get your discount by going through your local transit "
"provider’s application process."

msgid "core.pages.help.payment_options.p[4]"
msgid "eligibility.pages.start.modal.p[4]%(short_name)s%(website)s"
msgstr ""
"For updates on additional options, please check back on this website, or get "
"in touch with your local transit provider."
"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 Expand Up @@ -381,42 +373,6 @@ msgctxt "image alt text"
msgid "core.icons.idcardcheck"
msgstr "Identification card icon with checkmark"

msgid "eligibility.pages.start.modal.p[0]"
msgstr ""
"Benefits only works with contactless debit or credit cards. We do not "
"currently support mobile wallets or digital cards, such as Apple Pay, Google "
"Wallet, or Samsung Wallet."

msgid "eligibility.pages.start.modal.p[1]"
msgstr "The contactless symbol is four curved lines, like this:"

msgid "eligibility.pages.start.modal.p[2]"
msgstr "Your card must include a Visa or Mastercard logo."

msgid "eligibility.pages.start.modal.p[3]"
msgstr ""
"Don’t have access to a contactless card? You can request a contactless card "
"from your bank, or one of the companies that offer free contactless prepaid "
"debit cards, such as the Cash App Visa debit card or the Venmo Mastercard "
"debit card."

#, 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 ""
"<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 "core.modals.back"
msgstr "Go back"

Expand Down
86 changes: 21 additions & 65 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-21 16:47+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 @@ -83,46 +83,38 @@ msgstr ""
"benefit to the rider's contactless card of choice."

msgid "core.pages.help.payment_options"
msgstr "Opciones de pago"
msgstr "TODO: What kind of credit card can I use?"

msgid "core.pages.help.payment_options.p[0]"
msgid "eligibility.pages.start.modal.p[0]"
msgstr ""
"Para activar su descuento, necesita una tarjeta bancaria que tenga el "
"símbolo de sin contacto. El símbolo sin contacto son cuatro líneas curvas "
"que se ven así:"
"TODO: Benefits only works with contactless debit or credit cards. We do not "
"currently support mobile wallets or digital cards, such as Apple Pay, Google "
"Wallet, or Samsung Wallet."

msgid "eligibility.pages.start.modal.p[1]"
msgstr "TODO: The contactless symbol is four curved lines, like this:"

msgctxt "image alt text"
msgid "core.icons.contactless"
msgstr "Cuatro líneas curvas en las tarjetas habilitadas sin contacto"

msgid "core.pages.help.payment_options.p[1]"
msgstr ""
"Una tarjeta bancaria sin contacto puede ser una tarjeta de crédito o de "
"débito y debe incluir el logotipo de Visa o Mastercard."
msgid "eligibility.pages.start.modal.p[2]"
msgstr "TODO: Your card must include a Visa or Mastercard logo."

#, python-format
msgid "core.pages.help.payment_options.p[2][0]%(website)s"
msgid "eligibility.pages.start.modal.p[3]"
msgstr ""
"¿No tienes acceso a una tarjeta bancaria? Puedes solicitar una tarjeta sin "
"contacto de una de las compañías que ofrecen tarjetas de débito prepago sin "
"contacto gratuitas, como la tarjeta de débito <a href=\"%(website)s\" "
"target=\"_blank\" rel=\"noopener noreferrer\">Cash App Visa</a> "
"TODO: Don’t have access to a contactless card? You can request a contactless "
"card from your bank, or one of the companies that offer free contactless "
"prepaid debit cards, such as the Cash App Visa debit card or the Venmo "
"Mastercard debit card."

#, python-format
msgid "core.pages.help.payment_options.p[2][1]%(website)s"
msgstr ""
"o la tarjeta de débito <a href=\"%(website)s\" target=\"_blank\" rel="
"\"noopener noreferrer\">Venmo Mastercard</a>."

msgid "core.pages.help.payment_options.p[3]"
msgstr ""
"Todavía puede obtener su descuento mediante el proceso de solicitud de su "
"proveedor de transporte local."

msgid "core.pages.help.payment_options.p[4]"
msgid "eligibility.pages.start.modal.p[4]%(short_name)s%(website)s"
msgstr ""
"Para obtener actualizaciones sobre opciones adicionales, vuelva a consultar "
"este sitio web o comuníquese con su proveedor de transporte local."
"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 Expand Up @@ -391,42 +383,6 @@ msgctxt "image alt text"
msgid "core.icons.idcardcheck"
msgstr "Icono de tarjeta de identificación con marca de verificación"

msgid "eligibility.pages.start.modal.p[0]"
msgstr ""
"TODO: Benefits only works with contactless debit or credit cards. We do not "
"currently support mobile wallets or digital cards, such as Apple Pay, Google "
"Wallet, or Samsung Wallet."

msgid "eligibility.pages.start.modal.p[1]"
msgstr "TODO: The contactless symbol is four curved lines, like this:"

msgid "eligibility.pages.start.modal.p[2]"
msgstr "TODO: Your card must include a Visa or Mastercard logo."

msgid "eligibility.pages.start.modal.p[3]"
msgstr ""
"TODO: Don’t have access to a contactless card? You can request a contactless "
"card from your bank, or one of the companies that offer free contactless "
"prepaid debit cards, such as the Cash App Visa debit card or the Venmo "
"Mastercard debit card."

#, python-format
msgid "eligibility.pages.start.modal.p[4.1]%(agency_short_name)s"
msgstr ""
"TODO: 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 ""
"<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 "core.modals.back"
msgstr "TODO: Regresar a la página principal"

Expand Down

0 comments on commit 669e86b

Please sign in to comment.