Skip to content

Commit

Permalink
feat(enrollment-success): all flows now have same success headline copy
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Sep 11, 2024
1 parent 99500c8 commit 8e9f35d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{% extends "enrollment/success.html" %}
{% load i18n %}

{% block headline-message %}
{% blocktranslate trimmed %}
You can now use your contactless card to tap to ride with a reduced fare!
{% endblocktranslate %}
{% endblock headline-message %}

{% block success-message %}
{% blocktranslate trimmed %}
Your contactless card is now enrolled in a CST Agency Card transit benefit. When boarding a CST bus, tap this card and you will be
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{% extends "enrollment/success.html" %}
{% load i18n %}

{% block headline-message %}
{% blocktranslate trimmed %}
You can now use your contactless card to tap to ride with a reduced fare!
{% endblocktranslate %}
{% endblock headline-message %}

{% block success-message %}
{% blocktranslate trimmed %}
Your contactless card is now enrolled in an MST Courtesy Card transit benefit. When boarding an MST bus, tap this card and you will be
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{% extends "enrollment/success.html" %}
{% load i18n %}

{% block headline-message %}
{% blocktranslate trimmed %}
You can now use your contactless card to tap to ride with a reduced fare!
{% endblocktranslate %}
{% endblock headline-message %}

{% block success-message %}
{% blocktranslate trimmed %}
Your contactless card is now enrolled in an SBMTD Reduced Fare Mobility ID transit benefit. When boarding an SBMTD bus, tap this card and you will be
Expand Down
4 changes: 3 additions & 1 deletion benefits/enrollment/templates/enrollment/success.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
<div class="col-lg-8">
<h1 class="pb-lg-4 mb-lg-3 pb-4">
{% block headline-message %}
{% translate "Success! Your transit benefit is now connected to your card." %}
{% blocktranslate trimmed %}
You can now use your contactless card to tap to ride with a reduced fare!
{% endblocktranslate %}
{% endblock headline-message %}
</h1>
</div>
Expand Down
9 changes: 3 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: 2024-07-17 12:05-0700\n"
"POT-Creation-Date: 2024-09-11 12:40-0700\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -697,10 +697,6 @@ msgid ""
"agency for help."
msgstr ""

msgid ""
"You can now use your contactless card to tap to ride with a reduced fare!"
msgstr ""

msgid ""
"Your contactless card is now enrolled in a CST Agency Card transit benefit. "
"When boarding a CST bus, tap this card and you will be charged a reduced "
Expand Down Expand Up @@ -753,7 +749,8 @@ msgstr ""
msgid "Success"
msgstr ""

msgid "Success! Your transit benefit is now connected to your card."
msgid ""
"You can now use your contactless card to tap to ride with a reduced fare!"
msgstr ""

msgid "Your benefit will expire on"
Expand Down
15 changes: 6 additions & 9 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-07-17 12:05-0700\n"
"POT-Creation-Date: 2024-09-11 12:40-0700\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -878,12 +878,6 @@ msgstr ""
"Verifique los datos de tu tarjeta e inténtelo de nuevo, o contacte a su "
"agencia de tránsito para obtener ayuda."

msgid ""
"You can now use your contactless card to tap to ride with a reduced fare!"
msgstr ""
"¡Ahora puede usar su tarjeta sin contacto para tocar y viajar con una tarifa "
"reducida!"

msgid ""
"Your contactless card is now enrolled in a CST Agency Card transit benefit. "
"When boarding a CST bus, tap this card and you will be charged a reduced "
Expand Down Expand Up @@ -968,8 +962,11 @@ msgstr ""
msgid "Success"
msgstr "Éxito"

msgid "Success! Your transit benefit is now connected to your card."
msgstr "¡Éxito! Su beneficio de tránsito ahora está conectado a su tarjeta."
msgid ""
"You can now use your contactless card to tap to ride with a reduced fare!"
msgstr ""
"¡Ahora puede usar su tarjeta sin contacto para tocar y viajar con una tarifa "
"reducida!"

msgid "Your benefit will expire on"
msgstr "Su beneficio expirará el"
Expand Down

0 comments on commit 8e9f35d

Please sign in to comment.