Skip to content

Commit 0b1b219

Browse files
BB2-3285/BB2-3286: Update text of auth screens (#1218)
* Update text of auth screens * Minor PR template update * Adjust django.po * fix selenium local run script (it was broken with -p) * Update selenium base image --------- Co-authored-by: jimfuqian <[email protected]>
1 parent 6b80829 commit 0b1b219

File tree

7 files changed

+22
-18
lines changed

7 files changed

+22
-18
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This PR template is here to help ensure you're setup for success:
55
-->
66

77
**JIRA Ticket:**
8-
[SOMEPROJECT-42](https://jira.cms.gov/browse/SOMEPROJECT-42)
8+
[BB2-XXXX](https://jira.cms.gov/browse/BB2-XXXX)
99

1010
**User Story or Bug Summary:**
1111
<!-- Please copy-paste the brief user story or bug description that this PR is intended to address. -->

Dockerfile.selenium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM selenium/standalone-chrome
1+
FROM seleniarm/standalone-chromium
22

33
ENV PYTHONUNBUFFERED 1
44
USER root

apps/dot_ext/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
from apps.capabilities.models import ProtectedCapability
3434

3535
TEN_HOURS = _("for 10 hours")
36+
THIRTEEN_MONTHS = _("for 13 months, until ")
3637

3738

3839
class Application(AbstractApplication):
@@ -165,7 +166,7 @@ def access_end_date_text(self):
165166
return TEN_HOURS
166167
# no message displayed for RESEARCH_STUDY
167168
else:
168-
return _("until ")
169+
return THIRTEEN_MONTHS
169170

170171
def access_end_date(self):
171172
if self.data_access_type == "THIRTEEN_MONTH":

apps/integration_tests/selenium_cases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Action(Enum):
110110
# language and localization checking
111111
AUTH_SCREEN_ID_LANG = "connect_app"
112112
AUTH_SCREEN_ID_END_DATE = "permission_end_date"
113-
AUTH_SCREEN_ES_TXT = "Conectar los datos de sus reclamos de Medicare"
113+
AUTH_SCREEN_ES_TXT = "Desea compartir sus datos de Medicare"
114114
AUTH_SCREEN_EN_TXT = "Connect your Medicare claims"
115115
# regex for date formats
116116
AUTH_SCREEN_ES_DATE_FORMAT = "^\\d{1,2} de \\w+ de \\d{4}"

docker-compose/run_selenium_tests_local.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,28 @@ while getopts "hp" option; do
9494
esac
9595
done
9696

97+
eval last_arg=\$$#
98+
9799
set_msls
98100

99101
# Parse command line option
100102
if [ $# -eq 0 ]
101103
then
102104
echo "Use Mock SLS for identity service."
103105
else
104-
echo $1
105-
if [[ $1 != "slsx" && $1 != "mslsx" && $1 != "logit" && $1 != "account" ]]
106+
echo $last_arg
107+
if [[ $last_arg != "slsx" && $last_arg != "mslsx" && $last_arg != "logit" && $last_arg != "account" ]]
106108
then
107-
echo "Invalid argument: " $1
109+
echo "Invalid argument: " $last_arg
108110
display_usage
109111
exit 1
110112
else
111-
if [[ $1 == "slsx" ]]
113+
if [[ $last_arg == "slsx" ]]
112114
then
113115
export USE_MSLSX=false
114116
set_slsx
115117
fi
116-
if [[ $1 == "logit" ]]
118+
if [[ $last_arg == "logit" ]]
117119
then
118120
# cleansing log file before run
119121
rm -rf ./docker-compose/tmp/
@@ -122,7 +124,7 @@ else
122124
export TESTS_LIST="./apps/integration_tests/logging_tests.py::TestLoggings::test_auth_fhir_flows_logging"
123125
export DJANGO_LOG_JSON_FORMAT_PRETTY=False
124126
fi
125-
if [[ $1 == "account" ]]
127+
if [[ $last_arg == "account" ]]
126128
then
127129
# cleansing log file before run
128130
rm -rf ./docker-compose/tmp/
13 Bytes
Binary file not shown.

templates/design_system/locale/es/LC_MESSAGES/django.po

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# TRANSLATORS: text and punctuation after 'msgid' is the English text requiring translation.
55
# The translation text should go within the quotation marks following the 'msgstr' identifier.
66
# Please add/maintain all punctuation and whitespce found in the original text.
7+
# When updating this file, run `django-admin compilemessages` for the changes to be compiled.
78
#, fuzzy
89
msgid ""
910
msgstr ""
@@ -70,11 +71,11 @@ msgstr ""
7071

7172
#: templates/design_system/new_authorize_v2.html:56
7273
msgid "Connect your Medicare claims data to "
73-
msgstr "¿Conectar los datos de sus reclamos de Medicare a "
74+
msgstr "¿Desea compartir sus datos de Medicare con "
7475

7576
#: templates/design_system/new_authorize_v2.html:58
7677
msgid "If you connect, "
77-
msgstr "Si se conecta, "
78+
msgstr "Si los comparte, "
7879

7980
#: templates/design_system/new_authorize_v2.html:58
8081
msgid "will have access to information about your:"
@@ -94,23 +95,23 @@ msgstr "Medicamentos recetados"
9495

9596
#: templates/design_system/new_authorize_v2.html:70
9697
msgid "You can also grant access to your:"
97-
msgstr "También puede darle acceso a su:"
98+
msgstr "También puede compartir su:"
9899

99100
#: templates/design_system/new_authorize_v2.html:89
100101
msgid "Personal Information"
101102
msgstr "Información personal"
102103

103104
#: templates/design_system/new_authorize_v2.html:89
104105
msgid "Your name, address, date of birth, race, and gender"
105-
msgstr "Su nombre, dirección, fecha de nacimiento y género"
106+
msgstr "Su nombre, dirección, fecha de nacimiento y sexo"
106107

107108
#: templates/design_system/new_authorize_v2.html:92
108109
msgid "Uncheck to block access to personal information."
109-
msgstr "Quite la marca para bloquear el acceso a información personal"
110+
msgstr "Quite la marca para no compartir su información personal"
110111

111112
#: templates/design_system/new_authorize_v2.html:93
112113
msgid "Check to allow access to personal information."
113-
msgstr "Marque para permitir el acceso a la información personal."
114+
msgstr "Añade la marca para compartir su información personal."
114115

115116
#: templates/design_system/new_authorize_v2.html:127
116117
msgid "Learn more about how "
@@ -137,8 +138,8 @@ msgid " will have access to your data "
137138
msgstr " tendrá acceso a sus datos "
138139

139140
#: templates/design_system/new_authorize_v2.html:145
140-
msgid "until "
141-
msgstr "hasta el "
141+
msgid "for 13 months, until "
142+
msgstr "durante 13 meses, hasta el "
142143

143144
#: templates/design_system/new_authorize_v2.html:145
144145
msgid "for 10 hours"

0 commit comments

Comments
 (0)