From cd74d45b9194f5641c929a435fd1167dfd2f177c Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Fri, 27 Sep 2024 18:15:29 +0000 Subject: [PATCH 1/2] feat(medicare): add help template --- benefits/core/migrations/local_fixtures.json | 1 + .../core/includes/help--medicare.html | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 benefits/core/templates/core/includes/help--medicare.html diff --git a/benefits/core/migrations/local_fixtures.json b/benefits/core/migrations/local_fixtures.json index f236795372..9d8a4896d7 100644 --- a/benefits/core/migrations/local_fixtures.json +++ b/benefits/core/migrations/local_fixtures.json @@ -141,6 +141,7 @@ "claims_provider": 2, "selection_label_template": "eligibility/includes/selection-label--medicare.html", "eligibility_start_template": "eligibility/start--medicare.html", + "help_template": "core/includes/help--medicare.html", "claims_scope": "verify:medicare", "claims_claim": "medicare", "supported_enrollment_methods": ["digital", "in_person"] diff --git a/benefits/core/templates/core/includes/help--medicare.html b/benefits/core/templates/core/includes/help--medicare.html new file mode 100644 index 0000000000..c292250102 --- /dev/null +++ b/benefits/core/templates/core/includes/help--medicare.html @@ -0,0 +1,37 @@ +{% load i18n %} + +

+ {% translate "How do I know if I qualify for the Medicare Cardholder option?" %} +

+

+ {% blocktranslate trimmed %} + You qualify for this option if you have a Medicare card. To enroll you will need an account with Medicare.gov. You will need to sign up for a Medicare.gov account if you do not currently have one. Deceased Medicare cardholders do not qualify. + {% endblocktranslate %} +

+ +

+ {% translate "Do I need my Medicare card to enroll?" %} +

+

+ {% blocktranslate trimmed %} + No, you do not need your physical Medicare card to enroll in a transit benefit. You will need the information on your card to create an account at Medicare.gov if you have do not currently have an online account. + {% endblocktranslate %} +

+ +

+ {% translate "Do I need to bring my Medicare card when I ride public transportation?" %} +

+

+ {% blocktranslate trimmed %} + No, you do not need your physical Medicare card to use your transit benefit on public transportation. Once you have enrolled you can use your contactless debit or credit card to tap to ride with a reduced fare. + {% endblocktranslate %} +

+ + +

+ {% blocktranslate trimmed %} + You can enroll in any option you qualify for. We recommend enrolling in the Medicare Cardholder option if you qualify for it. + {% endblocktranslate %} +

