Skip to content

Commit 496ed5f

Browse files
authored
jimfuqian/BB2-3790 Change 'gender' to 'sex' on perm screen web template (#1309)
* replace 'gender' with 'sex' across web UI resources. * gen .mo file, install native libs needed for django i18n message compiling. * fix linting
1 parent ea00d2b commit 496ed5f

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM --platform=linux/amd64 python:3.11
22
ENV PYTHONUNBUFFERED 1
33
ENV PYDEVD_DISABLE_FILE_VALIDATION 1
4+
RUN apt-get update && apt-get install -y gettext
45
RUN useradd -m -s /bin/bash DEV
56
USER DEV
67
ADD . /code

templates/design_system/authorize_v2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h1 class="ds-u-font-size--h2">{{ application.name }} has asked for some of your
3030
<li>Information about your doctor/hospital visits</li>
3131
<li>Information about the prescription medications you take</li>
3232
{% if application.require_demographic_scopes != False %}
33-
<li>Personal Information like your name, address, date of birth, race, and gender</li>
33+
<li>Personal Information like your name, address, date of birth, race, and sex</li>
3434
{% endif %}
3535

3636
</ul>
-3 Bytes
Binary file not shown.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ msgid "Personal Information"
102102
msgstr "Información personal"
103103

104104
#: templates/design_system/new_authorize_v2.html:89
105-
msgid "Your name, address, date of birth, race, and gender"
105+
msgid "Your name, address, date of birth, race, and sex"
106106
msgstr "Su nombre, dirección, fecha de nacimiento y sexo"
107107

108108
#: templates/design_system/new_authorize_v2.html:92

templates/design_system/new_authorize_v2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h1 class="ds-text-heading--2xl ds-u-margin-bottom--3"><span id="connect_app">{%
8686
/>
8787
<label class="ds-c-label ds-u-text-align--left" for="radio_1">
8888

89-
<span class="ds-text-body--md">{% trans "Personal Information" %}<br>{% trans "Your name, address, date of birth, race, and gender" %}</span>
89+
<span class="ds-text-body--md">{% trans "Personal Information" %}<br>{% trans "Your name, address, date of birth, race, and sex" %}</span>
9090
</label>
9191
</div>
9292
<span class="ds-c-field__hint" id="allow_access" role="presentation" aria-hidden="true">{% trans "Uncheck to block access to personal information." %}</span>

0 commit comments

Comments
 (0)