14759 display logic and welsh translations
This commit is contained in:
@@ -30,7 +30,9 @@ const EventsDetails = (props) => {
|
|||||||
<div className="govuk-grid-row">
|
<div className="govuk-grid-row">
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
<h2 className="govuk-heading-m ">Events</h2>
|
<h2 className="govuk-heading-m ">
|
||||||
|
{t("case:event-title")}
|
||||||
|
</h2>
|
||||||
{eventsArr.map(
|
{eventsArr.map(
|
||||||
(item, key) =>
|
(item, key) =>
|
||||||
item.pinswg_eventpublishflag && (
|
item.pinswg_eventpublishflag && (
|
||||||
|
|||||||
@@ -307,8 +307,7 @@ const CaseSummary = (props) => {
|
|||||||
href="#case-details"
|
href="#case-details"
|
||||||
onClick={() => setWhichTab("case-details")}
|
onClick={() => setWhichTab("case-details")}
|
||||||
>
|
>
|
||||||
{" "}
|
{t("case:summary-tab-details-label")}
|
||||||
Details{" "}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
@@ -323,8 +322,7 @@ const CaseSummary = (props) => {
|
|||||||
href="#case-summary"
|
href="#case-summary"
|
||||||
onClick={() => setWhichTab("case-summary")}
|
onClick={() => setWhichTab("case-summary")}
|
||||||
>
|
>
|
||||||
{" "}
|
{t("case:summary-tab-summary-label")}
|
||||||
Summary{" "}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{((hasValidKey(
|
{((hasValidKey(
|
||||||
@@ -355,8 +353,7 @@ const CaseSummary = (props) => {
|
|||||||
href="#case-map"
|
href="#case-map"
|
||||||
onClick={() => setWhichTab("case-map")}
|
onClick={() => setWhichTab("case-map")}
|
||||||
>
|
>
|
||||||
{" "}
|
{t("case:summary-tab-map-label")}
|
||||||
Map{" "}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
)}
|
)}
|
||||||
@@ -376,7 +373,7 @@ const CaseSummary = (props) => {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
{" "}
|
{" "}
|
||||||
Events{" "}
|
{t("case:summary-tab-events-label")}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
)}
|
)}
|
||||||
@@ -394,8 +391,7 @@ const CaseSummary = (props) => {
|
|||||||
setWhichTab("case-documents")
|
setWhichTab("case-documents")
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{" "}
|
{t("case:summary-tab-documents-label")}
|
||||||
Documents{" "}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ const Header = (props) => {
|
|||||||
"/",
|
"/",
|
||||||
"/logout",
|
"/logout",
|
||||||
"/dns",
|
"/dns",
|
||||||
|
"/dns/[developmentName]",
|
||||||
"/dns/application-process",
|
"/dns/application-process",
|
||||||
"/dns/help",
|
"/dns/help",
|
||||||
"/dns/contact-us",
|
"/dns/contact-us",
|
||||||
@@ -47,6 +48,7 @@ const Header = (props) => {
|
|||||||
"/newappeal/[appealtypes]",
|
"/newappeal/[appealtypes]",
|
||||||
"/newappeal",
|
"/newappeal",
|
||||||
"/myportal/dnsapplications",
|
"/myportal/dnsapplications",
|
||||||
|
"/myportal/dns/[developmentName]",
|
||||||
"/myportal/dnsdetails",
|
"/myportal/dnsdetails",
|
||||||
"/myportal/addresssearch",
|
"/myportal/addresssearch",
|
||||||
"/myportal/addresssearchresults",
|
"/myportal/addresssearchresults",
|
||||||
|
|||||||
@@ -349,7 +349,8 @@ const DNSSearchResults = (props) => {
|
|||||||
router.locale == "cy"
|
router.locale == "cy"
|
||||||
? myportal == true
|
? myportal == true
|
||||||
? "/fymhorth/dns"
|
? "/fymhorth/dns"
|
||||||
: "/dns"
|
: "/dns/" +
|
||||||
|
item.ticketnumber
|
||||||
: myportal == true
|
: myportal == true
|
||||||
? "/myportal/dns/" +
|
? "/myportal/dns/" +
|
||||||
item.ticketnumber
|
item.ticketnumber
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"page-title": "Cyfeirnod",
|
"page-title": "Cyfeirnod",
|
||||||
"case-card-title": "Cyfeirnod: APP/B1415/W/20/3271702",
|
"case-card-title": "Cyfeirnod: APP/B1415/W/20/3271702",
|
||||||
|
"summary-tab-details-label": "Manylion",
|
||||||
|
"summary-tab-summary-label": "Crynodeb",
|
||||||
|
"summary-tab-map-label": " Map",
|
||||||
|
"summary-tab-events-label": " Digwyddiadau",
|
||||||
|
"summary-tab-documents-label": "Dogfennau",
|
||||||
"summary-reference-label": "Cyfeirnod",
|
"summary-reference-label": "Cyfeirnod",
|
||||||
"summary-applicant-label": "Apelydd",
|
"summary-applicant-label": "Apelydd",
|
||||||
"summary-applicantonly-label": "Ymgeisydd",
|
"summary-applicantonly-label": "Ymgeisydd",
|
||||||
@@ -103,6 +108,7 @@
|
|||||||
"representation-date-passed-label": "Mae'r cyfnod cyflwyno sylwadau ar gyfer yr apêl hon rhwng {{startDate}} a {{endDate}}",
|
"representation-date-passed-label": "Mae'r cyfnod cyflwyno sylwadau ar gyfer yr apêl hon rhwng {{startDate}} a {{endDate}}",
|
||||||
"representation-date-passed-additional-label": "Gallwch wneud sylw drwy e-bostio,",
|
"representation-date-passed-additional-label": "Gallwch wneud sylw drwy e-bostio,",
|
||||||
"date-raised": "Dyddiad codi",
|
"date-raised": "Dyddiad codi",
|
||||||
|
"event-title": "Digwyddiadau",
|
||||||
"event-name-label": " Enw",
|
"event-name-label": " Enw",
|
||||||
"event-event-name-label": "Enw'r digwyddiad ",
|
"event-event-name-label": "Enw'r digwyddiad ",
|
||||||
"event-address-label": "Cyfeiriad ",
|
"event-address-label": "Cyfeiriad ",
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"page-title": "Prosiectau Isadeiledd",
|
"page-title": "Prosiectau Isadeiledd",
|
||||||
"page-intro-paragraph-1": "Mae dau fath gwahanol o gais ar gyfer prosiectau seilwaith, sef Datblygiadau o Arwyddocâd Cenedlaethol a Phrosiectau Seilwaith Arwyddocaol.",
|
"page-intro-paragraph-1": "Mae dau fath gwahanol o gais ar gyfer prosiectau seilwaith, sef Datblygiadau o Arwyddocâd Cenedlaethol a Phrosiectau Seilwaith Arwyddocaol.",
|
||||||
"page-intro-list-item-1 ": " Datblygiadau o Arwyddocâd Cenedlaethol yw datblygiadau a ddiffinnir yn ",
|
"page-intro-list-item-1": " Datblygiadau o Arwyddocâd Cenedlaethol yw datblygiadau a ddiffinnir yn ",
|
||||||
"page-intro-list-item-1-link": "https://www.llyw.cymru/datblygiadau-o-arwyddocad-cenedlaethol-dns-ceisiadau",
|
"page-intro-list-item-1-link": "https://www.llyw.cymru/datblygiadau-o-arwyddocad-cenedlaethol-dns-ceisiadau",
|
||||||
"page-intro-list-item-2 ": "Mae Prosiectau Seilwaith Arwyddocaol yn ddatblygiadau sydd wedi'u diffinio (YMA)",
|
"page-intro-list-item-2": "Mae Prosiectau Seilwaith Arwyddocaol yn ddatblygiadau sydd wedi'u diffinio (YMA)",
|
||||||
"page-intro-list-item-2-link": "https://www.llyw.cymru/datblygiadau-o-arwyddocad-cenedlaethol-dns-ceisiadau",
|
"page-intro-list-item-2-link": "https://www.llyw.cymru/datblygiadau-o-arwyddocad-cenedlaethol-dns-ceisiadau",
|
||||||
"page-intro-list-item-3": "Lle penderfynwyd ar gynnig.",
|
"page-intro-list-item-3": "Lle penderfynwyd ar gynnig.",
|
||||||
"page-intro-paragraph-2": "Defnyddiwch y tabl isod i ddod o hyd i geisiadau fesul cam neu fath. Fel arall, defnyddiwch y map trwy glicio ar y marcwyr i fynd i’r dudalen geisiadau. Mae rhestr o ddigwyddiadau a therfynau amser allweddol ar gyfer pob cais ar gael ar ein ",
|
"page-intro-paragraph-2": "Defnyddiwch y tabl isod i ddod o hyd i geisiadau fesul cam neu fath. Fel arall, defnyddiwch y map trwy glicio ar y marcwyr i fynd i’r dudalen geisiadau. Mae rhestr o ddigwyddiadau a therfynau amser allweddol ar gyfer pob cais ar gael ar ein ",
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
"login-card-forgotten-link": "Cliciwch yma",
|
"login-card-forgotten-link": "Cliciwch yma",
|
||||||
"login-via-gov-gateway-label": "Mewngofnodwch drwy Borth y Llywodraeth",
|
"login-via-gov-gateway-label": "Mewngofnodwch drwy Borth y Llywodraeth",
|
||||||
"login-via-nextuth-label": "Mewngofnodwch gyda'ch cyfeiriad e-bost",
|
"login-via-nextuth-label": "Mewngofnodwch gyda'ch cyfeiriad e-bost",
|
||||||
"casesearch-card-title ": "Chwilio am achos",
|
"casesearch-card-title": "Chwilio am achos",
|
||||||
"casesearch-card-search-hint ": "Defnyddiwch gyfeirnod yr achos neu deitl y prosiect Infrastructure i chwilio. Bydd cyfeirnod yr achos yn debyg i un o'r canlynol:",
|
"casesearch-card-search-hint": "Defnyddiwch gyfeirnod yr achos neu deitl y prosiect Infrastructure i chwilio. Bydd cyfeirnod yr achos yn debyg i un o'r canlynol:",
|
||||||
"casesearch-card-search-example-label-1": "APP-A12345-A-21-1234567",
|
"casesearch-card-search-example-label-1": "APP-A12345-A-21-1234567",
|
||||||
"casesearch-card-search-example-label-2": "CAS-12345-A1B2C3",
|
"casesearch-card-search-example-label-2": "CAS-12345-A1B2C3",
|
||||||
"casesearch-card-button": "Cyflwyno chwiliad",
|
"casesearch-card-button": "Cyflwyno chwiliad",
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
"makenewappeal-card-guidance-link": "https://www.llyw.cymru/arweiniad-ar-apeliadau-cheisiadau",
|
"makenewappeal-card-guidance-link": "https://www.llyw.cymru/arweiniad-ar-apeliadau-cheisiadau",
|
||||||
"makenewappeal-card-button-label": "Gwneud apêl newydd",
|
"makenewappeal-card-button-label": "Gwneud apêl newydd",
|
||||||
"mycases-card-title": "Fy achosion",
|
"mycases-card-title": "Fy achosion",
|
||||||
"searchcases-card-title ": "Chwilio am achos",
|
"searchcases-card-title": "Chwilio am achos",
|
||||||
"searchcases-card-search-hint ": "Defnyddiwch gyfeirnod yr achos neu deitl y prosiect Infrastructure i chwilio. Bydd cyfeirnod yr achos yn debyg i un o'r canlynol:",
|
"searchcases-card-search-hint": "Defnyddiwch gyfeirnod yr achos neu deitl y prosiect Infrastructure i chwilio. Bydd cyfeirnod yr achos yn debyg i un o'r canlynol:",
|
||||||
"searchcases-card-search-example-label-1": "APP-A12345-A-21-1234567",
|
"searchcases-card-search-example-label-1": "APP-A12345-A-21-1234567",
|
||||||
"searchcases-card-search-example-label-2": "CAS-12345-A1B2C3",
|
"searchcases-card-search-example-label-2": "CAS-12345-A1B2C3",
|
||||||
"searchcases-card-button": "Cyflwyno Chwiliad",
|
"searchcases-card-button": "Cyflwyno Chwiliad",
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"page-title": "Reference",
|
"page-title": "Reference",
|
||||||
"case-card-title": "Reference: APP/B1415/W/20/3271702",
|
"case-card-title": "Reference: APP/B1415/W/20/3271702",
|
||||||
|
"summary-tab-details-label": "Details",
|
||||||
|
"summary-tab-summary-label": "Summary",
|
||||||
|
"summary-tab-map-label": "Map",
|
||||||
|
"summary-tab-events-label": "Events",
|
||||||
|
"summary-tab-documents-label": "Documents",
|
||||||
"summary-reference-label": "Reference",
|
"summary-reference-label": "Reference",
|
||||||
"summary-applicant-label": "Appellant",
|
"summary-applicant-label": "Appellant",
|
||||||
"summary-applicantonly-label": "Applicant",
|
"summary-applicantonly-label": "Applicant",
|
||||||
@@ -103,6 +108,7 @@
|
|||||||
"representation-date-passed-label": "The representation period for this appeal is between {{startDate}} and {{endDate}}",
|
"representation-date-passed-label": "The representation period for this appeal is between {{startDate}} and {{endDate}}",
|
||||||
"representation-date-passed-additional-label": "You can make a representation by emailing,",
|
"representation-date-passed-additional-label": "You can make a representation by emailing,",
|
||||||
"date-raised": "Date raised",
|
"date-raised": "Date raised",
|
||||||
|
"event-title": "Events",
|
||||||
"event-name-label": "Name",
|
"event-name-label": "Name",
|
||||||
"event-event-name-label": "Event name",
|
"event-event-name-label": "Event name",
|
||||||
"event-address-label": "Address",
|
"event-address-label": "Address",
|
||||||
|
|||||||
Reference in New Issue
Block a user