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/en/index.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 apps/web-shared/src/lib/i18n/en/index.ts (limited to 'apps/web-shared/src/lib/i18n/en') diff --git a/apps/web-shared/src/lib/i18n/en/index.ts b/apps/web-shared/src/lib/i18n/en/index.ts new file mode 100644 index 0000000..65fc0df --- /dev/null +++ b/apps/web-shared/src/lib/i18n/en/index.ts @@ -0,0 +1,13 @@ +import type {BaseTranslation} from "../i18n-types"; + +const en: BaseTranslation = { + stopwatch: { + roundUp: "Round up", + roundDown: "Round down", + createEntry: "Create entry", + whatsYourFocus: "What's your focus?", + reset: "Reset" + } +}; + +export default en; -- cgit v1.3