Skip to content
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: 4 additions & 0 deletions benefits/core/context/agency.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class AgencySlug(models.TextChoices):
EDCTA = "edcta", "edcta"
NEVCO = "nevco", "nevco"
RABA = "raba", "raba"
ROSEVILLE = "roseville", "roseville"
SACRT = "sacrt", "sacrt"
SBMTD = "sbmtd", "sbmtd"
SLORTA = "slorta", "slorta"
Expand All @@ -33,6 +34,9 @@ def dict(self):
headline=_("Get your reduced fare on Nevada County Connects public transit when you tap to ride")
),
AgencySlug.RABA.value: AgencyIndex(headline=_("Get your reduced fare on RABA public transit when you tap to ride")),
AgencySlug.ROSEVILLE.value: AgencyIndex(
headline=_("Get your reduced fare on Roseville public transit when you tap to ride")
),
AgencySlug.SACRT.value: AgencyIndex(headline=_("Get your reduced fare on SacRT buses when you tap to ride")),
AgencySlug.SBMTD.value: AgencyIndex(headline=_("Get your reduced fare on Santa Barbara MTD buses when you tap to ride")),
AgencySlug.SLORTA.value: AgencyIndex(
Expand Down
32 changes: 32 additions & 0 deletions benefits/core/migrations/0073_add_roseville.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Django 5.2.7 on 2026-01-22 00:23

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("core", "0072_move_fields_from_eligapiconfig_to_eligapiverificationrequest"),
]

operations = [
migrations.AlterField(
model_name="transitagency",
name="slug",
field=models.SlugField(
choices=[
("cst", "cst"),
("mst", "mst"),
("edcta", "edcta"),
("nevco", "nevco"),
("raba", "raba"),
("roseville", "roseville"),
("sacrt", "sacrt"),
("sbmtd", "sbmtd"),
("slorta", "slorta"),
("vctc", "vctc"),
],
help_text="Used for URL navigation for this agency, e.g. the agency homepage url is /{slug}",
),
),
]
6 changes: 6 additions & 0 deletions benefits/eligibility/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ def get_context_data(self, **kwargs):
"All RABA transit benefits reduce fares by 50%% for bus service on fixed routes.".replace("%%", "%")
)
),
AgencySlug.ROSEVILLE.value: EligibilityIndex(
form_text=_(
"Cal-ITP doesn’t save any of your information. "
"All Roseville transit benefits reduce fares by 50%% for bus service on fixed routes.".replace("%%", "%")
)
),
AgencySlug.SACRT.value: EligibilityIndex(
form_text=_(
"Cal-ITP doesn’t save any of your information. "
Expand Down
1 change: 1 addition & 0 deletions benefits/enrollment/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def get_context_data(self, **kwargs):
AgencySlug.MST.value: DefaultEnrollmentSuccess(transportation_type=_("an MST bus")),
AgencySlug.NEVCO.value: DefaultEnrollmentSuccess(transportation_type=_("a Nevada County Connects bus")),
AgencySlug.RABA.value: DefaultEnrollmentSuccess(transportation_type=_("a RABA bus")),
AgencySlug.ROSEVILLE.value: DefaultEnrollmentSuccess(transportation_type=_("a Roseville bus")),
AgencySlug.SACRT.value: DefaultEnrollmentSuccess(transportation_type=_("a SacRT bus")),
AgencySlug.SLORTA.value: DefaultEnrollmentSuccess(transportation_type=_("a RTA bus")),
AgencySlug.SBMTD.value: DefaultEnrollmentSuccess(transportation_type=_("an SBMTD bus")),
Expand Down
14 changes: 13 additions & 1 deletion 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: 2025-12-17 13:43-0800\n"
"POT-Creation-Date: 2026-01-27 17:23-0800\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand All @@ -30,6 +30,9 @@ msgstr ""
msgid "Get your reduced fare on RABA public transit when you tap to ride"
msgstr ""

msgid "Get your reduced fare on Roseville public transit when you tap to ride"
msgstr ""

msgid "Get your reduced fare on SacRT buses when you tap to ride"
msgstr ""

Expand Down Expand Up @@ -761,6 +764,12 @@ msgid ""
"reduce fares by 50%% for bus service on fixed routes."
msgstr ""

#, python-format
msgid ""
"Cal-ITP doesn’t save any of your information. All Roseville transit benefits "
"reduce fares by 50%% for bus service on fixed routes."
msgstr ""

#, python-format
msgid ""
"Cal-ITP doesn’t save any of your information. All SacRT transit benefits "
Expand Down Expand Up @@ -941,6 +950,9 @@ msgstr ""
msgid "a RABA bus"
msgstr ""

msgid "a Roseville bus"
msgstr ""

msgid "a SacRT bus"
msgstr ""

Expand Down
19 changes: 18 additions & 1 deletion 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: 2025-12-17 13:43-0800\n"
"POT-Creation-Date: 2026-01-27 17:23-0800\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -40,6 +40,11 @@ msgstr ""
"Obtenga una tarifa reducida en transporte público RABA cuando toque para "
"viajar"

msgid "Get your reduced fare on Roseville public transit when you tap to ride"
msgstr ""
"Obtenga una tarifa reducida en el transporte público Roseville cuando toque "

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this included accidentally, or is it a better translation than what we used before?

Suggested change
"Obtenga una tarifa reducida en el transporte público Roseville cuando toque "
"Obtenga una tarifa reducida en transporte público Roseville cuando toque "

"para viajar"

msgid "Get your reduced fare on SacRT buses when you tap to ride"
msgstr ""
"Obtenga una tarifa reducida en los autobuses del SacRT cuando toque para "
Expand Down Expand Up @@ -973,6 +978,15 @@ msgstr ""
"Cal-ITP no almacena su información. Todos los beneficios de tránsito de RABA "
"reducen las tarifas de autobuses en un 50%%."

#, python-format
msgid ""
"Cal-ITP doesn’t save any of your information. All Roseville transit benefits "
"reduce fares by 50%% for bus service on fixed routes."
msgstr ""
"Cal-ITP no almacena su información. Todos los beneficios de tránsito de "
"Roseville reducen las tarifas en un 50%% para el servicio de autobús en "
"rutas fijas."
Comment on lines +985 to +988

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing this makes me realize we've translated this one in several different ways, too. With and without the "fixed routes" bit, and once without mentioning the percentage (SBMTD).

Not something to worry about here, probably, just something to remember when we get these translations into the DB.


#, python-format
msgid ""
"Cal-ITP doesn’t save any of your information. All SacRT transit benefits "
Expand Down Expand Up @@ -1198,6 +1212,9 @@ msgstr "un autobús de Nevada County Connects"
msgid "a RABA bus"
msgstr "un autobús de RABA"

msgid "a Roseville bus"
msgstr "un autobús de Roseville"

msgid "a SacRT bus"
msgstr "un autobús de SacRT"

Expand Down
Loading