aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2023-02-21 23:24:14 +0100
committerivarlovlie <git@ivarlovlie.no>2023-02-21 23:24:14 +0100
commit6cb399e7267ae78e3e498bdbf5f51678ffb2cd45 (patch)
treeb109832a208927821fcfe65bd98ff9e3f391c44c /src/i18n
parent54bbc06bd84437c6b38e2f6c57060f21a8318720 (diff)
downloadauroraklinikken.no-6cb399e7267ae78e3e498bdbf5f51678ffb2cd45.tar.xz
auroraklinikken.no-6cb399e7267ae78e3e498bdbf5f51678ffb2cd45.zip
feat: Many things
Configure sanity in same project as the app Implement type safe sanity schema Read localised documents Strip down design
Diffstat (limited to 'src/i18n')
-rw-r--r--src/i18n/en/index.ts2
-rw-r--r--src/i18n/i18n-types.ts16
-rw-r--r--src/i18n/nb/index.ts2
3 files changed, 20 insertions, 0 deletions
diff --git a/src/i18n/en/index.ts b/src/i18n/en/index.ts
index a6b79c2..1f8260f 100644
--- a/src/i18n/en/index.ts
+++ b/src/i18n/en/index.ts
@@ -7,6 +7,8 @@ const en = {
emailTitle: "Email",
phoneTitle: "Phone",
},
+ goToBookingPage: "Go to booking",
+ ourServices: "Our services",
homeTitle: "Home",
} satisfies BaseTranslation;
diff --git a/src/i18n/i18n-types.ts b/src/i18n/i18n-types.ts
index 9a32b2f..52b1fd2 100644
--- a/src/i18n/i18n-types.ts
+++ b/src/i18n/i18n-types.ts
@@ -33,6 +33,14 @@ type RootTranslation = {
phoneTitle: string
}
/**
+ * G​o​ ​t​o​ ​b​o​o​k​i​n​g
+ */
+ goToBookingPage: string
+ /**
+ * O​u​r​ ​s​e​r​v​i​c​e​s
+ */
+ ourServices: string
+ /**
* H​o​m​e
*/
homeTitle: string
@@ -58,6 +66,14 @@ export type TranslationFunctions = {
phoneTitle: () => LocalizedString
}
/**
+ * Go to booking
+ */
+ goToBookingPage: () => LocalizedString
+ /**
+ * Our services
+ */
+ ourServices: () => LocalizedString
+ /**
* Home
*/
homeTitle: () => LocalizedString
diff --git a/src/i18n/nb/index.ts b/src/i18n/nb/index.ts
index 5206b07..0064639 100644
--- a/src/i18n/nb/index.ts
+++ b/src/i18n/nb/index.ts
@@ -7,6 +7,8 @@ const nb = {
emailTitle: "E-postadresse",
phoneTitle: "Telefon",
},
+ goToBookingPage: "Gå til bestilling",
+ ourServices: "Våre tjenester",
homeTitle: "Hjem",
} satisfies Translation;