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

Chore: update SBMTD agency card name in user-facing text #1953

Merged
merged 5 commits into from
Mar 15, 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
4 changes: 2 additions & 2 deletions benefits/core/templates/core/includes/help--sbmtd.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% load i18n %}

<h2 class="h2-sm pt-4 pt-lg-8" id="mst-courtesy-card">{% translate "What is a Mobility Pass?" %}</h2>
<h2 class="h2-sm pt-4 pt-lg-8" id="mst-courtesy-card">{% translate "What is a Reduced Fare Mobility ID?" %}</h2>
<p class="pt-2 pt-lg-4">
{% blocktranslate trimmed %}
The Santa Barbara Metropolitan Transit District issues Mobility Pass cards to eligible riders. This transit benefit may need to be renewed in the future based on the expiration date of the Mobility Pass. Learn more at the <a href="https://sbmtd.gov/fares-passes/" target="_blank" rel="noopener noreferrer">SBMTD Fares & Passes</a>.
The Santa Barbara Metropolitan Transit District issues Reduced Fare Mobility ID cards to eligible riders. This transit benefit may need to be renewed in the future based on the expiration date of the Reduced Fare Mobility ID. Learn more at the <a href="https://sbmtd.gov/fares-passes/" target="_blank" rel="noopener noreferrer">SBMTD Fares & Passes</a>.
{% endblocktranslate %}
</p>
11 changes: 5 additions & 6 deletions benefits/eligibility/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

from benefits.core import models, recaptcha, widgets


logger = logging.getLogger(__name__)


Expand Down Expand Up @@ -160,17 +159,17 @@ def __init__(self, *args, **kwargs):


class SBMTDMobilityPass(EligibilityVerificationForm):
"""EligibilityVerification form for the SBMTD Mobility Pass."""
"""EligibilityVerification form for the SBMTD Reduced Fare Mobility ID."""

