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;
case "appellant":
case "apelydd":
case "Apelydd":
case t(
"myrepresentations:capacity-options-arr-appellant"
).toLocaleLowerCase():
@@ -543,6 +545,8 @@ let MakeRepresentation = (props) => {
);
break;
case "agent":
case "Asiant":
case "asiant":
case t(
"myrepresentations:capacity-options-arr-agent"
).toLowerCase():
@@ -1188,6 +1192,7 @@ let MakeRepresentation = (props) => {
</h1>
<div id="rep-form">
<div className="govuk-grid-column-three-quarters wgForm">
www
{whichControl()}
</div>
@@ -124,12 +124,7 @@ const RepAgent = (props) => {
name="representationOnBehalfOf"
datafieldname="representationOnBehalfOf"
// label={t("myrepresentations:capacity-select-what-capacity-label")}
options={[
t(
"myrepresentations:questionnaire-yes"
),
t("myrepresentations:questionnaire-no"),
]}
options={["Yes", "No"]}
id="representationOnBehalfOf"
className="govuk-radios__input"
errorMsg={t(
@@ -541,6 +541,13 @@ export const RenderPickList = ({
: optionsArr[key] ==
"Final comments"
? "Sylwadau terfynol"
: optionsArr[key] ==
"Written representations"
? "Sylwadau ysgrifenedig"
: optionsArr[key] == "Inquiry"
? "Ymchwiliad"
: optionsArr[key] == "Hearing"
? "Gwrandawiad"
: optionsArr[key]
: optionsArr[key]}
</option>
@@ -225,7 +225,8 @@ let RepLPA = (props) => {
{!_.has(
formObj["representationForm"],
["values", "representationType"] ||
typeof props.representationType != "undefined"
typeof props.currentView.caseReference.repDetails !=
"undefined"
) ? (
<>
<label