From ac4c099a7aca26db47a347a8aff11072d4b1eee4 Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Fri, 27 Sep 2024 18:25:34 +0000 Subject: [PATCH 2/2] chore: run helper ./bin/makemessages.sh the Medicare entries were just moved around. this is because there is an order in which files are scanned when generating the message files. --- benefits/locale/en/LC_MESSAGES/django.po | 74 ++++++++-------- benefits/locale/es/LC_MESSAGES/django.po | 102 +++++++++++------------ 2 files changed, 88 insertions(+), 88 deletions(-) diff --git a/benefits/locale/en/LC_MESSAGES/django.po b/benefits/locale/en/LC_MESSAGES/django.po index 46731df2a7..53425b4588 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: 2024-09-25 13:25-0700\n" +"POT-Creation-Date: 2024-09-27 11:23-0700\n" "Language: English\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -230,6 +230,42 @@ msgid "" "rel=\"noopener noreferrer\">www.agency-website.com." msgstr "" +msgid "How do I know if I qualify for the Medicare Cardholder option?" +msgstr "" + +msgid "" +"You qualify for this option if you have a Medicare card. To enroll you will " +"need an account with Medicare.gov. You will need to sign up for a Medicare." +"gov account if you do not currently have one. Deceased Medicare cardholders " +"do not qualify." +msgstr "" + +msgid "Do I need my Medicare card to enroll?" +msgstr "" + +msgid "" +"No, you do not need your physical Medicare card to enroll in a transit " +"benefit. You will need the information on your card to create an account at " +"Medicare.gov if you have do not currently have an online account." +msgstr "" + +msgid "Do I need to bring my Medicare card when I ride public transportation?" +msgstr "" + +msgid "" +"No, you do not need your physical Medicare card to use your transit benefit " +"on public transportation. Once you have enrolled you can use your " +"contactless debit or credit card to tap to ride with a reduced fare." +msgstr "" + +msgid "What if I qualify for more than one option?" +msgstr "" + +msgid "" +"You can enroll in any option you qualify for. We recommend enrolling in the " +"Medicare Cardholder option if you qualify for it." +msgstr "" + msgid "What is a Courtesy Card?" msgstr "" @@ -469,42 +505,6 @@ msgstr "" msgid "Learn more about the option for Medicare Cardholders" msgstr "" -msgid "How do I know if I qualify for the Medicare Cardholder option?" -msgstr "" - -msgid "" -"You qualify for this option if you have a Medicare card. To enroll you will " -"need an account with Medicare.gov. You will need to sign up for a Medicare." -"gov account if you do not currently have one. Deceased Medicare cardholders " -"do not qualify." -msgstr "" - -msgid "Do I need my Medicare card to enroll?" -msgstr "" - -msgid "" -"No, you do not need your physical Medicare card to enroll in a transit " -"benefit. You will need the information on your card to create an account at " -"Medicare.gov if you have do not currently have an online account." -msgstr "" - -msgid "Do I need to bring my Medicare card when I ride public transportation?" -msgstr "" - -msgid "" -"No, you do not need your physical Medicare card to use your transit benefit " -"on public transportation. Once you have enrolled you can use your " -"contactless debit or credit card to tap to ride with a reduced fare." -msgstr "" - -msgid "What if I qualify for more than one option?" -msgstr "" - -msgid "" -"You can enroll in any option you qualify for. We recommend enrolling in the " -"Medicare Cardholder option if you qualify for it." -msgstr "" - msgid "CalFresh Cardholder" msgstr "" diff --git a/benefits/locale/es/LC_MESSAGES/django.po b/benefits/locale/es/LC_MESSAGES/django.po index 2f4bbdaead..561d64db1c 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: 2024-09-25 13:25-0700\n" +"POT-Creation-Date: 2024-09-27 11:23-0700\n" "Language: Español\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -314,6 +314,56 @@ msgstr "" "href=\"https://www.agency-website.com\" target=\"_blank\" rel=\"noopener " "noreferrer\">https://www.agency-website.com." +msgid "How do I know if I qualify for the Medicare Cardholder option?" +msgstr "¿Cómo sé si califico para la opción de titular de tarjeta Medicare?" + +msgid "" +"You qualify for this option if you have a Medicare card. To enroll you will " +"need an account with Medicare.gov. You will need to sign up for a Medicare." +"gov account if you do not currently have one. Deceased Medicare cardholders " +"do not qualify." +msgstr "" +"Usted califica para esta opción si tiene una tarjeta Medicare. Necesitará " +"una cuenta con Medicare.gov. para inscribirse. Deberá registrarse para " +"obtener una cuenta de Medicare.gov si no tiene una. Los titulares de " +"tarjetas Medicare fallecidos no califican. " + +msgid "Do I need my Medicare card to enroll?" +msgstr "¿Necesito mi tarjeta Medicare para inscribirme?" + +msgid "" +"No, you do not need your physical Medicare card to enroll in a transit " +"benefit. You will need the information on your card to create an account at " +"Medicare.gov if you have do not currently have an online account." +msgstr "" +"No, no necesita su tarjeta física de Medicare para inscribirse en un " +"beneficio de transporte. Necesitará la información de su tarjeta para crear " +"una cuenta en Medicare.gov si no tiene una cuenta en línea. " + +msgid "Do I need to bring my Medicare card when I ride public transportation?" +msgstr "" +"¿Necesito llevar mi tarjeta Medicare cuando viajo en transporte público?" + +msgid "" +"No, you do not need your physical Medicare card to use your transit benefit " +"on public transportation. Once you have enrolled you can use your " +"contactless debit or credit card to tap to ride with a reduced fare." +msgstr "" +"No, no necesita su tarjeta física de Medicare para usar su beneficio de " +"transporte público. Una vez que se haya registrado, puede usar su tarjeta de " +"débito o crédito sin contacto para tocar y viajar con una tarifa reducida." + +msgid "What if I qualify for more than one option?" +msgstr "¿Qué pasa si califico para más de una opción?" + +msgid "" +"You can enroll in any option you qualify for. We recommend enrolling in the " +"Medicare Cardholder option if you qualify for it." +msgstr "" +"Puede inscribirse en cualquier opción para la que califique. Le recomendamos " +"que se inscriba en la opción de titular de tarjeta Medicare si califica para " +"ella. " + msgid "What is a Courtesy Card?" msgstr "¿Qué es una tarjeta de cortesía?" @@ -606,56 +656,6 @@ msgid "Learn more about the option for Medicare Cardholders" msgstr "" "Obtenga más información sobre la opción para titulares de tarjeta Medicare" -msgid "How do I know if I qualify for the Medicare Cardholder option?" -msgstr "¿Cómo sé si califico para la opción de titular de tarjeta Medicare?" - -msgid "" -"You qualify for this option if you have a Medicare card. To enroll you will " -"need an account with Medicare.gov. You will need to sign up for a Medicare." -"gov account if you do not currently have one. Deceased Medicare cardholders " -"do not qualify." -msgstr "" -"Usted califica para esta opción si tiene una tarjeta Medicare. Necesitará " -"una cuenta con Medicare.gov. para inscribirse. Deberá registrarse para " -"obtener una cuenta de Medicare.gov si no tiene una. Los titulares de " -"tarjetas Medicare fallecidos no califican. " - -msgid "Do I need my Medicare card to enroll?" -msgstr "¿Necesito mi tarjeta Medicare para inscribirme?" - -msgid "" -"No, you do not need your physical Medicare card to enroll in a transit " -"benefit. You will need the information on your card to create an account at " -"Medicare.gov if you have do not currently have an online account." -msgstr "" -"No, no necesita su tarjeta física de Medicare para inscribirse en un " -"beneficio de transporte. Necesitará la información de su tarjeta para crear " -"una cuenta en Medicare.gov si no tiene una cuenta en línea. " - -msgid "Do I need to bring my Medicare card when I ride public transportation?" -msgstr "" -"¿Necesito llevar mi tarjeta Medicare cuando viajo en transporte público?" - -msgid "" -"No, you do not need your physical Medicare card to use your transit benefit " -"on public transportation. Once you have enrolled you can use your " -"contactless debit or credit card to tap to ride with a reduced fare." -msgstr "" -"No, no necesita su tarjeta física de Medicare para usar su beneficio de " -"transporte público. Una vez que se haya registrado, puede usar su tarjeta de " -"débito o crédito sin contacto para tocar y viajar con una tarifa reducida." - -msgid "What if I qualify for more than one option?" -msgstr "¿Qué pasa si califico para más de una opción?" - -msgid "" -"You can enroll in any option you qualify for. We recommend enrolling in the " -"Medicare Cardholder option if you qualify for it." -msgstr "" -"Puede inscribirse en cualquier opción para la que califique. Le recomendamos " -"que se inscriba en la opción de titular de tarjeta Medicare si califica para " -"ella. " - msgid "CalFresh Cardholder" msgstr "Titular de la tarjeta CalFresh"