Merged PR 2420: added welsh translations of api endpoints
added welsh translations of api endpoints Related work items: #23879
This commit is contained in:
@@ -429,7 +429,8 @@ const DNSSearchResults = (props) => {
|
||||
href={
|
||||
router.locale == "cy"
|
||||
? myportal == true
|
||||
? "/fymhorth/dns"
|
||||
? "/fymhorth/dns/" +
|
||||
item.ticketnumber
|
||||
: "/dns/" +
|
||||
item.ticketnumber
|
||||
: myportal == true
|
||||
@@ -913,7 +914,7 @@ const DNSSearchResults = (props) => {
|
||||
<div className="govuk-grid-column-full">
|
||||
<div className="map-container map-container--expanded">
|
||||
<iframe
|
||||
src={`https://datamap.gov.wales/maps/${mapTarget}/embed?center=-3.6553189192727347,52.214962933659415&zoom=2#/`}
|
||||
src={`https://${locale === "cy" ? "mapdata.llyw.cymru" : "datamap.gov.wales"}/maps/${mapTarget}/embed?center=-3.6553189192727347,52.214962933659415&zoom=2#/`}
|
||||
width="100%"
|
||||
height="600"
|
||||
frameBorder="0"
|
||||
@@ -924,7 +925,7 @@ const DNSSearchResults = (props) => {
|
||||
className="govuk-link map-expand-link"
|
||||
onClick={() => setIsMapExpanded(false)}
|
||||
>
|
||||
Reduce map
|
||||
{t("dnsApplications:reduce-map-link")}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -992,7 +993,7 @@ const DNSSearchResults = (props) => {
|
||||
<div className="govuk-grid-column-one-half">
|
||||
<div className="map-container">
|
||||
<iframe
|
||||
src={`https://datamap.gov.wales/maps/${mapTarget}/embed?center=-3.6553189192727347,52.214962933659415&zoom=2#/`}
|
||||
src={`https://${locale === "cy" ? "mapdata.llyw.cymru" : "datamap.gov.wales"}/maps/${mapTarget}/embed?center=-3.6553189192727347,52.214962933659415&zoom=2#/`}
|
||||
width="100%"
|
||||
height="500"
|
||||
frameBorder="0"
|
||||
@@ -1005,7 +1006,7 @@ const DNSSearchResults = (props) => {
|
||||
className="govuk-link map-expand-link mapSizeButton"
|
||||
onClick={() => setIsMapExpanded(true)}
|
||||
>
|
||||
Enlarge map
|
||||
{t("dnsApplications:enlarge-map-link")}
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user