diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-10-09 18:43:20 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-10-09 18:43:20 +0200 |
| commit | efb0c07c6197085c02621b0904a1e5e1367f8922 (patch) | |
| tree | 36aa981bf5d40268961281feaccfd94008cf00f5 | |
| parent | d0a37196a896a88ec91b2a8d0c6545370672ab56 (diff) | |
| download | greatoffice-efb0c07c6197085c02621b0904a1e5e1367f8922.tar.xz greatoffice-efb0c07c6197085c02621b0904a1e5e1367f8922.zip | |
feat(i18n): Add name string
| -rw-r--r-- | code/app/src/lib/i18n/en/index.ts | 1 | ||||
| -rw-r--r-- | code/app/src/lib/i18n/i18n-types.ts | 8 | ||||
| -rw-r--r-- | code/app/src/lib/i18n/nb/index.ts | 1 |
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 /** + * Name + */ + name: string + /** * Email address */ 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", |
