aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/lib/i18n
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-10-09 18:43:20 +0200
committerivarlovlie <git@ivarlovlie.no>2022-10-09 18:43:20 +0200
commitefb0c07c6197085c02621b0904a1e5e1367f8922 (patch)
tree36aa981bf5d40268961281feaccfd94008cf00f5 /code/app/src/lib/i18n
parentd0a37196a896a88ec91b2a8d0c6545370672ab56 (diff)
downloadgreatoffice-efb0c07c6197085c02621b0904a1e5e1367f8922.tar.xz
greatoffice-efb0c07c6197085c02621b0904a1e5e1367f8922.zip
feat(i18n): Add name string
Diffstat (limited to 'code/app/src/lib/i18n')
-rw-r--r--code/app/src/lib/i18n/en/index.ts1
-rw-r--r--code/app/src/lib/i18n/i18n-types.ts8
-rw-r--r--code/app/src/lib/i18n/nb/index.ts1
3 files changed, 10 insertions, 0 deletions
diff --git a/code/app/src/lib/i18n/en/index.ts b/code/app/src/lib/i18n/en/index.ts
index e084a6c..1d6ff26 100644
--- a/code/app/src/lib/i18n/en/index.ts
+++ b/code/app/src/lib/i18n/en/index.ts
@@ -2,6 +2,7 @@ import type { BaseTranslation } from "../i18n-types";
const en: BaseTranslation = {
or: "Or",
+ name: "Name",
emailAddress: "Email address",
password: "Password",
pageNotFound: "Page not found",
diff --git a/code/app/src/lib/i18n/i18n-types.ts b/code/app/src/lib/i18n/i18n-types.ts
index 0df6d1a..2c564c4 100644
--- a/code/app/src/lib/i18n/i18n-types.ts
+++ b/code/app/src/lib/i18n/i18n-types.ts
@@ -22,6 +22,10 @@ type RootTranslation = {
*/
or: string
/**
+ * N​a​m​e
+ */
+ name: string
+ /**
* E​m​a​i​l​ ​a​d​d​r​e​s​s
*/
emailAddress: string
@@ -199,6 +203,10 @@ export type TranslationFunctions = {
*/
or: () => LocalizedString
/**
+ * Name
+ */
+ name: () => LocalizedString
+ /**
* Email address
*/
emailAddress: () => LocalizedString
diff --git a/code/app/src/lib/i18n/nb/index.ts b/code/app/src/lib/i18n/nb/index.ts
index fa81477..ef67504 100644
--- a/code/app/src/lib/i18n/nb/index.ts
+++ b/code/app/src/lib/i18n/nb/index.ts
@@ -2,6 +2,7 @@ import type { Translation } from "../i18n-types";
const nb: Translation = {
or: "Eller",
+ name: "Navn",
emailAddress: "E-postadresse",
password: "Passord",
pageNotFound: "Fant ikke siden",