From 4d6a7e8ba4660f8861de8c8b0f1b45a205b5c738 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Thu, 29 Sep 2022 18:08:43 +0800 Subject: refactor: Transition back to non-namespaced i18n --- apps/kit/src/lib/i18n/en/index.ts | 8 ++++++++ apps/kit/src/lib/i18n/en/reset-password/index.ts | 9 --------- apps/kit/src/lib/i18n/en/sign-in/index.ts | 10 ---------- apps/kit/src/lib/i18n/en/sign-up/index.ts | 6 ------ 4 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 apps/kit/src/lib/i18n/en/reset-password/index.ts delete mode 100644 apps/kit/src/lib/i18n/en/sign-in/index.ts delete mode 100644 apps/kit/src/lib/i18n/en/sign-up/index.ts (limited to 'apps/kit/src/lib/i18n/en') diff --git a/apps/kit/src/lib/i18n/en/index.ts b/apps/kit/src/lib/i18n/en/index.ts index 4c1ad04..5a3ccc8 100644 --- a/apps/kit/src/lib/i18n/en/index.ts +++ b/apps/kit/src/lib/i18n/en/index.ts @@ -13,6 +13,14 @@ const en: BaseTranslation = { success: "Success", tryAgainSoon: "Try again soon", unexpectedError: "An unexpected error occured", + requestAPasswordReset: "Request a password reset", + signIntoYourAccount: "sign into your account", + requestSentMessage: "If we find your email address in our systems, you will receive an email with instructions on how to set a new password for your account.", + signIn: "Sign In", + createANewAccount: "create a new account", + notMyComputer: "This is not my computer", + resetPassword: "Reset password", + createYourNewAccount: "Create your new account" }; export default en; diff --git a/apps/kit/src/lib/i18n/en/reset-password/index.ts b/apps/kit/src/lib/i18n/en/reset-password/index.ts deleted file mode 100644 index 00322cf..0000000 --- a/apps/kit/src/lib/i18n/en/reset-password/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { BaseTranslation } from "../../i18n-types" - -const en_reset_password: BaseTranslation = { - requestAPasswordReset: "Request a password reset", - signIntoYourAccount: "sign into your account", - requestSentMessage: "If we find your email address in our systems, you will receive an email with instructions on how to set a new password for your account." -} - -export default en_reset_password \ No newline at end of file diff --git a/apps/kit/src/lib/i18n/en/sign-in/index.ts b/apps/kit/src/lib/i18n/en/sign-in/index.ts deleted file mode 100644 index 3c9c104..0000000 --- a/apps/kit/src/lib/i18n/en/sign-in/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { BaseTranslation } from "../../i18n-types" - -const en_sign_in: BaseTranslation = { - signIn: "Sign In", - createANewAccount: "create a new account", - notMyComputer: "This is not my computer", - resetPassword: "Reset password" -} - -export default en_sign_in \ No newline at end of file diff --git a/apps/kit/src/lib/i18n/en/sign-up/index.ts b/apps/kit/src/lib/i18n/en/sign-up/index.ts deleted file mode 100644 index fa0c3d5..0000000 --- a/apps/kit/src/lib/i18n/en/sign-up/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { BaseTranslation } from "../../i18n-types" - -const en_sign_up: BaseTranslation = { -} - -export default en_sign_up \ No newline at end of file -- cgit v1.3