aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2023-02-19 14:08:33 +0100
committerivarlovlie <git@ivarlovlie.no>2023-02-19 14:08:33 +0100
commit54bbc06bd84437c6b38e2f6c57060f21a8318720 (patch)
treea0f9beb425829e304cdf239709e7d23a13b0fcc8 /src/i18n
parent06ce8fbab52c5c25a67a1518f1888b083b5edde3 (diff)
downloadauroraklinikken.no-54bbc06bd84437c6b38e2f6c57060f21a8318720.tar.xz
auroraklinikken.no-54bbc06bd84437c6b38e2f6c57060f21a8318720.zip
.
Diffstat (limited to 'src/i18n')
-rw-r--r--src/i18n/en/index.ts8
-rw-r--r--src/i18n/formatters.ts11
-rw-r--r--src/i18n/nb/index.ts8
3 files changed, 13 insertions, 14 deletions
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<Locales, Formatters> = (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;