Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: enrollment index update copy #2047

Merged
merged 2 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
{% endblock heading_wrapper %}

{% block heading %}
{% translate "The next step is to connect your contactless card to your transit benefit" %}
{% translate "The next step is to enroll the contactless card you will use to tap to ride for a reduced fare." %}
{% endblock heading %}

{% block body %}
<div class="media-body--details">
<p>
{% translate "You will be directed to our payment partner, " %}
{% include "core/includes/modal-trigger.html" with modal="modal--littlepay" text="Littlepay" period=True %}
{% translate "You will be directed to our partner, " %}
{% include "core/includes/modal-trigger.html" with modal="modal--littlepay" text="Littlepay" period=False %}
{% translate ", to enter your contactless card details." %}
{% translate "We don’t store your information, and you won’t be charged." %}
</p>
<p>{% translate "Please use a debit or credit card by Visa or Mastercard." %}</p>
Expand Down
4 changes: 2 additions & 2 deletions benefits/enrollment/templates/enrollment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% block headline %}
<div class="col-lg-8">
<h1 class="pb-lg-8 pb-4">
{% translate "Your eligibility is confirmed!<br>You’re nearly there." %}
{% translate "We found your record!<br>Now let’s enroll your contactless card." %}
</h1>
</div>
{% endblock headline %}
Expand Down Expand Up @@ -116,7 +116,7 @@ <h1 class="pb-lg-8 pb-4">
<button type="button" class="btn btn-primary btn-lg loading" role="status" disabled>{% translate "Please wait..." %}</button>
<div class="invisible">
<button id="{{ cta_button }}" href="#{{ cta_button }}" class="btn btn-lg btn-primary" role="button">
{% translate "Connect your Card" %}
{% translate "Enroll" %}
</button>
</div>
{% endblock call-to-action-button %}
17 changes: 14 additions & 3 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: 2024-04-25 12:29-0700\n"
"POT-Creation-Date: 2024-04-25 14:33-0700\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -568,6 +568,17 @@ msgstr ""
msgid "We don’t store your information, and you won’t be charged."
msgstr ""

msgid ""
"The next step is to enroll the contactless card you will use to tap to ride "
"for a reduced fare."
msgstr ""

msgid "You will be directed to our partner, "
msgstr ""

msgid ", to enter your contactless card details."
msgstr ""

msgid "Please use a debit or credit card by Visa or Mastercard."
msgstr ""

Expand All @@ -577,13 +588,13 @@ msgstr ""
msgid "Eligibility confirmation"
msgstr ""

msgid "Your eligibility is confirmed!<br>You’re nearly there."
msgid "We found your record!<br>Now let’s enroll your contactless card."
msgstr ""

msgid "Please wait..."
msgstr ""

msgid "Connect your Card"
msgid "Enroll"
msgstr ""

msgid "Unable to register card"
Expand Down
25 changes: 20 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: 2024-04-25 12:29-0700\n"
"POT-Creation-Date: 2024-04-25 14:33-0700\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -680,6 +680,19 @@ msgstr "Será dirigido a nuestro socio de pagos, "
msgid "We don’t store your information, and you won’t be charged."
msgstr "No almacenamos su información y no se le cobrará."

msgid ""
"The next step is to enroll the contactless card you will use to tap to ride "
"for a reduced fare."
msgstr ""
"El siguiente paso es inscribir la tarjeta de pago sin contacto que usará "
thekaveman marked this conversation as resolved.
Show resolved Hide resolved
"para viajar y obtener una tarifa reducida"

msgid "You will be directed to our partner, "
msgstr "Será dirigido a nuestro socio, "

msgid ", to enter your contactless card details."
msgstr ", para introducir los datos de su tarjeta de pago sin contacto."

msgid "Please use a debit or credit card by Visa or Mastercard."
msgstr "Utilice una tarjeta de débito o crédito de Visa o Mastercard."

Expand All @@ -689,14 +702,16 @@ msgstr "Más información sobre Littlepay"
msgid "Eligibility confirmation"
msgstr "Confirmación de elegibilidad"

msgid "Your eligibility is confirmed!<br>You’re nearly there."
msgstr "¡Su elegibilidad está confirmada!<br>Ya falta poco."
msgid "We found your record!<br>Now let’s enroll your contactless card."
msgstr ""
"¡Encontramos su registro!<br>Ahora inscribamos su tarjeta de pago sin "
"contacto."

msgid "Please wait..."
msgstr "Espere por favor..."

msgid "Connect your Card"
msgstr "Conecta su tarjeta"
msgid "Enroll"
msgstr "Inscribir"

msgid "Unable to register card"
msgstr "No se pudo registrar la tarjeta"
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/specs/courtesy-cards.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe("Courtesy Cards", () => {
cy.get("#name").type(users.eligible.name);
cy.get("#form-eligibility-verification button[type='submit']").click();

cy.contains("Your eligibility is confirmed!");
cy.contains("We found your record!");
});

it("Rejects an ineligible user", () => {
Expand Down
Loading