From 6561771c435f9d9bed1589b5ed13d17aee0b7873 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 11 Dec 2022 20:46:58 +0100 Subject: feat: Add frontpage --- code/app/src/i18n/en/index.ts | 4 ++++ code/app/src/i18n/i18n-types.ts | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) (limited to 'code/app/src/i18n') diff --git a/code/app/src/i18n/en/index.ts b/code/app/src/i18n/en/index.ts index fbf5423..b38eb48 100644 --- a/code/app/src/i18n/en/index.ts +++ b/code/app/src/i18n/en/index.ts @@ -27,6 +27,7 @@ const en: BaseTranslation = { createRecordButtonText: "Press enter or click here to create {0}" }, signInPage: { + title: "Sign in", notMyComputer: "This is not my computer", resetPassword: "Reset password", yourPasswordIsUpdated: "Your password is updated", @@ -39,9 +40,12 @@ const en: BaseTranslation = { feelFreeToSignInAgain: "Feel free to sign in again" }, signUpPage: { + title: "Sign up", createYourNewAccount: "Create your new account", }, resetPasswordPage: { + title: "Reset password", + fulfillTitle: "Set new password", setANewPassword: "Set a new password", expired: "Expired", requestHasExpired: "Your request has expired", diff --git a/code/app/src/i18n/i18n-types.ts b/code/app/src/i18n/i18n-types.ts index cf968d7..ef1d664 100644 --- a/code/app/src/i18n/i18n-types.ts +++ b/code/app/src/i18n/i18n-types.ts @@ -116,6 +116,10 @@ type RootTranslation = { createRecordButtonText: RequiredParams<'0'> } signInPage: { + /** + * S​i​g​n​ ​i​n + */ + title: string /** * T​h​i​s​ ​i​s​ ​n​o​t​ ​m​y​ ​c​o​m​p​u​t​e​r */ @@ -158,12 +162,24 @@ type RootTranslation = { feelFreeToSignInAgain: string } signUpPage: { + /** + * S​i​g​n​ ​u​p + */ + title: string /** * C​r​e​a​t​e​ ​y​o​u​r​ ​n​e​w​ ​a​c​c​o​u​n​t */ createYourNewAccount: string } resetPasswordPage: { + /** + * R​e​s​e​t​ ​p​a​s​s​w​o​r​d + */ + title: string + /** + * S​e​t​ ​n​e​w​ ​p​a​s​s​w​o​r​d + */ + fulfillTitle: string /** * S​e​t​ ​a​ ​n​e​w​ ​p​a​s​s​w​o​r​d */ @@ -325,6 +341,10 @@ export type TranslationFunctions = { createRecordButtonText: (arg0: unknown) => LocalizedString } signInPage: { + /** + * Sign in + */ + title: () => LocalizedString /** * This is not my computer */ @@ -367,12 +387,24 @@ export type TranslationFunctions = { feelFreeToSignInAgain: () => LocalizedString } signUpPage: { + /** + * Sign up + */ + title: () => LocalizedString /** * Create your new account */ createYourNewAccount: () => LocalizedString } resetPasswordPage: { + /** + * Reset password + */ + title: () => LocalizedString + /** + * Set new password + */ + fulfillTitle: () => LocalizedString /** * Set a new password */ -- cgit v1.3