Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spanish translations from catalina 01 29 24 #578

Merged
merged 4 commits into from
Jan 30, 2024

Conversation

analoo
Copy link
Contributor

@analoo analoo commented Jan 30, 2024

No description provided.

@analoo analoo marked this pull request as draft January 30, 2024 00:34
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-578 January 30, 2024 00:35 Inactive
@@ -22,7 +22,7 @@
content=~{::householdMembers})}">
<th:block th:ref="householdMembers">
<th:block
th:replace="~{fragments/inputs/radio :: radio(inputName=${inputName},value='you', label=${inputData.firstName + ' ' + inputData.lastName + ' (you) '})}"/>
th:replace="~{fragments/inputs/radio :: radio(inputName=${inputName},value='you', label=${inputData.firstName + ' ' + inputData.lastName + ' ' + #messages.msg('general.you')})}"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was causing issues with the spanish translation since the text always appeared as "(you)"

@@ -12,7 +12,7 @@
<main id="content" role="main" class="form-card spacing-above-35">
<p class="grey-text" th:text="${fieldData.get('employerName')}"></p>
<th:block
th:replace="~{fragments/cardHeader :: cardHeader(header=${messageVariant == 'self' ? #messages.msgWithParams('self-employment.header', 'your') : #messages.msgWithParams('self-employment.header', fieldData.get('householdMemberJobAdd') + '''s')})}"/>
th:replace="~{fragments/cardHeader :: cardHeader(header=${messageVariant == 'self' ? #messages.msg('self-employment.header-self') : #messages.msgWithParams('self-employment.header', fieldData.get('householdMemberJobAdd'))})}"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated this text so that we would have a version for self and a version for others. The spanish translation wasn't lending itself to this and I imagine the vietnamese translation might have issues too

@analoo analoo marked this pull request as ready for review January 30, 2024 20:04
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-578 January 30, 2024 20:06 Inactive
Updated to match new keys for self employment
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-578 January 30, 2024 20:11 Inactive
@analoo analoo merged commit 942a96f into main Jan 30, 2024
5 checks passed
@analoo analoo deleted the spanish-translations-from-catalina-01-29-24 branch January 30, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants