aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/i18n
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-12-11 20:46:58 +0100
committerivarlovlie <git@ivarlovlie.no>2022-12-11 20:47:06 +0100
commit6561771c435f9d9bed1589b5ed13d17aee0b7873 (patch)
tree2c47e60fa4aaaa5bf1e151838ac197a61f4377cc /code/app/src/i18n
parent8da37c77cae0c7f712a775e3996afd9d84b0f9af (diff)
downloadgreatoffice-6561771c435f9d9bed1589b5ed13d17aee0b7873.tar.xz
greatoffice-6561771c435f9d9bed1589b5ed13d17aee0b7873.zip
feat: Add frontpage
Diffstat (limited to 'code/app/src/i18n')
-rw-r--r--code/app/src/i18n/en/index.ts4
-rw-r--r--code/app/src/i18n/i18n-types.ts32
2 files changed, 36 insertions, 0 deletions
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
@@ -117,6 +117,10 @@ type RootTranslation = {
}
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
*/
notMyComputer: string
@@ -159,12 +163,24 @@ type RootTranslation = {
}
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
*/
setANewPassword: string
@@ -326,6 +342,10 @@ export type TranslationFunctions = {
}
signInPage: {
/**
+ * Sign in
+ */
+ title: () => LocalizedString
+ /**
* This is not my computer
*/
notMyComputer: () => LocalizedString
@@ -368,12 +388,24 @@ export type TranslationFunctions = {
}
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
*/
setANewPassword: () => LocalizedString