diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-06-12 14:27:09 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-06-12 14:27:09 +0200 |
| commit | 045ca0ea64e3f3d98722427c95af2556a3a58e50 (patch) | |
| tree | d0fe617e28ea0a4ff7a338c87546ec7f26697942 /apps/web-shared/src/lib/i18n | |
| parent | 8ff9a84af416f9b9e791b74567d91635be5b1e82 (diff) | |
| download | greatoffice-045ca0ea64e3f3d98722427c95af2556a3a58e50.tar.xz greatoffice-045ca0ea64e3f3d98722427c95af2556a3a58e50.zip | |
feat: Finalise stopwatch.svelte translations
Diffstat (limited to 'apps/web-shared/src/lib/i18n')
| -rw-r--r-- | apps/web-shared/src/lib/i18n/en/index.ts | 7 | ||||
| -rw-r--r-- | apps/web-shared/src/lib/i18n/i18n-types.ts | 28 | ||||
| -rw-r--r-- | apps/web-shared/src/lib/i18n/nb/index.ts | 4 |
3 files changed, 37 insertions, 2 deletions
diff --git a/apps/web-shared/src/lib/i18n/en/index.ts b/apps/web-shared/src/lib/i18n/en/index.ts index 65fc0df..9db1759 100644 --- a/apps/web-shared/src/lib/i18n/en/index.ts +++ b/apps/web-shared/src/lib/i18n/en/index.ts @@ -6,7 +6,12 @@ const en: BaseTranslation = { roundDown: "Round down", createEntry: "Create entry", whatsYourFocus: "What's your focus?", - reset: "Reset" + reset: "Reset", + start: "Start", + stop: "Stop", + }, + localeSwitcher: { + language: "Language" } }; diff --git a/apps/web-shared/src/lib/i18n/i18n-types.ts b/apps/web-shared/src/lib/i18n/i18n-types.ts index 2048802..62a13dd 100644 --- a/apps/web-shared/src/lib/i18n/i18n-types.ts +++ b/apps/web-shared/src/lib/i18n/i18n-types.ts @@ -35,6 +35,20 @@ type RootTranslation = { * Reset */ reset: string + /** + * Start + */ + start: string + /** + * Stop + */ + stop: string + } + localeSwitcher: { + /** + * Language + */ + language: string } } @@ -60,6 +74,20 @@ export type TranslationFunctions = { * Reset */ reset: () => LocalizedString + /** + * Start + */ + start: () => LocalizedString + /** + * Stop + */ + stop: () => LocalizedString + } + localeSwitcher: { + /** + * Language + */ + language: () => LocalizedString } } diff --git a/apps/web-shared/src/lib/i18n/nb/index.ts b/apps/web-shared/src/lib/i18n/nb/index.ts index d7f557d..a1d5f53 100644 --- a/apps/web-shared/src/lib/i18n/nb/index.ts +++ b/apps/web-shared/src/lib/i18n/nb/index.ts @@ -6,7 +6,9 @@ const nb: Translation = { roundDown: "Rund ned", createEntry: "Opprett tidsoppføring", whatsYourFocus: "Hva skal du fokusere på?", - reset: "Tilbakestill" + reset: "Tilbakestill", + start: "Start", + stop: "Stopp", } }; |
