Skip to content

Commit

Permalink
Release SBMTD Agency card name updates (#1961)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Mar 18, 2024
2 parents 4104273 + 4aac19d commit f821eec
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 66 deletions.
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/release.yml
Expand Up @@ -91,6 +91,7 @@ body:
- label: Confirm acceptance of Smoke Tests by adding a comment to this issue
- label: Tag the release on the `prod` branch, push the tag to GitHub (see [docs](https://docs.calitp.org/benefits/deployment/release/#5-tag-the-release) for commands)
- label: Create a release in GitHub for the tag, generating release notes
- label: Edit release notes to link back to this Release process issue
- label: Edit release notes with additional context, images, animations, etc. as-needed
- type: checkboxes
id: hotfix-checklist
Expand All @@ -106,6 +107,7 @@ body:
- label: Confirm acceptance of Smoke Tests by adding a comment to this issue
- label: Tag the release on `prod`, push the tag to GitHub (see [docs](https://docs.calitp.org/benefits/deployment/release/#5-tag-the-release) for commands)
- label: Create a release in GitHub for the tag, generating release notes
- label: Edit release notes to link back to this Release process issue
- label: Edit release notes with additional context, images, animations, etc. as-needed
- label: Create a branch off `dev`
- label: Open a PR from `prod` into that branch, merge
Expand Down
4 changes: 2 additions & 2 deletions benefits/core/templates/core/includes/help--sbmtd.html
@@ -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
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
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 %}
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 %}
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
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
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
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
4 changes: 2 additions & 2 deletions pyproject.toml
@@ -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 All @@ -12,7 +12,7 @@ dependencies = [
"azure-identity==1.15.0",
"Django==5.0.3",
"django-csp==3.8",
"django-google-sso==6.0.1",
"django-google-sso==6.0.2",
"eligibility-api==2023.9.1",
"calitp-littlepay==2024.3.1",
"requests==2.31.0",
Expand Down

0 comments on commit f821eec

Please sign in to comment.