def __init__(self, *args, **kwargs):
super().__init__(
title=_("Agency card information"),
headline=_("Let’s see if we can confirm your eligibility."),
blurb=_("Please input your Mobility Pass number and last name below to confirm your eligibility."),
name_label=_("Last name (as it appears on Mobility Pass card)"),
blurb=_("Please input your Reduced Fare Mobility ID number and last name below to confirm your eligibility."),
name_label=_("Last name (as it appears on Reduced Fare Mobility ID card)"),
name_placeholder="Garcia",
name_help_text=_("We use this to help confirm your Mobility Pass."),
sub_label=_("SBMTD Mobility Pass number"),
name_help_text=_("We use this to help confirm your Reduced Fare Mobility ID."),
sub_label=_("SBMTD Reduced Fare Mobility ID number"),
sub_help_text=_("This is a 4-digit number on the back of your card."),
sub_placeholder="1234",
name_max_length=255,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
{% load i18n %}

{% block heading %}
{% translate "Your current Mobility Pass number" %}
{% translate "Your current Reduced Fare Mobility ID number" %}
{% endblock heading %}

{% block body %}
<div class="media-body--details">
<p>
{% translate "You do not need to have your physical card, but you will need your 4-digit Mobility Pass number on the back of the card." %}
{% translate "You do not need to have your physical card, but you will need your 4-digit Reduced Fare Mobility ID number on the back of the card." %}
</p>
</div>
{% endblock body %}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{% load i18n %}

{% block label %}
{% translate "SBMTD Mobility Pass" %}
{% translate "SBMTD Reduced Fare Mobility ID" %}
{% endblock label %}

{% block description %}
{% translate "This option is for people who have a current SBMTD Mobility Pass." %}
{% translate "This option is for people who have a current SBMTD Reduced Fare Mobility ID." %}
{% endblock description %}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{% block headline %}
<div class="col-lg-8">
<h1>{% translate "You selected a Mobility Pass transit benefit." %}</h1>
<h1>{% translate "You selected a Reduced Fare Mobility ID transit benefit." %}</h1>
</div>
{% endblock headline %}

Expand Down
35 changes: 18 additions & 17 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-01-19 00:29+0000\n"
"POT-Creation-Date: 2024-03-13 22:40+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -194,15 +194,15 @@ msgid ""
"target=\"_blank\" rel=\"noopener noreferrer\">MST Riders Guide</a>."
msgstr ""

msgid "What is a Mobility Pass?"
msgid "What is a Reduced Fare Mobility ID?"
msgstr ""

msgid ""
"The Santa Barbara Metropolitan Transit District issues Mobility Pass cards "
"to eligible riders. This transit benefit may need to be renewed in the "
"future based on the expiration date of the Mobility Pass. Learn more at the "
"<a href=\"https://sbmtd.gov/fares-passes/\" target=\"_blank\" rel=\"noopener "
"noreferrer\">SBMTD Fares & Passes</a>."
"The Santa Barbara Metropolitan Transit District issues Reduced Fare Mobility "
"ID cards to eligible riders. This transit benefit may need to be renewed in "
"the future based on the expiration date of the Reduced Fare Mobility ID. "
"Learn more at the <a href=\"https://sbmtd.gov/fares-passes/\" "
"target=\"_blank\" rel=\"noopener noreferrer\">SBMTD Fares & Passes</a>."
msgstr ""

msgid "Sign out of Login.gov"
Expand Down Expand Up @@ -303,17 +303,17 @@ msgid "This is a 5-digit number on the front and back of your card."
msgstr ""

msgid ""
"Please input your Mobility Pass number and last name below to confirm your "
"eligibility."
"Please input your Reduced Fare Mobility ID number and last name below to "
"confirm your eligibility."
msgstr ""

msgid "Last name (as it appears on Mobility Pass card)"
msgid "Last name (as it appears on Reduced Fare Mobility ID card)"
msgstr ""

msgid "We use this to help confirm your Mobility Pass."
msgid "We use this to help confirm your Reduced Fare Mobility ID."
msgstr ""

msgid "SBMTD Mobility Pass number"
msgid "SBMTD Reduced Fare Mobility ID number"
msgstr ""

msgid "This is a 4-digit number on the back of your card."
Expand All @@ -337,12 +337,12 @@ msgid ""
"number. The number starts with a number sign (#) followed by five digits."
msgstr ""

msgid "Your current Mobility Pass number"
msgid "Your current Reduced Fare Mobility ID number"
msgstr ""

msgid ""
"You do not need to have your physical card, but you will need your 4-digit "
"Mobility Pass number on the back of the card."
"Reduced Fare Mobility ID number on the back of the card."
msgstr ""

msgid "A Login.gov account with identity verification"
Expand Down Expand Up @@ -394,10 +394,11 @@ msgid ""
"eligibility card."
msgstr ""

msgid "SBMTD Mobility Pass"
msgid "SBMTD Reduced Fare Mobility ID"
msgstr ""

msgid "This option is for people who have a current SBMTD Mobility Pass."
msgid ""
"This option is for people who have a current SBMTD Reduced Fare Mobility ID."
msgstr ""

msgid "Older Adult"
Expand Down Expand Up @@ -448,7 +449,7 @@ msgstr ""
msgid "Continue"
msgstr ""

msgid "You selected a Mobility Pass transit benefit."
msgid "You selected a Reduced Fare Mobility ID transit benefit."
msgstr ""

msgid "Older Adult benefit overview"
Expand Down
68 changes: 35 additions & 33 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-01-19 00:29+0000\n"
"POT-Creation-Date: 2024-03-13 22:40+0000\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -262,21 +262,22 @@ msgstr ""
"href='https://mst.org/riders-guide/how-to-ride/courtesy-card/' "
"target=\"_blank\" rel=\"noopener noreferrer\">MST Riders Guide</a>."

msgid "What is a Mobility Pass?"
msgstr "¿Qué es un Mobility Pass?"
msgid "What is a Reduced Fare Mobility ID?"
msgstr "¿Qué es un Reduced Fare Mobility ID?"

msgid ""
"The Santa Barbara Metropolitan Transit District issues Mobility Pass cards "
"to eligible riders. This transit benefit may need to be renewed in the "
"future based on the expiration date of the Mobility Pass. Learn more at the "
"<a href=\"https://sbmtd.gov/fares-passes/\" target=\"_blank\" rel=\"noopener "
"noreferrer\">SBMTD Fares & Passes</a>."
msgstr ""
"Santa Barbara Metropolitan Transit District emite tarjetas Mobility Pass a "
"pasajeros que califican. Este beneficio de tránsito debe renovarse en el "
"futuro en función de la fecha de vencimiento del Mobility Pass. Obtenga más "
"información en el <a href=\"https://sbmtd.gov/fares-passes/\" "
"The Santa Barbara Metropolitan Transit District issues Reduced Fare Mobility "
"ID cards to eligible riders. This transit benefit may need to be renewed in "
"the future based on the expiration date of the Reduced Fare Mobility ID. "
"Learn more at the <a href=\"https://sbmtd.gov/fares-passes/\" "
"target=\"_blank\" rel=\"noopener noreferrer\">SBMTD Fares & Passes</a>."
msgstr ""
"Santa Barbara Metropolitan Transit District emite tarjetas Reduced Fare "
"Mobility ID a pasajeros que califican. Este beneficio de tránsito debe "
"renovarse en el futuro en función de la fecha de vencimiento del Reduced "
"Fare Mobility ID. Obtenga más información en el <a href=\"https://sbmtd.gov/"
"fares-passes/\" target=\"_blank\" rel=\"noopener noreferrer\">SBMTD Fares & "
"Passes</a>."

msgid "Sign out of Login.gov"
msgstr "Cierre sesión de Login.gov"
Expand Down Expand Up @@ -391,20 +392,20 @@ msgid "This is a 5-digit number on the front and back of your card."
msgstr "Este es un número de 5 dígitos en el anverso y reverso de su tarjeta."

msgid ""
"Please input your Mobility Pass number and last name below to confirm your "
"eligibility."
"Please input your Reduced Fare Mobility ID number and last name below to "
"confirm your eligibility."
msgstr ""
"Ingrese el número de cuatro dígitos de su Mobility Pass y su apellido a "
"continuación para confirmar su elegibilidad."
"Ingrese el número de cuatro dígitos de su Reduced Fare Mobility ID y su "
"apellido a continuación para confirmar su elegibilidad."

msgid "Last name (as it appears on Mobility Pass card)"
msgstr "Apellido (tal como aparece en la tarjeta de Mobility Pass)"
msgid "Last name (as it appears on Reduced Fare Mobility ID card)"
msgstr "Apellido (tal como aparece en la tarjeta de Reduced Fare Mobility ID)"

msgid "We use this to help confirm your Mobility Pass."
msgstr "Usamos esto para ayudar a confirmar su Mobility Pass."
msgid "We use this to help confirm your Reduced Fare Mobility ID."
msgstr "Usamos esto para ayudar a confirmar su Reduced Fare Mobility ID."

msgid "SBMTD Mobility Pass number"
msgstr "Número de SBMTD Mobility Pass"
msgid "SBMTD Reduced Fare Mobility ID number"
msgstr "Número de SBMTD Reduced Fare Mobility ID"

msgid "This is a 4-digit number on the back of your card."
msgstr "Este es un número de 4 dígitos en el reverso de su tarjeta."
Expand All @@ -431,15 +432,15 @@ msgstr ""
"No necesita tener su tarjeta física, pero necesitará saber el número. El "
"número comienza con un signo de número (#) seguido de cinco dígitos."

msgid "Your current Mobility Pass number"
msgstr "Su número actual de Mobility Pass"
msgid "Your current Reduced Fare Mobility ID number"
msgstr "Su número actual de Reduced Fare Mobility ID"

msgid ""
"You do not need to have your physical card, but you will need your 4-digit "
"Mobility Pass number on the back of the card."
"Reduced Fare Mobility ID number on the back of the card."
msgstr ""
"No necesita tener su tarjeta física, pero necesitará su número de cuatro "
"dígitos de Mobility Pass en el reverso de la tarjeta."
"dígitos de Reduced Fare Mobility ID en el reverso de la tarjeta."

msgid "A Login.gov account with identity verification"
msgstr "Una cuenta de Login.gov con verificación de identidad"
Expand Down Expand Up @@ -498,13 +499,14 @@ msgstr ""
"Esta opción es para personas que cuentan actualmente con una tarjeta de "
"cortesía o una tarjeta de elegibilidad MST RIDES."

msgid "SBMTD Mobility Pass"
msgid "SBMTD Reduced Fare Mobility ID"
msgstr ""

msgid "This option is for people who have a current SBMTD Mobility Pass."
msgid ""
"This option is for people who have a current SBMTD Reduced Fare Mobility ID."
msgstr ""
"Esta opción es para personas que cuentan actualmente con un Mobility Pass de "
"SBMTD."
"Esta opción es para personas que cuentan actualmente con un Reduced Fare "
"Mobility ID de SBMTD."

msgid "Older Adult"
msgstr "Adulto mayor"
Expand Down Expand Up @@ -563,8 +565,8 @@ msgstr "Ha seleccionado un beneficio de tránsito de tarjeta de cortesía."
msgid "Continue"
msgstr "Continuar"

msgid "You selected a Mobility Pass transit benefit."
msgstr "Ha seleccionado un beneficio de tránsito de Mobility Pass."
msgid "You selected a Reduced Fare Mobility ID transit benefit."
msgstr "Ha seleccionado un beneficio de tránsito de Reduced Fare Mobility ID."

msgid "Older Adult benefit overview"
msgstr "Descripción de beneficios para adultos mayores"
Expand Down
2 changes: 1 addition & 1 deletion docs/tests/manual-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Read [the Login.gov Testing identity proofing documentation](https://developers.
To test the agency card enrollment pathway, use the following test credentials:

- [Courtesy Cards (MST)](https://docs.google.com/document/d/1bFynuiLy9POXYEYnLVEQJpAm1TVqlappN9lU9ev3Bvg/edit#heading=h.l2jcqsl4s6rh)
- [Mobility Pass (SBMTD)](https://docs.google.com/document/d/1bFynuiLy9POXYEYnLVEQJpAm1TVqlappN9lU9ev3Bvg/edit#heading=h.rkuhoc19aku7)
- [Reduced Fare Mobility ID (SBMTD)](https://docs.google.com/document/d/1bFynuiLy9POXYEYnLVEQJpAm1TVqlappN9lU9ev3Bvg/edit#heading=h.rkuhoc19aku7)

### Littlepay

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "benefits"
version = "2024.03.2"
version = "2024.03.3"
description = "Cal-ITP Benefits is an application that enables automated eligibility verification and enrollment for transit benefits onto customers’ existing contactless bank (credit/debit) cards."
readme = "README.md"
license = { file = "LICENSE" }
Expand Down
Loading