Skip to content

Commit

Permalink
Spanish copy + small copy fixes (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda authored Aug 11, 2023
2 parents 2b2ee37 + 3843ff5 commit 25a9f4d
Show file tree
Hide file tree
Showing 16 changed files with 231 additions and 221 deletions.
4 changes: 2 additions & 2 deletions benefits/core/migrations/0002_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def load_data(app, *args, **kwargs):
auth_provider=None,
selection_label_template="eligibility/includes/selection-label--mst-courtesy-card.html",
start_template="eligibility/start--mst-courtesy-card.html",
form_title=_("Confirm your Courtesy Card"),
form_title=_("Agency card information"),
form_headline=_("Let’s see if we can confirm your eligibility."),
form_blurb=_("Please input your Courtesy Card number and last name below to confirm your eligibility."),
form_sub_label=_("MST Courtesy Card number"),
Expand All @@ -186,7 +186,7 @@ def load_data(app, *args, **kwargs):
form_sub_pattern=r"\d{5}",
form_input_mode="numeric",
form_max_length=5,
form_name_label=_("last name (as it appears on Courtesy Card)"),
form_name_label=_("Last name (as it appears on Courtesy Card)"),
form_name_help_text=_("We use this to help confirm your Courtesy Card."),
form_name_placeholder="Garcia",
form_name_max_length=255,
Expand Down
2 changes: 1 addition & 1 deletion benefits/core/templates/core/agency-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load i18n %}

{% block title %}
{% translate "Introduction" %}
{% translate "Get started" %}
{% endblock title %}

{% block call-to-action %}
Expand Down
9 changes: 3 additions & 6 deletions benefits/core/templates/core/includes/help--mst.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{% load i18n %}

<h2 class="pt-8" id="mst-courtesy-card">{% translate "What is a Courtesy Card?" %}</h2>
<p class="pt-4">
<h2 class="h2-sm pt-4 pt-lg-8" id="mst-courtesy-card">{% translate "What is a Courtesy Card?" %}</h2>
<p class="pt-2 pt-lg-4">
{% blocktranslate trimmed %}
Courtesy Cards are issued by Monterey-Salinas Transit to riders who qualify for a number of reduced fare programs.
This website is a demonstration tool to support the Courtesy Card program. This benefit may need to be renewed in the
future based on the expiration date of the Courtesy Card. Learn more at the
<a href="https://mst.org/riders-guide/how-to-ride/courtesy-card/" target="_blank" rel="noopener noreferrer">MST Riders Guide</a>.
Monterey-Salinas Transit issues Courtesy Cards to riders who qualify for a number of reduced fare programs. This transit benefit may need to be renewed in the future based on the expiration date of the Courtesy Card. Learn more at the <a href="https://mst.org/riders-guide/how-to-ride/courtesy-card/" target="_blank" rel="noopener noreferrer">MST Riders Guide</a>.
{% endblocktranslate %}
</p>
2 changes: 1 addition & 1 deletion benefits/core/templates/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load i18n %}

{% block title %}
{% translate "Choose Provider" %}
{% translate "Choose transit agency" %}
{% endblock title %}

{% block headline %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load i18n %}

{% block page-title %}
{% translate "Courtesy Card information" %}
{% translate "Agency card overview" %}
{% endblock page-title %}

{% block headline %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load i18n %}

{% block page-title %}
{% translate "Older Adult benefit information" %}
{% translate "Older Adult benefit overview" %}
{% endblock page-title %}

{% block headline %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load i18n %}

{% block page-title %}
{% translate "Veteran benefit information" %}
{% translate "Veterans benefit overview" %}
{% endblock page-title %}

{% block headline %}
Expand Down
2 changes: 1 addition & 1 deletion benefits/eligibility/templates/eligibility/unverified.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load i18n %}

{% block page-title %}
{% translate "Eligibility Error" %}
{% translate "Unable to confirm eligibility" %}
{% endblock page-title %}

{% block main-content %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<div class="media-body--details">
<p>
{% translate "You will be directed to our payment partner, " %}
{% translate "We don’t store your information, and you won’t be charged." %}
{% include "core/includes/modal-trigger.html" with modal="modal--littlepay" text="Littlepay" period=True %}
{% translate "We don’t store your information, and you won’t be charged." %}
</p>
<p>{% translate "Please use a debit or credit card by Visa or Mastercard." %}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion benefits/enrollment/templates/enrollment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load i18n %}

{% block page-title %}
{% translate "Connect your card" %}
{% translate "Eligibility confirmation" %}
{% endblock page-title %}

{% block nav-buttons %}
Expand Down
4 changes: 2 additions & 2 deletions benefits/enrollment/templates/enrollment/retry.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load i18n %}

{% block page-title %}
{% translate "We couldn’t connect your bank card" %}
{% translate "Unable to register card" %}
{% endblock page-title %}

{% block main-content %}
Expand All @@ -14,7 +14,7 @@
<h1 class="h2 text-center">
{% translate "Bank card icon with contactless symbol and question mark" context "image alt text" as alt_i18n %}
<span class="icon d-block pb-5">{% include "core/includes/icon.html" with name="bankcardquestion" alt=alt_i18n %}</span>
{% translate "We couldn’t connect your bank card" %}
{% translate "We couldn’t connect your card" %}
</h1>

