diff --git a/components/case/summary.js b/components/case/summary.js
index 87e7f3e0..e5ad44dc 100644
--- a/components/case/summary.js
+++ b/components/case/summary.js
@@ -262,7 +262,9 @@ const CaseSummary = (props) => {
? detailsObj[
"pinswg_linkedstatus@OData.Community.Display.V1.FormattedValue"
]
- : "Not linked"}
+ : t(
+ "case:summary-case-link-status-not-linked"
+ )}
diff --git a/components/header.js b/components/header.js
index 032ac1b1..d0ac40a3 100644
--- a/components/header.js
+++ b/components/header.js
@@ -20,6 +20,7 @@ const Header = (props) => {
"/dns/application-view",
"/searchresults",
"/case",
+ "advancedsearch",
];
const hasContactLink = [
"/dns",
diff --git a/data/lookuptranslations.json b/data/lookuptranslations.json
new file mode 100644
index 00000000..7fdf3517
--- /dev/null
+++ b/data/lookuptranslations.json
@@ -0,0 +1,181 @@
+{
+ "appealTypes": [
+ {
+ "value": "Planning Appeal - S78",
+ "value_cy": "Apêl Cynllunio - S78",
+ "stringmapid": "cb4aa9f2-e275-eb11-aabd-00224800be9c",
+ "attributevalue": 846040000
+ },
+ {
+ "value": "Planning Conditions - S73 + S79",
+ "value_cy": "Amodau Cynllunio - S73 + S79",
+ "stringmapid": "cc4aa9f2-e275-eb11-aabd-00224800be9c",
+ "attributevalue": 846040001
+ },
+ {
+ "value": "Planning Obligation Appeal - S106",
+ "value_cy": "Apêl Rhwymedigaeth Cynllunio - S106",
+ "stringmapid": "ce4aa9f2-e275-eb11-aabd-00224800be9c",
+ "attributevalue": 846040003
+ },
+ {
+ "value": "Householder Appeal (HAS)",
+ "value_cy": "Apêl Deiliaid Tai (HAS)",
+ "stringmapid": "cf4aa9f2-e275-eb11-aabd-00224800be9c",
+ "attributevalue": 846040004
+ },
+ {
+ "value": "Enforcement Notice Appeal - S174",
+ "value_cy": "Apêl Rhybudd Gorfodi - S174",
+ "stringmapid": "b656f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040005
+ },
+ {
+ "value": "Enforcement Listed Building and Conservation Appeal - S39",
+ "value_cy": "Apêl Adeiladu a Chadwraeth Rhestredig Gorfodi - S39",
+ "stringmapid": "b756f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040006
+ },
+ {
+ "value": "Maintenance of Land - S217",
+ "value_cy": "Cynnal a Chadw Tir - S217",
+ "stringmapid": "b856f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040007
+ },
+ {
+ "value": "Lawful Development Certificate Appeal - S194 + 195",
+ "value_cy": "Apêl Tystysgrif Datblygu Cyfreithlon - S194 + 195",
+ "stringmapid": "b956f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040008
+ },
+ {
+ "value": "Community Infrastructure Levy - S117, 118, & 119",
+ "value_cy": "Ardoll Seilwaith Cymunedol - S117, 118, & 119",
+ "stringmapid": "ba56f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040009
+ },
+ {
+ "value": "Call-Ins - S77",
+ "value_cy": "Galw-i-Mewn - S77",
+ "stringmapid": "bb56f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040010
+ },
+ {
+ "value": "DNS",
+ "value_cy": "DNS",
+ "stringmapid": "bc56f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040011
+ },
+ {
+ "value": "Electricity Act",
+ "value_cy": "Deddf Trydan",
+ "stringmapid": "bd56f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040012
+ },
+ {
+ "value": "Transport and Works Act",
+ "value_cy": "Deddf Trafnidiaeth a Gwaith",
+ "stringmapid": "be56f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040013
+ },
+ {
+ "value": "Harbour Revision Order",
+ "value_cy": "Gorchymyn Adolygu'r Harbwr",
+ "stringmapid": "bf56f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040014
+ },
+ {
+ "value": "ROW",
+ "value_cy": "ROW",
+ "stringmapid": "c056f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040015
+ },
+ {
+ "value": "Common Land",
+ "value_cy": "Tir Cyffredin",
+ "stringmapid": "c156f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040016
+ },
+ {
+ "value": "High Hedges, Tree Preservation orders, Hedgerows, Tree Replacement Notice.",
+ "value_cy": "Gwrychoedd Uchel, Gorchmynion Cadw Coed, Gwrychoedd, Rhybudd Amnewid Coed.",
+ "stringmapid": "c256f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040017
+ },
+ {
+ "value": "Adverts",
+ "value_cy": "Hysbysebion",
+ "stringmapid": "c356f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040018
+ },
+ {
+ "value": "Compulsory Purchase Orders",
+ "value_cy": "Gorchmynion Prynu Gorfodol",
+ "stringmapid": "c456f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040019
+ },
+ {
+ "value": "Environmental Permitting",
+ "value_cy": "Caniatáu Amgylcheddol",
+ "stringmapid": "c556f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040020
+ },
+ {
+ "value": "Wayleave",
+ "value_cy": "Wayleave",
+ "stringmapid": "c656f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040021
+ },
+ {
+ "value": "Misc Casework",
+ "value_cy": "Gwaith Achos Amrywiol",
+ "stringmapid": "c756f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040022
+ },
+ {
+ "value": "LDP",
+ "value_cy": "LDP",
+ "stringmapid": "c856f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040023
+ },
+ {
+ "value": "Non-Validation",
+ "value_cy": "Peidio â dilysu",
+ "stringmapid": "c956f05c-7f90-eb11-aac2-00224800be9c",
+ "attributevalue": 846040024
+ },
+ {
+ "value": "Listed Building and Conservation Area Consent S73 + S79",
+ "value_cy": "Cydsyniad Ardal Adeiladu a Chadwraeth Rhestredig S73 + S79",
+ "stringmapid": "977522df-8aef-eb11-aac7-00224800be9c",
+ "attributevalue": 846040025
+ }
+ ],
+ "statusCodes": [
+ {
+ "value": "Active",
+ "value_cy": "Egnïol",
+ "statuscode": 1
+ },
+ {
+ "value": "In Progress",
+ "value_cy": "Ar y gweill",
+ "statuscode": 2
+ },
+ {
+ "value": "On Hold",
+ "value_cy": "Ar Ddal",
+ "statuscode": 3
+ },
+ {
+ "value": "Waiting for a Decision",
+ "value_cy": "Aros am Benderfyniad",
+ "statuscode": 4
+ },
+ {
+ "value": "Researching",
+ "value_cy": "Ymchwilio",
+ "statuscode": 5
+ }
+ ]
+}
diff --git a/locales/cy/case.json b/locales/cy/case.json
index d68e1689..28237029 100644
--- a/locales/cy/case.json
+++ b/locales/cy/case.json
@@ -15,6 +15,7 @@
"summary-status-label": "Statws",
"summary-decision-label": "Penderfyniad a chanlyniad",
"summary-case-link-status-label": "Statws cysylltiad yr Achos",
+ "summary-case-link-status-not-linked": "Heb gysylltiad",
"summary-linked-cases-label": "Achosion cysylltiedig",
"summary-dates-label": "Dyddiadau",
"summary-start-date-label": "Dyddiad Dechrau",
diff --git a/locales/en/case.json b/locales/en/case.json
index c9f6196c..f7a70dd3 100644
--- a/locales/en/case.json
+++ b/locales/en/case.json
@@ -15,6 +15,7 @@
"summary-status-label": "Status",
"summary-decision-label": "Decision and Outcome",
"summary-case-link-status-label": "Case Link Status",
+ "summary-case-link-status-not-linked": "Not linked",
"summary-linked-cases-label": "Linked Cases",
"summary-dates-label": "Dates",
"summary-start-date-label": "Start Date",
diff --git a/pages/searchresults.js b/pages/searchresults.js
index 512699d8..823aefed 100644
--- a/pages/searchresults.js
+++ b/pages/searchresults.js
@@ -101,6 +101,7 @@ const getSearchDetails = (searchResultsObj) => {
]
.replace(/(\band|[\s\-\+\(\)\,\&])/g, "")
.toLowerCase()
+ .slice(0, 39)
),
searchDetail.ticketnumber
)