Skip to content

Commit

Permalink
feat(sbmtd/senior): add copy and translations to templates
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Aug 14, 2023
1 parent 62a2f6c commit 97a8601
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 10 deletions.
6 changes: 6 additions & 0 deletions benefits/core/templates/core/index--sbmtd.html
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
{% extends "core/agency-index.html" %}

{% load i18n %}

{% block headline %}
{% translate "Get a reduced fare on Santa Barbara MTD buses when you tap to ride" %}
{% endblock headline %}
8 changes: 8 additions & 0 deletions benefits/eligibility/templates/eligibility/index--sbmtd.html
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
{% extends "eligibility/index.html" %}

{% load i18n %}

{% block explanatory-text %}
<p class="pt-4 pb-4 pb-lg-8">
{% translate "Cal-ITP doesn’t save any of your information. All SBMTD transit benefits give riders a reduced bus fare." %}
</p>
{% endblock explanatory-text %}
8 changes: 8 additions & 0 deletions benefits/enrollment/templates/enrollment/success--sbmtd.html
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
{% extends "enrollment/success.html" %}
{% load i18n %}

{% block success-message %}
{% blocktranslate trimmed %}
You were not charged anything today. When boarding an SBMTD bus, tap this card when you board and you will be
charged a reduced fare. If you change the card you use to pay for transit service, you will need to re-enroll.
{% endblocktranslate %}
{% endblock success-message %}
20 changes: 17 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: 2023-08-10 19:39+0000\n"
"POT-Creation-Date: 2023-08-14 21:37+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -249,6 +249,9 @@ msgstr ""
msgid "Get a reduced fare on SacRT light rail when you tap to ride"
msgstr ""

msgid "Get a reduced fare on Santa Barbara MTD buses when you tap to ride"
msgstr ""

msgid "Choose transit agency"
msgstr ""

Expand Down Expand Up @@ -406,8 +409,8 @@ msgid ""
"This option is for people who have served in the active military, naval, or "
"air service, and who were discharged or released therefrom under conditions "
"other than dishonorable. You will need to <a href=\"https://www.va.gov/"
"resources/verifying-your-identity-on-vagov/\" target=\"_blank\" rel="
"\"noopener noreferrer\">verify your identity through VA.gov</a>."
"resources/verifying-your-identity-on-vagov/\" target=\"_blank\" "
"rel=\"noopener noreferrer\">verify your identity through VA.gov</a>."
msgstr ""

#, python-format
Expand All @@ -422,6 +425,11 @@ msgid ""
"reduce fares by 50%% for light rail."
msgstr ""

msgid ""
"Cal-ITP doesn’t save any of your information. All SBMTD transit benefits "
"give riders a reduced bus fare."
msgstr ""

msgid "Choose benefit option"
msgstr ""

Expand Down Expand Up @@ -533,6 +541,12 @@ msgid ""
"transit service."
msgstr ""

msgid ""
"You were not charged anything today. When boarding an SBMTD bus, tap this "
"card when you board and you will be charged a reduced fare. If you change "
"the card you use to pay for transit service, you will need to re-enroll."
msgstr ""

msgid "Success"
msgstr ""

Expand Down
35 changes: 28 additions & 7 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-08-10 19:39+0000\n"
"POT-Creation-Date: 2023-08-14 21:37+0000\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -284,8 +284,8 @@ msgstr ""
"califican para una serie de programas de tarifas reducidas. Este beneficio "
"de tránsito debe renovarse en el futuro en función de la fecha de "
"vencimiento de la tarjeta de cortesía. Obtenga más información en el <a "
"href='https://mst.org/riders-guide/how-to-ride/courtesy-card/' target="
"\"_blank\" rel=\"noopener noreferrer\">MST Riders Guide</a>."
"href='https://mst.org/riders-guide/how-to-ride/courtesy-card/' "
"target=\"_blank\" rel=\"noopener noreferrer\">MST Riders Guide</a>."

msgid "Sign out of Login.gov"
msgstr "Cierre sesión de Login.gov"
Expand Down Expand Up @@ -326,6 +326,11 @@ msgid "Get a reduced fare on SacRT light rail when you tap to ride"
msgstr ""
"Obtenga una tarifa reducida en el tren ligero SacRT cuando toque para viajar"

msgid "Get a reduced fare on Santa Barbara MTD buses when you tap to ride"
msgstr ""
"Obtenga una tarifa reducida en los autobuses del Santa Barbara MTD cuando "
"toque para viajar"

msgid "Choose transit agency"
msgstr "Elija la agencia de tránsito"

Expand Down Expand Up @@ -504,14 +509,14 @@ msgid ""
"This option is for people who have served in the active military, naval, or "
"air service, and who were discharged or released therefrom under conditions "
"other than dishonorable. You will need to <a href=\"https://www.va.gov/"
"resources/verifying-your-identity-on-vagov/\" target=\"_blank\" rel="
"\"noopener noreferrer\">verify your identity through VA.gov</a>."
"resources/verifying-your-identity-on-vagov/\" target=\"_blank\" "
"rel=\"noopener noreferrer\">verify your identity through VA.gov</a>."
msgstr ""
"Esta opción es para personas que hayan prestado servicio militar, naval o "
"aéreo de manera activa, y quienes fueron dados de baja o liberados en "
"condiciones que no hayan sido deshonrosas. Necesitará <a href='https://www."
"va.gov/resources/verifying-your-identity-on-vagov/' target=\"_blank\" rel="
"\"noopener noreferrer\">verificar su identidad a través de VA.gov</a>."
"va.gov/resources/verifying-your-identity-on-vagov/' target=\"_blank\" "
"rel=\"noopener noreferrer\">verificar su identidad a través de VA.gov</a>."

#, python-format
msgid ""
Expand All @@ -529,6 +534,13 @@ msgstr ""
"Cal-ITP no almacena su información. Todos los beneficios de tránsito de "
"SacRT reducen las tarifas del tren ligero en un 50%%."

msgid ""
"Cal-ITP doesn’t save any of your information. All SBMTD transit benefits "
"give riders a reduced bus fare."
msgstr ""
"Cal-ITP no almacena su información. Todos los beneficios de tránsito de "
"SBMTD le ofrecen a los pasajeros tarifas de autobús reducidas."

msgid "Choose benefit option"
msgstr "Elija la opción de beneficio"

Expand Down Expand Up @@ -652,6 +664,15 @@ msgstr ""
"cuando suba y se le cobrará una tarifa reducida. Deberá volver a inscribirse "
"si elige cambiar la tarjeta que usa para pagar el servicio de tránsito."

msgid ""
"You were not charged anything today. When boarding an SBMTD bus, tap this "
"card when you board and you will be charged a reduced fare. If you change "
"the card you use to pay for transit service, you will need to re-enroll."
msgstr ""
"No se le cobró nada hoy. Al abordar un autobús de SBMTD, toque esta tarjeta "
"cuando suba y se le cobrará una tarifa reducida. Deberá volver a inscribirse "
"si elige cambiar la tarjeta que usa para pagar el servicio de tránsito."

msgid "Success"
msgstr "Éxito"

Expand Down

0 comments on commit 97a8601

Please sign in to comment.