update language translations placeholders

This commit is contained in:
2024-04-11 11:26:07 +01:00
parent 282879c702
commit cb27f80e7f
13 changed files with 127 additions and 42 deletions
+18 -2
View File
@@ -188,12 +188,28 @@ const TopThree = (props) => {
<div className="cardModuleReference">
<b>{t("myportal:representation-type")}:</b>
{" "}
{showTopThreeArr[key].representationType}
{router.locale == "cy"
? jsonpath(
'$..[?(@.value=="' +
showTopThreeArr[key].representationType +
'")].value_cy',
transLookup
)
: showTopThreeArr[key].representationType || ""}
</div>
<div className="cardModuleReference">
<b>{t("myportal:capacity")}:</b>
{" "}
{showTopThreeArr[key].representationCapacity}
{router.locale == "cy"
? jsonpath(
'$..[?(@.value=="' +
showTopThreeArr[key]
.representationCapacity +
'")].value_cy',
transLookup
)
: showTopThreeArr[key].representationCapacity || ""}
</div>
<div className="cardModuleReference">
<b>{t("myportal:date-raised")}:</b>