diff --git a/src/translations/default.ts b/src/translations/default.ts index b24fc3e60..10b0702b2 100644 --- a/src/translations/default.ts +++ b/src/translations/default.ts @@ -81,6 +81,11 @@ const processingTimesVisibilityTypes: { [key in ProcessingTimesVisibilityType]: }; export const translationsBundleNb = { + relatedContent, + taxonomies, + areas, + productDetailTypes, + processingTimesVisibilityTypes, localeNames: { no: 'norsk (bokmål)', nn: 'nynorsk', @@ -165,9 +170,6 @@ export const translationsBundleNb = { STOTTEKONTAKT: 'Støttekontakt', TILRETTELAGT_TRANSPORT: 'Tilrettelagt transport (TT-kort)', }, - relatedContent, - taxonomies, - areas, products: { person: 'For privatpersoner', employer: 'For arbeidsgivere', @@ -312,8 +314,6 @@ export const translationsBundleNb = { months: 'måneder', }, }, - productDetailTypes, - processingTimesVisibilityTypes, payoutDates: { tableHeaderPrefix: 'Utbetalingsdatoer i', tableHeaderPrefixNoYear: 'Utbetalingsdatoer', diff --git a/src/translations/en.ts b/src/translations/en.ts index 78e915dd3..fff3b08a9 100644 --- a/src/translations/en.ts +++ b/src/translations/en.ts @@ -12,6 +12,21 @@ import { } from 'types/content-props/product-details'; import { PartialTranslations } from './default'; +const relatedContent: { [key in MenuListItemKey]: string } = { + [MenuListItemKey.AppealRights]: 'Appeal rights', + [MenuListItemKey.FormAndApplication]: 'Form and application', + [MenuListItemKey.International]: 'International', + [MenuListItemKey.Membership]: 'Membership', + [MenuListItemKey.ProcessTimes]: 'Processing times', + [MenuListItemKey.Rates]: 'Rates', + [MenuListItemKey.RelatedInformation]: 'Related information', + [MenuListItemKey.ReportChanges]: 'Report changes', + [MenuListItemKey.RulesAndRegulations]: 'Laws and regulations', + [MenuListItemKey.Saksbehandling]: 'Procedural', + [MenuListItemKey.Selfservice]: 'Selfservice', + [MenuListItemKey.Shortcuts]: 'Shortcuts', +}; + const taxonomies: { [key in Taxonomy]?: string; } = { @@ -53,22 +68,36 @@ const areas: { [key in Area]?: string } = { [Area.OTHER]: 'General', }; +const productDetailTypes: { [key in ProductDetailType]: string } = { + [ProductDetailType.PAYOUT_DATES]: 'payment dates', + [ProductDetailType.PROCESSING_TIMES]: 'processing times', + [ProductDetailType.RATES]: 'rates', + [ProductDetailType.ALL_PRODUCTS]: 'all', +}; +const processingTimesVisibilityTypes: { [key in ProcessingTimesVisibilityType]: string } = { + [ProcessingTimesVisibilityType.ALL]: '', + [ProcessingTimesVisibilityType.APPLICATION]: 'application', + [ProcessingTimesVisibilityType.COMPLAINT]: 'appeal', +}; + export const translationsBundleEn: PartialTranslations = { + relatedContent, + taxonomies, + areas, + productDetailTypes, + processingTimesVisibilityTypes, stringParts: { conjunction: 'and', for: 'for', this: 'this', }, - dates: { - published: 'Published', - lastChanged: 'Updated', - }, calculator: { calculate: 'Calculate', error: 'Sorry, an error has occurred in the calculator with the following error message:', }, - linkLists: { - moreNews: 'More news', + dates: { + published: 'Published', + lastChanged: 'Updated', }, linkList: { label: 'List of links', @@ -79,6 +108,30 @@ export const translationsBundleEn: PartialTranslations = { customizeContent: 'Customize content', showingInformationFor: 'Showing information for:', }, + pressLanding: { + latestPressNews: 'Latest press and news', + morePressNews: 'More press releases and news', + pressShortcuts: 'Shortcuts', + news: 'News', + press: 'Press release', + published: 'Published', + }, + linkLists: { + moreNews: 'More news', + }, + currentTopic: { + tag: 'Featured', + }, + mainArticle: { + facts: 'Facts', + tableOfContents: 'Table of contents', + contents: 'Contents', + news: 'News', + pressRelease: 'Press release', + }, + mainPanels: { + label: 'Main panels', + }, audienceServices: { HJELP_KOMME_I_JOBB: 'Employment help', NODSITUASJON: @@ -108,76 +161,6 @@ export const translationsBundleEn: PartialTranslations = { STOTTEKONTAKT: 'Støttekontakt', TILRETTELAGT_TRANSPORT: 'Arranged transport (TT card)', }, - currentTopic: { - tag: 'Featured', - }, - pressLanding: { - latestPressNews: 'Latest press and news', - morePressNews: 'More press releases and news', - pressShortcuts: 'Shortcuts', - news: 'News', - press: 'Press release', - published: 'Published', - }, - mainArticle: { - facts: 'Facts', - tableOfContents: 'Table of contents', - contents: 'Contents', - news: 'News', - pressRelease: 'Press release', - }, - mainPanels: { label: 'Main panels' }, - publishingCalendar: { - publishdate: 'Date', - event: 'Publication', - }, - office: { - youFindUsHere: 'You can find us here', - officeInformation: 'Office information', - location: 'Location', - postalAddress: 'Postal address', - orgNumber: 'Org number', - officeNumber: 'Office number', - phoneToNav: 'NAV phone number is', - phoneToHMS: 'Phone number to Hjelpemiddelsentralen is', - phoneInformation: - 'Phone hours, weekdays at 9-15. NAV call center will assist you or connect you with your NAV office.', - alternativeContacts: 'Other contact options:', - taglineOffice: 'NAV office', - taglineHMS: 'Assistive technology centre', - }, - dateTime: { - weekDayNames: { - mon: 'Monday', - tue: 'Tuesday', - wed: 'Wednesday', - thu: 'Thursday', - fri: 'Friday', - sat: 'Saturday', - sun: 'Sunday', - }, - relatives: { - today: 'today', - tomorrow: 'tomorrow', - }, - time: 'time', - day: 'day', - date: 'date', - }, - relatedContent: { - [MenuListItemKey.AppealRights]: 'Appeal rights', - [MenuListItemKey.FormAndApplication]: 'Form and application', - [MenuListItemKey.International]: 'International', - [MenuListItemKey.Membership]: 'Membership', - [MenuListItemKey.ProcessTimes]: 'Processing times', - [MenuListItemKey.Rates]: 'Rates', - [MenuListItemKey.RelatedInformation]: 'Related information', - [MenuListItemKey.ReportChanges]: 'Report changes', - [MenuListItemKey.RulesAndRegulations]: 'Laws and regulations', - [MenuListItemKey.Saksbehandling]: 'Procedural', - [MenuListItemKey.Selfservice]: 'Selfservice', - [MenuListItemKey.Shortcuts]: 'Shortcuts', - }, products: { person: 'For individuals', employer: 'For employers', @@ -193,8 +176,10 @@ export const translationsBundleEn: PartialTranslations = { employer: 'For employers', provider: 'For providers', }, - taxonomies, - areas, + publishingCalendar: { + publishdate: 'Date', + event: 'Publication', + }, header: { copyLink: 'Copy link', copyLinkTo: 'Copy link to', @@ -206,8 +191,8 @@ export const translationsBundleEn: PartialTranslations = { search: 'Search', filterOrSearch: 'Use filters or search', loading: 'Loading content...', - any: 'From A to Z', resetFilters: 'Reset filters', + any: 'From A to Z', more: 'More about', areas: { choose: 'Choose area', @@ -262,6 +247,39 @@ export const translationsBundleEn: PartialTranslations = { seeMoreOptions: 'See more phone numbers and calling options', }, }, + office: { + youFindUsHere: 'You can find us here', + officeInformation: 'Office information', + location: 'Location', + postalAddress: 'Postal address', + orgNumber: 'Org number', + officeNumber: 'Office number', + phoneToNav: 'NAV phone number is', + phoneToHMS: 'Phone number to Hjelpemiddelsentralen is', + phoneInformation: + 'Phone hours, weekdays at 9-15. NAV call center will assist you or connect you with your NAV office.', + alternativeContacts: 'Other contact options:', + taglineOffice: 'NAV office', + taglineHMS: 'Assistive technology centre', + }, + dateTime: { + weekDayNames: { + mon: 'Monday', + tue: 'Tuesday', + wed: 'Wednesday', + thu: 'Thursday', + fri: 'Friday', + sat: 'Saturday', + sun: 'Sunday', + }, + relatives: { + today: 'today', + tomorrow: 'tomorrow', + }, + time: 'time', + day: 'day', + date: 'date', + }, pageWarnings: { draftWarning: 'Draft - this page is still in progress', failoverWarning: @@ -279,17 +297,6 @@ export const translationsBundleEn: PartialTranslations = { months: 'months', }, }, - productDetailTypes: { - [ProductDetailType.PAYOUT_DATES]: 'payment dates', - [ProductDetailType.PROCESSING_TIMES]: 'processing times', - [ProductDetailType.RATES]: 'rates', - [ProductDetailType.ALL_PRODUCTS]: 'all', - }, - processingTimesVisibilityTypes: { - [ProcessingTimesVisibilityType.ALL]: '', - [ProcessingTimesVisibilityType.APPLICATION]: 'application', - [ProcessingTimesVisibilityType.COMPLAINT]: 'appeal', - }, payoutDates: { tableHeaderPrefix: 'Payment dates in', tableHeaderPrefixNoYear: 'Payment dates', diff --git a/src/translations/nn.ts b/src/translations/nn.ts index 3bca515f3..9499e7162 100644 --- a/src/translations/nn.ts +++ b/src/translations/nn.ts @@ -64,6 +64,9 @@ const areas: { [key in Area]?: string } = { }; export const translationsBundleNn: PartialTranslations = { + relatedContent, + taxonomies, + areas, stringParts: { conjunction: 'og', for: 'for', @@ -86,6 +89,14 @@ export const translationsBundleNn: PartialTranslations = { customizeContent: 'Tilpass innhald', showingInformationFor: 'Viser informasjon for:', }, + pressLanding: { + latestPressNews: 'Siste pressemeldingar og nyheiter', + morePressNews: 'Fleire pressemeldingar og nyheiter', + pressShortcuts: 'Snarvegar', + news: 'Nyheit', + press: 'Pressemelding', + published: 'Publisert', + }, linkLists: { moreNews: 'Fleire nyheiter', }, @@ -134,9 +145,6 @@ export const translationsBundleNn: PartialTranslations = { STOTTEKONTAKT: 'Støttekontakt', TILRETTELAGT_TRANSPORT: 'Tilrettelagt transport (TT-kort)', }, - relatedContent, - taxonomies, - areas, products: { person: 'For privatpersonar', employer: 'For arbeidsgjevarar', @@ -161,30 +169,15 @@ export const translationsBundleNn: PartialTranslations = { copyLinkTo: 'Kopier lenke til', copiedLinkConfirmed: 'Lenka er kopiert', }, - office: { - youFindUsHere: 'Du finn oss her', - officeInformation: 'Kontorinformasjon', - location: 'Plassering', - postalAddress: 'Postadresse', - orgNumber: 'Organisasjonsnummer', - officeNumber: 'Kontornummer', - phoneToNav: 'Telefonnummeret til NAV er', - phoneToHMS: 'Telefonnummeret til Hjelpemiddelsentralen er', - phoneInformation: - 'Telefontid kvardagar kl 9–15. NAV Kontaktsenter kan hjelpe deg, eller sette deg i kontakt med NAV-kontoret ditt.', - alternativeContacts: 'Andre kontaktopplysningar:', - taglineOffice: 'NAV-kontor', - taglineHMS: 'Hjelpemiddelsentral', - }, overview: { noHits: 'Ingen treff med dei valde filtera.', numHits: 'Viser $1 av $2', search: 'Søk', filterOrSearch: 'Bruk filter eller søk', loading: 'Laster innhald...', + resetFilters: 'Nullstill filter', any: 'Frå A til Å', more: 'Meir om', - resetFilters: 'Nullstill filter', areas: { choose: 'Vel område', ariaExplanation: 'Filtrer lista etter område', @@ -196,14 +189,6 @@ export const translationsBundleNn: PartialTranslations = { ariaItemExplanation: 'Vis type', }, }, - pressLanding: { - latestPressNews: 'Siste pressemeldingar og nyheiter', - morePressNews: 'Fleire pressemeldingar og nyheiter', - pressShortcuts: 'Snarvegar', - news: 'Nyheit', - press: 'Pressemelding', - published: 'Publisert', - }, form: { back: 'Tilbake', }, @@ -245,6 +230,21 @@ export const translationsBundleNn: PartialTranslations = { seeMoreOptions: 'Sjå fleire telefonnummer og tasteval.', }, }, + office: { + youFindUsHere: 'Du finn oss her', + officeInformation: 'Kontorinformasjon', + location: 'Plassering', + postalAddress: 'Postadresse', + orgNumber: 'Organisasjonsnummer', + officeNumber: 'Kontornummer', + phoneToNav: 'Telefonnummeret til NAV er', + phoneToHMS: 'Telefonnummeret til Hjelpemiddelsentralen er', + phoneInformation: + 'Telefontid kvardagar kl 9–15. NAV Kontaktsenter kan hjelpe deg, eller sette deg i kontakt med NAV-kontoret ditt.', + alternativeContacts: 'Andre kontaktopplysningar:', + taglineOffice: 'NAV-kontor', + taglineHMS: 'Hjelpemiddelsentral', + }, dateTime: { weekDayNames: { mon: 'Måndag',