-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
@@ -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')})}"/> |
There was a problem hiding this comment.
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'))})}"/> |
There was a problem hiding this comment.
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
Updated to match new keys for self employment
No description provided.