Started rewriting SignIn component to use new V3 API. TODO methods: Google, Apple and SMS

This commit is contained in:
Noel Maróti
2026-11-22 19:36:44 +01:00
parent aa3e1de412
commit eeee9d5154
7 changed files with 1706 additions and 164 deletions

View File

@@ -79,21 +79,67 @@
"microsoftStoreDesc": "Start testing the application on your Windows computer via the Microsoft Store!"
},
"signIn": {
"formTitle": "Sign in",
"mainInput": {
"label": "Username, email or phone number",
"placeholder": "bob, bob@example.com, +36201234567"
"initial": {
"formTitle": "Welcome back!",
"formSubtitle": "Sign in with your Chatenium account.",
"mainInput": {
"label": "Username, email or phone number",
"placeholder": "bob, bob@example.com, +36201234567"
},
"password": {
"label": "Password"
},
"signInButton": "Sign in"
},
"password": {
"label": "Password"
"methodChoose": {
"formTitle": "Choose a verification method",
"formSubtitle": "Based on your security settings, more than 1 verification method may be required.",
"formTitleAlt": "Choose another verification method",
"formSubtitleAlt": "Because of your security settings, multiple verification methods are required",
"methods": {
"password": {
"title": "Password",
"desc": "Use your password to verify your identity"
},
"mail": {
"title": "E-mail",
"desc": "Use a one-time e-mail code to verify your identity"
},
"sms": {
"title": "SMS",
"desc": "Use a one-time SMS code to verify your identity"
},
"google": {
"title": "Google",
"desc": "Use your linked Google account to verify your identity"
},
"apple": {
"title": "Apple",
"desc": "Use your linked Apple account to verify your identity"
}
}
},
"emailButton": "Sign in with email code",
"smsButton": "Sign in with SMS code",
"signInButton": "Sign in",
"errors": {
"unameMailPhoneRequired": "Username, email or phone number is required",
"passwordRequired": "Password is required",
"passwordIncorrect": "Password is incorrect"
"anyAuth": {
"verifyButton": "Verify identity"
},
"passwordAuth": {
"formTitle": "Password authentication",
"formSubtitle": "Enter your password below",
"errors": {
"passwordRequired": "Password is required",
"passwordIncorrect": "Password is incorrect"
}
},
"emailAuth": {
"formTitle": "E-mail authentication",
"formSubtitle": "Enter your one-time e-mail code below",
"errors": {
"passwordRequired": "Code is required",
"passwordIncorrect": "Code is incorrect"
},
"emailCode": {
"label": "E-mail code"
}
}
},
"chat": {