<div class="row justify-content-center">
Expand Down
43 changes: 24 additions & 19 deletions benefits/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
"POT-Creation-Date: 2023-08-08 22:20+0000\n"
"POT-Creation-Date: 2023-08-10 19:39+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Confirm your Courtesy Card"
msgid "Agency card information"
msgstr ""

msgid "Let’s see if we can confirm your eligibility."
Expand All @@ -30,13 +30,13 @@ msgstr ""
msgid "This is a 5-digit number on the front and back of your card."
msgstr ""

msgid "last name (as it appears on Courtesy Card)"
msgid "Last name (as it appears on Courtesy Card)"
msgstr ""

msgid "We use this to help confirm your Courtesy Card."
msgstr ""

msgid "Introduction"
msgid "Get started"
msgstr ""

msgid "Get Started"
Expand Down Expand Up @@ -210,11 +210,10 @@ msgid "What is a Courtesy Card?"
msgstr ""

msgid ""
"Courtesy Cards are issued by Monterey-Salinas Transit to riders who qualify "
"for a number of reduced fare programs. This website is a demonstration tool "
"to support the Courtesy Card program. This benefit may need to be renewed in "
"the future based on the expiration date of the Courtesy Card. Learn more at "
"the <a href=\"https://mst.org/riders-guide/how-to-ride/courtesy-card/\" "
"Monterey-Salinas Transit issues Courtesy Cards to riders who qualify for a "
"number of reduced fare programs. This transit benefit may need to be renewed "
"in the future based on the expiration date of the Courtesy Card. Learn more "
"at the <a href=\"https://mst.org/riders-guide/how-to-ride/courtesy-card/\" "
"target=\"_blank\" rel=\"noopener noreferrer\">MST Riders Guide</a>."
msgstr ""

Expand Down Expand Up @@ -250,7 +249,7 @@ msgstr ""
msgid "Get a reduced fare on SacRT light rail when you tap to ride"
msgstr ""

msgid "Choose Provider"
msgid "Choose transit agency"
msgstr ""

msgid "Get a reduced fare on public transportation when you tap to ride"
Expand Down Expand Up @@ -407,8 +406,8 @@ msgid ""
"This option is for people who have served in the active military, naval, or "
"air service, and who were discharged or released therefrom under conditions "
"other than dishonorable. You will need to <a href=\"https://www.va.gov/"
"resources/verifying-your-identity-on-vagov/\" target=\"_blank\" "
"rel=\"noopener noreferrer\">verify your identity through VA.gov</a>."
"resources/verifying-your-identity-on-vagov/\" target=\"_blank\" rel="
"\"noopener noreferrer\">verify your identity through VA.gov</a>."
msgstr ""

#, python-format
Expand All @@ -429,7 +428,7 @@ msgstr ""
msgid "Choose the transit benefit you would like to enroll in"
msgstr ""

msgid "Courtesy Card information"
msgid "Agency card overview"
msgstr ""

msgid "You selected a Courtesy Card transit benefit."
Expand All @@ -438,7 +437,7 @@ msgstr ""
msgid "Continue"
msgstr ""

msgid "Older Adult benefit information"
msgid "Older Adult benefit overview"
msgstr ""

msgid "You selected an Older Adult transit benefit."
Expand All @@ -447,7 +446,7 @@ msgstr ""
msgid "Get started with"
msgstr ""

msgid "Veteran benefit information"
msgid "Veterans benefit overview"
msgstr ""

msgid "You selected a Veteran transit benefit."
Expand All @@ -459,7 +458,7 @@ msgstr ""
msgid "You will need a few items to continue:"
msgstr ""

msgid "Eligibility Error"
msgid "Unable to confirm eligibility"
msgstr ""

msgctxt "image alt text"
Expand Down Expand Up @@ -492,7 +491,7 @@ msgstr ""
msgid "Learn more about Littlepay"
msgstr ""

msgid "Connect your card"
msgid "Eligibility confirmation"
msgstr ""

msgid "Your eligibility is confirmed! You’re nearly there."
Expand All @@ -504,13 +503,16 @@ msgstr ""
msgid "Connect your Card"
msgstr ""

msgid "We couldn’t connect your bank card"
msgid "Unable to register card"
msgstr ""

msgctxt "image alt text"
msgid "Bank card icon with contactless symbol and question mark"
msgstr ""

msgid "We couldn’t connect your card"
msgstr ""

msgid "You can try again or reach out to your transit provider for assistance."
msgstr ""

Expand Down Expand Up @@ -543,7 +545,7 @@ msgstr ""
msgid "If you are on a public or shared computer, don’t forget to sign out of "
msgstr ""

msgid "Invalid state"
msgid "Start over"
msgstr ""

msgid "You may have reached this page on accident."
Expand All @@ -554,6 +556,9 @@ msgid ""
"will be directed to the beginning of the enrollment process."
msgstr ""

msgid "Service is down."
msgstr ""

msgid "Sorry! Service for this site is down."
msgstr ""

Expand Down
Loading

0 comments on commit 25a9f4d

Please sign in to comment.