From 54bbc06bd84437c6b38e2f6c57060f21a8318720 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 19 Feb 2023 14:08:33 +0100 Subject: . --- src/i18n/en/index.ts | 8 ++++---- src/i18n/formatters.ts | 11 +++++------ src/i18n/nb/index.ts | 8 ++++---- 3 files changed, 13 insertions(+), 14 deletions(-) (limited to 'src/i18n') diff --git a/src/i18n/en/index.ts b/src/i18n/en/index.ts index 796f4a5..a6b79c2 100644 --- a/src/i18n/en/index.ts +++ b/src/i18n/en/index.ts @@ -1,13 +1,13 @@ -import type { BaseTranslation } from '../i18n-types' +import type { BaseTranslation } from "../i18n-types"; const en = { contact: { title: "Contact us", addressTitle: "Address", emailTitle: "Email", - phoneTitle: "Phone" + phoneTitle: "Phone", }, homeTitle: "Home", -} satisfies BaseTranslation +} satisfies BaseTranslation; -export default en +export default en; diff --git a/src/i18n/formatters.ts b/src/i18n/formatters.ts index 78734f9..b1fd5a3 100644 --- a/src/i18n/formatters.ts +++ b/src/i18n/formatters.ts @@ -1,11 +1,10 @@ -import type { FormattersInitializer } from 'typesafe-i18n' -import type { Locales, Formatters } from './i18n-types' +import type { FormattersInitializer } from "typesafe-i18n"; +import type { Locales, Formatters } from "./i18n-types"; export const initFormatters: FormattersInitializer = (locale: Locales) => { - const formatters: Formatters = { // add your formatter functions here - } + }; - return formatters -} + return formatters; +}; diff --git a/src/i18n/nb/index.ts b/src/i18n/nb/index.ts index 9e13fba..5206b07 100644 --- a/src/i18n/nb/index.ts +++ b/src/i18n/nb/index.ts @@ -1,13 +1,13 @@ -import type { Translation } from '../i18n-types' +import type { Translation } from "../i18n-types"; const nb = { contact: { title: "Kontakt oss", addressTitle: "Adresse", emailTitle: "E-postadresse", - phoneTitle: "Telefon" + phoneTitle: "Telefon", }, homeTitle: "Hjem", -} satisfies Translation +} satisfies Translation; -export default nb +export default nb; -- cgit v1.3