Skip to content

Commit

Permalink
Adding/removing contentful messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ballioli committed Jan 9, 2025
1 parent b744840 commit 3426711
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,9 @@ export const projectPurchaseSection = buildSubSection({
children: [
buildMultiField({
id: 'projectPurchase',
title: information.general.pageTitle,
description: information.general.description,
title: information.labels.projectPurchase.pageTitle,
description: information.labels.projectPurchase.pageDescription,
children: [
buildDescriptionField({
id: 'projectPurchase.description',
title: information.labels.projectPurchase.descriptionField,
titleVariant: 'h5',
}),
buildAlertMessageField({
id: 'projectPurchase.alertMessage',
title: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export const workhealthSection = buildSubSection({
children: [
buildMultiField({
id: 'workhealth',
title: information.general.pageTitle,
description: information.general.description,
title: information.labels.workhealth.pageTitle,
description: information.labels.workhealth.pageDescription,
children: [
buildDescriptionField({
id: 'companyInformation.description',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const information = {
},
descriptionField: {
id: 'aosh.wan.application:information.workhealth.descriptionField',
defaultMessage: 'Vinnuverndarstarf',
defaultMessage: 'Vinnuverndarstörf',
description: 'H5 of workhealth information page',
},
errorAlert: {
Expand All @@ -147,6 +147,16 @@ export const information = {
description:
'error alert on workhealth information page when user attempt to navigate forwards without choosing an option',
},
pageTitle: {
id: 'aosh.wan.application:information.workhealth.pageTitle',
defaultMessage: 'Vinnuvernd',
description: 'Title of workhealth information page',
},
pageDescription: {
id: 'aosh.wan.application:information.workhealth.pageDescription',
defaultMessage: 'Öryggis- og heilbrigðisstarfsemi fyrirtækisins.',
description: 'Description of workhealth information page',
},
},
projectPurchase: {
sectionTitle: {
Expand Down Expand Up @@ -177,6 +187,16 @@ export const information = {
defaultMessage: 'Nafn',
description: 'Name, in project purchase section',
},
pageTitle: {
id: 'aosh.wan.application:information.projectPurchase.pageTitle',
defaultMessage: 'Verkkaupi',
description: 'Title of project purchase information page',
},
pageDescription: {
id: 'aosh.wan.application:information.projectPurchase.pageDescription',
defaultMessage: 'Verkkaupi',
description: 'Description of project purchase information page',
},
},
},
}

0 comments on commit 3426711

Please sign in to comment.