diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-10-25 11:51:37 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-10-25 11:51:37 +0200 |
| commit | 0005595703b2f3f7083ce4ba19bf5770057c75bd (patch) | |
| tree | 193a897f61a9a5e566961601de4cf42ae85984a0 /code/app/src/lib/i18n | |
| parent | 585c5c8537eb21dfc9f16108548e63d9ced3d971 (diff) | |
| download | greatoffice-0005595703b2f3f7083ce4ba19bf5770057c75bd.tar.xz greatoffice-0005595703b2f3f7083ce4ba19bf5770057c75bd.zip | |
.
Diffstat (limited to 'code/app/src/lib/i18n')
| -rw-r--r-- | code/app/src/lib/i18n/en/app/index.ts | 4 | ||||
| -rw-r--r-- | code/app/src/lib/i18n/i18n-types.ts | 11 | ||||
| -rw-r--r-- | code/app/src/lib/i18n/nb/app/index.ts | 3 |
3 files changed, 14 insertions, 4 deletions
diff --git a/code/app/src/lib/i18n/en/app/index.ts b/code/app/src/lib/i18n/en/app/index.ts index 7cd05ee..7ccfc97 100644 --- a/code/app/src/lib/i18n/en/app/index.ts +++ b/code/app/src/lib/i18n/en/app/index.ts @@ -1,5 +1,7 @@ import type { BaseTranslation } from '../../i18n-types' -const en_app: BaseTranslation = {} +const en_app: BaseTranslation = { + members: "Members", +} export default en_app
\ No newline at end of file diff --git a/code/app/src/lib/i18n/i18n-types.ts b/code/app/src/lib/i18n/i18n-types.ts index 63387e8..870bf23 100644 --- a/code/app/src/lib/i18n/i18n-types.ts +++ b/code/app/src/lib/i18n/i18n-types.ts @@ -203,7 +203,12 @@ type RootTranslation = { } } -export type NamespaceAppTranslation = {} +export type NamespaceAppTranslation = { + /** + * Members + */ + members: string +} export type Namespaces = | 'app' @@ -398,6 +403,10 @@ export type TranslationFunctions = { submitANewRequestBelow: () => LocalizedString } app: { + /** + * Members + */ + members: () => LocalizedString } } diff --git a/code/app/src/lib/i18n/nb/app/index.ts b/code/app/src/lib/i18n/nb/app/index.ts index 15d0b9a..6bf9ba6 100644 --- a/code/app/src/lib/i18n/nb/app/index.ts +++ b/code/app/src/lib/i18n/nb/app/index.ts @@ -1,8 +1,7 @@ import type { NamespaceAppTranslation } from '../../i18n-types' const nb_app: NamespaceAppTranslation = { - // TODO: insert translations - + members: "Medlemmer" } export default nb_app |
