welsh lang for yes no

This commit is contained in:
2025-02-11 10:18:26 +00:00
parent e23cdef338
commit 4bc4edf537
4 changed files with 15 additions and 7 deletions
+5
View File
@@ -479,6 +479,8 @@ let MakeRepresentation = (props) => {
/>; />;
break; break;
case "appellant": case "appellant":
case "apelydd":
case "Apelydd":
case t( case t(
"myrepresentations:capacity-options-arr-appellant" "myrepresentations:capacity-options-arr-appellant"
).toLocaleLowerCase(): ).toLocaleLowerCase():
@@ -543,6 +545,8 @@ let MakeRepresentation = (props) => {
); );
break; break;
case "agent": case "agent":
case "Asiant":
case "asiant":
case t( case t(
"myrepresentations:capacity-options-arr-agent" "myrepresentations:capacity-options-arr-agent"
).toLowerCase(): ).toLowerCase():
@@ -1188,6 +1192,7 @@ let MakeRepresentation = (props) => {
</h1> </h1>
<div id="rep-form"> <div id="rep-form">
<div className="govuk-grid-column-three-quarters wgForm"> <div className="govuk-grid-column-three-quarters wgForm">
www
{whichControl()} {whichControl()}
</div> </div>
@@ -124,12 +124,7 @@ const RepAgent = (props) => {
name="representationOnBehalfOf" name="representationOnBehalfOf"
datafieldname="representationOnBehalfOf" datafieldname="representationOnBehalfOf"
// label={t("myrepresentations:capacity-select-what-capacity-label")} // label={t("myrepresentations:capacity-select-what-capacity-label")}
options={[ options={["Yes", "No"]}
t(
"myrepresentations:questionnaire-yes"
),
t("myrepresentations:questionnaire-no"),
]}
id="representationOnBehalfOf" id="representationOnBehalfOf"
className="govuk-radios__input" className="govuk-radios__input"
errorMsg={t( errorMsg={t(
@@ -541,6 +541,13 @@ export const RenderPickList = ({
: optionsArr[key] == : optionsArr[key] ==
"Final comments" "Final comments"
? "Sylwadau terfynol" ? "Sylwadau terfynol"
: optionsArr[key] ==
"Written representations"
? "Sylwadau ysgrifenedig"
: optionsArr[key] == "Inquiry"
? "Ymchwiliad"
: optionsArr[key] == "Hearing"
? "Gwrandawiad"
: optionsArr[key] : optionsArr[key]
: optionsArr[key]} : optionsArr[key]}
</option> </option>
@@ -225,7 +225,8 @@ let RepLPA = (props) => {
{!_.has( {!_.has(
formObj["representationForm"], formObj["representationForm"],
["values", "representationType"] || ["values", "representationType"] ||
typeof props.representationType != "undefined" typeof props.currentView.caseReference.repDetails !=
"undefined"
) ? ( ) ? (
<> <>
<label <label