From 71f5a70bd570f7da22e0c77d5b569771f735d6b8 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Mon, 7 Aug 2023 23:06:42 +0000 Subject: [PATCH] refactor(copy): msgid enrollment strings --- .../templates/enrollment/success--mst.html | 5 ++++- .../templates/enrollment/success--sacrt.html | 5 ++++- benefits/locale/en/LC_MESSAGES/django.po | 10 +++++----- benefits/locale/es/LC_MESSAGES/django.po | 14 +++++++++++--- 4 files changed, 24 insertions(+), 10 deletions(-) diff --git a/benefits/enrollment/templates/enrollment/success--mst.html b/benefits/enrollment/templates/enrollment/success--mst.html index 3ae77f4a32..b6ea0e1a84 100644 --- a/benefits/enrollment/templates/enrollment/success--mst.html +++ b/benefits/enrollment/templates/enrollment/success--mst.html @@ -2,5 +2,8 @@ {% load i18n %} {% block success-message %} - {% translate "enrollment.pages.success.message.mst" %} + {% blocktranslate trimmed %} + You were not charged anything today. When boarding an MST fixed route bus, tap this card when you board and you will be + charged a reduced fare. You will need to re-enroll if you choose to change the card you use to pay for transit service. + {% endblocktranslate %} {% endblock success-message %} diff --git a/benefits/enrollment/templates/enrollment/success--sacrt.html b/benefits/enrollment/templates/enrollment/success--sacrt.html index 8972eca715..9e0d3bc6ac 100644 --- a/benefits/enrollment/templates/enrollment/success--sacrt.html +++ b/benefits/enrollment/templates/enrollment/success--sacrt.html @@ -2,5 +2,8 @@ {% load i18n %} {% block success-message %} - {% translate "enrollment.pages.success.message.sacrt" %} + {% blocktranslate trimmed %} + You were not charged anything today. When boarding SacRT light rail, tap this card when you get on and you will be charged + a reduced fare. You will need to re-enroll if you choose to change the card you use to pay for transit service. + {% endblocktranslate %} {% endblock success-message %} diff --git a/benefits/locale/en/LC_MESSAGES/django.po b/benefits/locale/en/LC_MESSAGES/django.po index ccf2c82f3f..770375e229 100644 --- a/benefits/locale/en/LC_MESSAGES/django.po +++ b/benefits/locale/en/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n" -"POT-Creation-Date: 2023-08-07 23:02+0000\n" +"POT-Creation-Date: 2023-08-07 23:06+0000\n" "Language: English\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -520,19 +520,19 @@ msgstr "" msgid "Try again" msgstr "" -msgid "enrollment.pages.success.message.mst" -msgstr "" +msgid "" "You were not charged anything today. When boarding an MST fixed route bus, " "tap this card when you board and you will be charged a reduced fare. You " "will need to re-enroll if you choose to change the card you use to pay for " "transit service." - -msgid "enrollment.pages.success.message.sacrt" msgstr "" + +msgid "" "You were not charged anything today. When boarding SacRT light rail, tap " "this card when you get on and you will be charged a reduced fare. You will " "need to re-enroll if you choose to change the card you use to pay for " "transit service." +msgstr "" msgid "Success" msgstr "" diff --git a/benefits/locale/es/LC_MESSAGES/django.po b/benefits/locale/es/LC_MESSAGES/django.po index cd60e13288..a46f1782e9 100644 --- a/benefits/locale/es/LC_MESSAGES/django.po +++ b/benefits/locale/es/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n" -"POT-Creation-Date: 2023-08-07 23:02+0000\n" +"POT-Creation-Date: 2023-08-07 23:06+0000\n" "Language: Español\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -620,14 +620,22 @@ msgstr "" msgid "Try again" msgstr "Intentar otra vez" -msgid "enrollment.pages.success.message.mst" +msgid "" +"You were not charged anything today. When boarding an MST fixed route bus, " +"tap this card when you board and you will be charged a reduced fare. You " +"will need to re-enroll if you choose to change the card you use to pay for " +"transit service." msgstr "" "No se le cobró nada hoy. Al abordar un [transportaton-type] de [short-name], " "[card-functionality] 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 "enrollment.pages.success.message.sacrt" +msgid "" +"You were not charged anything today. When boarding SacRT light rail, tap " +"this card when you get on and you will be charged a reduced fare. You will " +"need to re-enroll if you choose to change the card you use to pay for " +"transit service." msgstr "" "No se le cobró nada hoy. Al abordar un [transportaton-type] de [short-name], " "[card-functionality] y se le cobrará una tarifa reducida. Deberá volver a "