From 21764214c257949844d87e445f1a9f2736a20561 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Fri, 10 Jun 2022 00:35:22 +0200 Subject: feat: Add translations to stopwatch.svelte This commit also demonstrates how to do i18n across apps. --- apps/web-shared/src/lib/i18n/nb/index.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 apps/web-shared/src/lib/i18n/nb/index.ts (limited to 'apps/web-shared/src/lib/i18n/nb') diff --git a/apps/web-shared/src/lib/i18n/nb/index.ts b/apps/web-shared/src/lib/i18n/nb/index.ts new file mode 100644 index 0000000..d7f557d --- /dev/null +++ b/apps/web-shared/src/lib/i18n/nb/index.ts @@ -0,0 +1,13 @@ +import type {Translation} from "../i18n-types"; + +const nb: Translation = { + stopwatch: { + roundUp: "Rund opp", + roundDown: "Rund ned", + createEntry: "Opprett tidsoppføring", + whatsYourFocus: "Hva skal du fokusere på?", + reset: "Tilbakestill" + } +}; + +export default nb; -- cgit v1.3