>
);
@@ -121,7 +126,10 @@ let CaseSearch = (props) => {
aria-describedby="basicSearch-hint"
hint1={t("myportal:searchcases-card-search-hint")}
hint2={t(
- "myportal:searchcases-card-search-example-label"
+ "myportal:searchcases-card-search-example-label-1"
+ )}
+ hint3={t(
+ "myportal:searchcases-card-search-example-label-2"
)}
/>
diff --git a/components/myportal/topthree.js b/components/myportal/topthree.js
index 408b07dd..a77252e8 100644
--- a/components/myportal/topthree.js
+++ b/components/myportal/topthree.js
@@ -218,16 +218,16 @@ const TopThree = (props) => {
let noRecordsLabel = "";
switch (topThreeType) {
case "watchedCases":
- noRecordsLabel = "You are not watching any cases";
+ noRecordsLabel = t("myportal:norecords-watched-cases");
break;
case "myRepresentations":
- noRecordsLabel = "You have no representations";
+ noRecordsLabel = t("myportal:norecords-representations");
break;
case "myCases":
- noRecordsLabel = "You have no cases";
+ noRecordsLabel = t("myportal:norecords-cases");
break;
case "awaitingSubmission":
- noRecordsLabel = "You have no awaiting submissions";
+ noRecordsLabel = t("myportal:norecords-awaiting-submissions");
break;
}
return (
diff --git a/i18n.js b/i18n.js
index 235a7ade..7191ff53 100644
--- a/i18n.js
+++ b/i18n.js
@@ -33,6 +33,7 @@ module.exports = {
"/dnsdetails": ["case", "search", "dnsCommon", "dnsApplications"],
"/help/cookies": ["common", "cookies"],
"/account/register": ["common", "account"],
+ "/account/personaldetails": ["common", "search"],
"/details-about-cookies": ["common", "cookies"],
"/terms-and-conditions": ["common"],
},
diff --git a/locales/cy/account.json b/locales/cy/account.json
index ca0bd367..bcb31768 100644
--- a/locales/cy/account.json
+++ b/locales/cy/account.json
@@ -1,7 +1,7 @@
{
"register-new-account-heading": "Creu cyfrif newydd",
- "register-new-account-status-created-label": "Nid yw'ch cyfrif wedi creu",
- "register-new-account-status-not-created-label": "Mae eich cyfrif wedi'i greu",
+ "register-new-account-status-created-label": "Mae eich cyfrif wedi'i greu",
+ "register-new-account-status-not-created-label": "Nid yw'ch cyfrif wedi creu",
"register-new-account-checking-label": "Gwirio am gyfrif...",
"help-heading": "Help",
"help-sub-heading-1": "Cwmnïau neu gyflwyniadau gan fwy nag un unigolyn (grwpiau)",
diff --git a/locales/cy/myportal.json b/locales/cy/myportal.json
index 240792a3..60cbc88f 100644
--- a/locales/cy/myportal.json
+++ b/locales/cy/myportal.json
@@ -7,10 +7,11 @@
"makenewappeal-card-paragraph-two": "Wedi i chi glicio'r botwm 'gwneud apêl newydd' isod, cewch eich arwain drwy broses i'ch helpu i ddewis y math cywir o apêl.",
"makenewappeal-card-button-label": "Gwneud apêl newydd",
"mycases-card-title": "Fy achosion",
- "searchcases-card-title": "Chwilio am ddogfennau apêl",
- "searchcases-card-search-hint": "Chwiliwch drwy roi cyfeirnod 7 digid yr achos",
- "searchcases-card-search-example-label": "Enghraifft:",
- "searchcases-card-button": "Cyflwyno Chwiliad",
+ "searchcases-card-title": "Chwilio apeliadau a Datblygiadau o Arwyddocâd Cenedlaethol",
+ "searchcases-card-search-hint": "Defnyddiwch gyfeimod yr achos neu deitl DAC 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-2": "CAS-12345-A1B2C3",
+ "searchcases-card-button": "Cyflwyno chwiliad",
"searchcases-card-advanced-link": "Chwiliad uwch",
"searchcases-validation-required": "Angenrheidiol",
"searchcases-validation-minlength": "Rhaid bod yn 4 nod neu fwy",
@@ -25,5 +26,9 @@
"yourdetails-card-link": "Gweld manylion eich cyfrif",
"changepassword-card-title": "Newid eich cyfrinair",
"changepassword-card-paragraph-one": "Gallwch chi newid eich cyfrinair",
- "changepassword-card-link": "Diweddarwch eich cyfrinair"
+ "changepassword-card-link": "Diweddarwch eich cyfrinair",
+ "norecords-cases": "Nid oes gennych unrhyw achosion",
+ "norecords-representations": "Nid oes gennych unrhyw sylwadau",
+ "norecords-watched-cases": "Nid ydych yn gwylio unrhyw achosion",
+ "norecords-awaiting-submission": "Nid oes gennych unrhyw gyflwyniadau sy'n aros"
}
\ No newline at end of file
diff --git a/locales/en/account.json b/locales/en/account.json
index d5b11a32..6ec50ee2 100644
--- a/locales/en/account.json
+++ b/locales/en/account.json
@@ -1,7 +1,7 @@
{
"register-new-account-heading": "Create a new account",
- "register-new-account-status-created-label": "Your account has not created",
- "register-new-account-status-not-created-label": "Your account has been created",
+ "register-new-account-status-created-label": "Your account has created",
+ "register-new-account-status-not-created-label": "Your account has not been created",
"register-new-account-checking-label": "Checking for account...",
"help-heading": "Help",
"help-sub-heading-1": "Companies or submissions by more than one individual (groups)",
diff --git a/locales/en/myportal.json b/locales/en/myportal.json
index 4af3f07c..a50b8bcd 100644
--- a/locales/en/myportal.json
+++ b/locales/en/myportal.json
@@ -7,9 +7,10 @@
"makenewappeal-card-paragraph-two": "Once you click the 'make a new appeal' button below you will be guided through a process to help you select the correct appeal type",
"makenewappeal-card-button-label": "Make a new appeal",
"mycases-card-title": "My cases",
- "searchcases-card-title": "Appeal documentation search",
- "searchcases-card-search-hint": "Search by entering the 7 digit case reference number",
- "searchcases-card-search-example-label": "Example",
+ "searchcases-card-title": "Search appeals and Developments of National Significance",
+ "searchcases-card-search-hint": "Use the case reference or DNS title to search. Case reference will be similar to one of the following:",
+ "searchcases-card-search-example-label-1": "APP-A12345-A-21-1234567",
+ "searchcases-card-search-example-label-2": "CAS-12345-A1B2C3",
"searchcases-card-button": "Submit Search",
"searchcases-card-advanced-link": "Advanced Search",
"searchcases-validation-required": "Required",
@@ -25,5 +26,9 @@
"yourdetails-card-link": "View your account details",
"changepassword-card-title": "Change your password",
"changepassword-card-paragraph-one": "You can change your password",
- "changepassword-card-link": "Update your password"
+ "changepassword-card-link": "Update your password",
+ "norecords-cases": "You have no cases",
+ "norecords-representations": "You have no representations",
+ "norecords-watched-cases": "You are not watching any cases",
+ "norecords-awaiting-submission": "You have no awaiting submissions"
}
\ No newline at end of file
diff --git a/pages/account/register.js b/pages/account/register.js
index d77a917d..3981a80b 100644
--- a/pages/account/register.js
+++ b/pages/account/register.js
@@ -61,19 +61,26 @@ const Home = (props) => {
) : (