aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/lib/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'code/app/src/lib/i18n')
-rw-r--r--code/app/src/lib/i18n/en/index.ts2
-rw-r--r--code/app/src/lib/i18n/i18n-types.ts16
2 files changed, 18 insertions, 0 deletions
diff --git a/code/app/src/lib/i18n/en/index.ts b/code/app/src/lib/i18n/en/index.ts
index b9cdae7..fbf5423 100644
--- a/code/app/src/lib/i18n/en/index.ts
+++ b/code/app/src/lib/i18n/en/index.ts
@@ -46,6 +46,8 @@ const en: BaseTranslation = {
expired: "Expired",
requestHasExpired: "Your request has expired",
requestANewReset: "Request a new reset",
+ invalidRequestTitle: "Your request is invalid",
+ invalidRequestMessage: "This could be due to it being expired, nonexsistent or something else",
newPassword: "New password",
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.",
requestAPasswordReset: "Request a password reset",
diff --git a/code/app/src/lib/i18n/i18n-types.ts b/code/app/src/lib/i18n/i18n-types.ts
index 870bf23..cf968d7 100644
--- a/code/app/src/lib/i18n/i18n-types.ts
+++ b/code/app/src/lib/i18n/i18n-types.ts
@@ -181,6 +181,14 @@ type RootTranslation = {
*/
requestANewReset: string
/**
+ * Y​o​u​r​ ​r​e​q​u​e​s​t​ ​i​s​ ​i​n​v​a​l​i​d
+ */
+ invalidRequestTitle: string
+ /**
+ * T​h​i​s​ ​c​o​u​l​d​ ​b​e​ ​d​u​e​ ​t​o​ ​i​t​ ​b​e​i​n​g​ ​e​x​p​i​r​e​d​,​ ​n​o​n​e​x​s​i​s​t​e​n​t​ ​o​r​ ​s​o​m​e​t​h​i​n​g​ ​e​l​s​e
+ */
+ invalidRequestMessage: string
+ /**
* N​e​w​ ​p​a​s​s​w​o​r​d
*/
newPassword: string
@@ -382,6 +390,14 @@ export type TranslationFunctions = {
*/
requestANewReset: () => LocalizedString
/**
+ * Your request is invalid
+ */
+ invalidRequestTitle: () => LocalizedString
+ /**
+ * This could be due to it being expired, nonexsistent or something else
+ */
+ invalidRequestMessage: () => LocalizedString
+ /**
* New password
*/
newPassword: () => LocalizedString