diff --git a/apps/web/screens/OfficialJournalOfIceland/OJOIAdvert.tsx b/apps/web/screens/OfficialJournalOfIceland/OJOIAdvert.tsx index 2709b2766eae..5dfcfa1ee56b 100644 --- a/apps/web/screens/OfficialJournalOfIceland/OJOIAdvert.tsx +++ b/apps/web/screens/OfficialJournalOfIceland/OJOIAdvert.tsx @@ -40,7 +40,7 @@ const OJOIAdvertPage: CustomScreen = ({ const breadcrumbItems = [ { - title: 'Ísland.is', + title: formatMessage(m.breadcrumb.frontpage), href: linkResolver('homepage', [], locale).href, }, { diff --git a/apps/web/screens/OfficialJournalOfIceland/OJOICasesInProgress.tsx b/apps/web/screens/OfficialJournalOfIceland/OJOICasesInProgress.tsx index 3a67d713bf5b..95b5c8972b8f 100644 --- a/apps/web/screens/OfficialJournalOfIceland/OJOICasesInProgress.tsx +++ b/apps/web/screens/OfficialJournalOfIceland/OJOICasesInProgress.tsx @@ -38,7 +38,7 @@ const OJOICasesInProgressPage: CustomScreen = ({ const breadcrumbItems = [ { - title: 'Ísland.is', + title: formatMessage(m.breadcrumb.frontpage), href: linkResolver('homepage', [], locale).href, }, { @@ -46,7 +46,7 @@ const OJOICasesInProgressPage: CustomScreen = ({ href: baseUrl, }, { - title: 'Mál í vinnslu', + title: formatMessage(m.casesInProgress.title), }, ] diff --git a/apps/web/screens/OfficialJournalOfIceland/OJOICategories.tsx b/apps/web/screens/OfficialJournalOfIceland/OJOICategories.tsx index 519fbbc80e87..92dfb3cc75bc 100644 --- a/apps/web/screens/OfficialJournalOfIceland/OJOICategories.tsx +++ b/apps/web/screens/OfficialJournalOfIceland/OJOICategories.tsx @@ -162,7 +162,7 @@ const OJOICategoriesPage: CustomScreen = ({ const breadcrumbItems = [ { - title: 'Ísland.is', + title: formatMessage(m.breadcrumb.frontpage), href: linkResolver('homepage', [], locale).href, }, { @@ -170,7 +170,7 @@ const OJOICategoriesPage: CustomScreen = ({ href: baseUrl, }, { - title: 'Málaflokkar', + title: formatMessage(m.categories.breadcrumbTitle), }, ] diff --git a/apps/web/screens/OfficialJournalOfIceland/OJOIHome.tsx b/apps/web/screens/OfficialJournalOfIceland/OJOIHome.tsx index 7fb2e987a60c..834bc15547b1 100644 --- a/apps/web/screens/OfficialJournalOfIceland/OJOIHome.tsx +++ b/apps/web/screens/OfficialJournalOfIceland/OJOIHome.tsx @@ -61,7 +61,7 @@ const OJOIHomePage: CustomScreen = ({ const breadcrumbItems = [ { - title: 'Ísland.is', + title: formatMessage(m.breadcrumb.frontpage), href: linkResolver('homepage', [], locale).href, }, { diff --git a/apps/web/screens/OfficialJournalOfIceland/OJOISearch.tsx b/apps/web/screens/OfficialJournalOfIceland/OJOISearch.tsx index 04b64ef4d17d..a0afe77b8bae 100644 --- a/apps/web/screens/OfficialJournalOfIceland/OJOISearch.tsx +++ b/apps/web/screens/OfficialJournalOfIceland/OJOISearch.tsx @@ -232,7 +232,7 @@ const OJOISearchPage: CustomScreen = ({ const breadcrumbItems = [ { - title: 'Ísland.is', + title: formatMessage(m.breadcrumb.frontpage), href: linkResolver('homepage', [], locale).href, }, { @@ -240,7 +240,7 @@ const OJOISearchPage: CustomScreen = ({ href: baseUrl, }, { - title: 'Leitarniðurstöður', + title: formatMessage(m.search.breadcrumbTitle), }, ] diff --git a/apps/web/screens/OfficialJournalOfIceland/messages.ts b/apps/web/screens/OfficialJournalOfIceland/messages.ts index a9db186c38a7..cbff4061836b 100644 --- a/apps/web/screens/OfficialJournalOfIceland/messages.ts +++ b/apps/web/screens/OfficialJournalOfIceland/messages.ts @@ -1,6 +1,12 @@ import { defineMessages } from 'react-intl' export const m = { + breadcrumb: defineMessages({ + frontpage: { + id: 'web.ojoi.breadcrumb.frontpage', + defaultMessage: 'Ísland.is', + }, + }), general: defineMessages({ seeMore: { id: 'web.ojoi:general.seeMore', @@ -59,6 +65,10 @@ export const m = { defaultMessage: 'Ekki náðist samband við vefþjónustur Stjórnartíðinda, reynið aftur síðar.', }, + breadcrumbTitle: { + id: 'web.ojoi:search.breadcrumbTitle', + defaultMessage: 'Leitarniðurstöður', + }, title: { id: 'web.ojoi:search.title', defaultMessage: 'Leit í Stjórnartíðindum', @@ -167,6 +177,10 @@ export const m = { }), categories: defineMessages({ + breadcrumbTitle: { + id: 'web.ojoi:categories.breadcrumbTitle', + defaultMessage: 'Málaflokkar', + }, title: { id: 'web.ojoi:categories.title', defaultMessage: 'Málaflokkar Stjórnartíðinda',