Skip to content

Commit

Permalink
refactor(copy): msgid eligibility strings
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Aug 7, 2023
1 parent 2733570 commit 9481733
Show file tree
Hide file tree
Showing 14 changed files with 257 additions and 135 deletions.
46 changes: 38 additions & 8 deletions benefits/core/templates/core/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,48 @@ <h2 class="pt-8" id="payment-options">{% translate "What kind of credit card can
{% endif %}

<h2 class="pt-8" id="login-gov">{% translate "What is Login.gov?" %}</h2>
<p class="pt-4">{% translate "eligibility.pages.index.senior.help.p[0]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.index.senior.help.p[2]" %}</p>
<p class="pt-4">
{% blocktranslate trimmed %}
Login.gov is a service that offers secure and private online access to government programs, such as federal
benefits, services and applications. With a Login.gov account, you can sign into multiple government websites with
the same email address and password.
{% endblocktranslate %}
</p>
<p class="pt-4">
{% blocktranslate trimmed %}
For more information on Login.gov, please visit the
<a href="https://login.gov/help/" target="_blank" rel="noopener noreferrer">Login.gov Help Center</a>.
{% endblocktranslate %}
</p>

<h2 class="pt-8" id="why-login-gov">{% translate "Why is Cal-ITP Benefits using Login.gov?" %}</h2>
<p class="pt-4">{% translate "eligibility.pages.index.senior.help.p[1]" %}</p>
<p class="pt-4">
{% blocktranslate trimmed %}
Login.gov uses two-factor authentication, and stronger passwords, that meet new National Institute of Standards of
Technology requirements for secure validation and verification. By using Login.gov, you’ll get an extra layer of
security to help protect your account against password compromises.
{% endblocktranslate %}
</p>

<h2 class="pt-8" id="login-gov-verify">{% translate "How do I verify my identity on Login.gov?" %}</h2>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[0]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[1]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[2]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[3]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[4]" %}</p>
<p class="pt-4">
{% translate "We use Login.gov to verify your identity to make sure you are eligible for the transit benefit you selected." %}
</p>
<p class="pt-4">
{% translate "You will need a state-issued ID to verify your identity with Login.gov, which can be either a driver’s license or non-driver’s license state-issued ID card." %}
</p>
<p class="pt-4">
{% translate "You will need to upload a photograph of your state-issued ID and share your address, phone number and other personal information which is then verified against authoritative sources." %}
</p>
<p class="pt-4">
{% translate "Login.gov will also need to verify your identity by calling or texting your phone. If Login.gov can’t verify your phone number, you can verify by mail instead." %}
</p>
<p class="pt-4">
{% blocktranslate trimmed %}
Please visit the Login.gov help center for
<a href="https://login.gov/help/" target="_blank" rel="noopener noreferrer">more information on identity verification</a>.
{% endblocktranslate %}
</p>

{% if agency and agency.help_template %}
{% include agency.help_template %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
{% load i18n %}

{% block heading %}
{% translate "Your current Courtesy Card number" %}
{% translate "Your current Courtesy Card number" %}
{% endblock heading %}

{% block body %}
<div class="media-body--details">
<p>{% translate "eligibility.pages.start.mst_courtesy_card.start_item.details" %}</p>
</div>
<div class="media-body--details">
<p>
{% translate "You do not need to have your physical card, but you will need to know the number. The number starts with a number sign (#) followed by five digits." %}
</p>
</div>
{% endblock body %}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% block body %}
<div class="media-body--details">
<p>
{% translate "eligibility.pages.start.senior.start_item.details" %}
{% translate "You will be able to create an account using your email address if you do not already have one. We use your Login.gov account to verify your identity." %}
{% translate "Learn more about identity verification" as trigger_text %}
{% include "core/includes/modal-trigger-link.html" with id="modal--identity-verification" text=trigger_text %}
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,24 @@
{% load i18n %}

{% block heading %}
{% translate "Access to your preferred VA related account" %}
{% translate "Access to your preferred VA related account" %}
{% endblock heading %}

{% block body %}
<div class="media-body--details">
<p>{% translate "eligibility.pages.start.veteran.start_item.details" %}</p>
<div class="media-body--items">
<ul>
<li>{% translate "Login.gov" %}</li>
<li>{% translate "ID.me" %}</li>
<li>{% translate "DS Logon" %}</li>
<li>{% translate "My HealtheVet" %}</li>
</ul>
<p class="pt-1">{% translate "eligibility.pages.start.veteran.start_item.secondary_details" %}</p>
</div>
<div class="media-body--details">
<p>
{% translate "You will need to sign into VA.gov in order to verify your identity and your veteran status. VA.gov uses the following services:" %}
</p>
<div class="media-body--items">
<ul>
<li>{% translate "Login.gov" %}</li>
<li>{% translate "ID.me" %}</li>
<li>{% translate "DS Logon" %}</li>
<li>{% translate "My HealtheVet" %}</li>
</ul>
<p class="pt-1">
{% translate "If you do not have an account with any of these services, you will need to create one. We recommend using Login.gov." %}
</p>
</div>
</div>
{% endblock body %}
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,38 @@
{% load static %}

{% block modal-content %}
<h2 class="me-4 me-md-0">
{% translate "Learn more about" %}
<img class="icon" width="197" height="26" src="{% static "img/login-gov-logo.svg" %}" alt="{% translate "TODO" context "image alt text" %}" />
</h2>
<div class="row">
<h3 class="pt-4">{% translate "What is Login.gov?" %}</h3>
<p class="pt-1">{% translate "eligibility.pages.index.senior.help.p[0]" %}</p>
<h2 class="me-4 me-md-0">
{% translate "Learn more about" %}
<img class="icon" width="197" height="26" src="{% static "img/login-gov-logo.svg" %}" alt="{% translate "TODO" context "image alt text" %}" />
</h2>
<div class="row">
<h3 class="pt-4">{% translate "What is Login.gov?" %}</h3>
<p class="pt-1">
{% blocktranslate trimmed %}
Login.gov is a service that offers secure and private online access to government programs, such as federal
benefits, services and applications. With a Login.gov account, you can sign into multiple government websites with
the same email address and password.
{% endblocktranslate %}
</p>

<h3 class="pt-4">{% translate "Why is Cal-ITP Benefits using Login.gov?" %}</h3>
<p class="pt-1">{% translate "eligibility.pages.index.senior.help.p[1]" %}</p>
<h3 class="pt-4">{% translate "Why is Cal-ITP Benefits using Login.gov?" %}</h3>
<p class="pt-1">
{% blocktranslate trimmed %}
Login.gov uses two-factor authentication, and stronger passwords, that meet new National Institute of Standards of
Technology requirements for secure validation and verification. By using Login.gov, you’ll get an extra layer of
security to help protect your account against password compromises.
{% endblocktranslate %}
</p>

<p class="pt-4">{% translate "eligibility.pages.index.senior.help.p[2]" %}</p>
<p class="pt-4">
{% blocktranslate trimmed %}
For more information on Login.gov, please visit the
<a href="https://login.gov/help/" target="_blank" rel="noopener noreferrer">Login.gov Help Center</a>.
{% endblocktranslate %}
</p>

<p class="pt-4 d-block d-sm-none">
<a href="#" data-bs-dismiss="modal" aria-label="Close">{% translate "Go back" %}</a>
</p>
</div>
<p class="pt-4 d-block d-sm-none">
<a href="#" data-bs-dismiss="modal" aria-label="Close">{% translate "Go back" %}</a>
</p>
</div>
{% endblock modal-content %}
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,31 @@
{% load static %}

{% block modal-content %}
<h2 class="me-4 me-md-0">
{% translate "Verify your identity with " %}
<img class="icon" width="197" height="26" src="{% static "img/login-gov-logo.svg" %}" alt="{% translate "TODO" context "image alt text" %}" />
</h2>
<div class="row">
<p class="pt-3">{% translate "eligibility.pages.start.senior.help.p[0]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[1]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[2]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[3]" %}</p>
<p class="pt-4">{% translate "eligibility.pages.start.senior.help.p[4]" %}</p>
<p class="pt-4 d-block d-sm-none">
<a href="#" data-bs-dismiss="modal" aria-label="Close">{% translate "Go back" %}</a>
</p>
</div>
<h2 class="me-4 me-md-0">
{% translate "Verify your identity with " %}
<img class="icon" width="197" height="26" src="{% static "img/login-gov-logo.svg" %}" alt="{% translate "TODO" context "image alt text" %}" />
</h2>
<div class="row">
<p class="pt-3">
{% translate "We use Login.gov to verify your identity to make sure you are eligible for the transit benefit you selected." %}
</p>
<p class="pt-4">
{% translate "You will need a state-issued ID to verify your identity with Login.gov, which can be either a driver’s license or non-driver’s license state-issued ID card." %}
</p>
<p class="pt-4">
{% translate "You will need to upload a photograph of your state-issued ID and share your address, phone number and other personal information which is then verified against authoritative sources." %}
</p>
<p class="pt-4">
{% translate "Login.gov will also need to verify your identity by calling or texting your phone. If Login.gov can’t verify your phone number, you can verify by mail instead." %}
</p>
<p class="pt-4">
{% blocktranslate trimmed %}
Please visit the Login.gov help center for
<a href="https://login.gov/help/" target="_blank" rel="noopener noreferrer">more information on identity verification</a>.
{% endblocktranslate %}
</p>
<p class="pt-4 d-block d-sm-none">
<a href="#" data-bs-dismiss="modal" aria-label="Close">{% translate "Go back" %}</a>
</p>
</div>
{% endblock modal-content %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
{% endblock label %}

{% block description %}
{% translate "eligibility.pages.index.mst_courtesy_card.description" %}
{% translate "This option is for people who have a current Courtesy Card or an MST RIDES eligibility card." %}
{% endblock description %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% endblock label %}

{% block description %}
{% translate "eligibility.pages.index.senior.description" %}
{% translate "You must be 65 years or older. You will need to verify your identity with" %}

<!-- Button to trigger modal -->
<button id="login" type="button" class="border-0 bg-transparent p-0" data-bs-toggle="modal" data-bs-target="#modal--login-gov">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
{% load i18n %}

{% block label %}
{% translate "US Veteran" %}
{% translate "US Veteran" %}
{% endblock label %}

{% block description %}
{% translate "eligibility.pages.index.veteran.description" %}
{% blocktranslate trimmed %}
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>.
{% endblocktranslate %}
{% endblock description %}
4 changes: 3 additions & 1 deletion benefits/eligibility/templates/eligibility/index--mst.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
{% load i18n %}

{% block explanatory-text %}
<p class="pt-4 pb-4 pb-lg-8">{% translate "eligibility.pages.index.intro.mst" %}</p>
<p class="pt-4 pb-4 pb-lg-8">
{% translate "Cal-ITP doesn’t save any of your information. All MST transit benefits reduce fares by 50% for buses on fixed routes." %}
</p>
{% endblock explanatory-text %}
4 changes: 3 additions & 1 deletion benefits/eligibility/templates/eligibility/index--sacrt.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
{% load i18n %}

{% block explanatory-text %}
<p class="pt-4 pb-4 pb-lg-8">{% translate "eligibility.pages.index.intro.sacrt" %}</p>
<p class="pt-4 pb-4 pb-lg-8">
{% translate "Cal-ITP doesn’t save any of your information. All SacRT transit benefits reduce fares by 50% for light rail." %}
</p>
{% endblock explanatory-text %}
2 changes: 1 addition & 1 deletion benefits/eligibility/templates/eligibility/unverified.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1 class="h2 text-center">
<div class="col-lg-8 pt-4">
<p>
{% translate "That’s okay! You may still be eligible for our program." %}
{% blocktranslate with short_name=agency.short_name %}eligibility.pages.unverified.p[0]s[1]{{ short_name }}{% endblocktranslate %}
{% blocktranslate with short_name=agency.short_name %}Please reach out to {{ short_name }} for assistance.{% endblocktranslate %}
</p>
</div>
</div>
Expand Down
Loading

0 comments on commit 9481733

Please sign in to comment.