feat(i18n): traducir el acceso de alumnos (links, passkey, recuperación)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2
apps/web/src/i18n/i18next.d.ts
vendored
2
apps/web/src/i18n/i18next.d.ts
vendored
@@ -20,6 +20,7 @@ import type whatsapp from './locales/es-AR/whatsapp.json'
|
||||
import type onboarding from './locales/es-AR/onboarding.json'
|
||||
import type account from './locales/es-AR/account.json'
|
||||
import type public from './locales/es-AR/public.json'
|
||||
import type studentAccess from './locales/es-AR/studentAccess.json'
|
||||
import type validation from './locales/es-AR/validation.json'
|
||||
|
||||
// es-AR es la fuente: una clave que no exista ahí rompe el typecheck.
|
||||
@@ -34,6 +35,7 @@ declare module 'i18next' {
|
||||
pwa: typeof pwa
|
||||
settings: typeof settings
|
||||
validation: typeof validation
|
||||
'studentAccess': typeof studentAccess
|
||||
'public': typeof public
|
||||
'account': typeof account
|
||||
'onboarding': typeof onboarding
|
||||
|
||||
44
apps/web/src/i18n/locales/en/studentAccess.json
Normal file
44
apps/web/src/i18n/locales/en/studentAccess.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"loading": "Loading…",
|
||||
"confirmEmail": {
|
||||
"doneTitle": "Email confirmed",
|
||||
"done": "If you ever lose access, request a link to <strong>{{email}}</strong>.",
|
||||
"goToApp": "Go to gruperly",
|
||||
"expiredTitle": "This link no longer works",
|
||||
"expired": "It was already used or has expired. You can add your email again from Profile in the app.",
|
||||
"title": "Confirm your email",
|
||||
"description": "You'll be able to use it to request a link if you lose access.",
|
||||
"confirm": "Confirm email"
|
||||
},
|
||||
"linkUsed": {
|
||||
"usedTitle": "This link was already used",
|
||||
"signedOutTitle": "Sign in again",
|
||||
"used": "gruperly links work only once. If you already signed in from another phone, continue there. If it wasn't you, ask your teacher to send you a new one: the old one stops working.",
|
||||
"signedOut": "We couldn't find your session on this phone. Ask your teacher for a new link or use one of these options.",
|
||||
"askEmail": "Email me a link",
|
||||
"note": "These options only work if you turned them on before."
|
||||
},
|
||||
"passkey": {
|
||||
"login": "Sign in with Face ID or fingerprint",
|
||||
"error": "We couldn't verify your Face ID or fingerprint on this phone."
|
||||
},
|
||||
"recovery": {
|
||||
"sent": "If <strong>{{email}}</strong> is your recovery email, we sent you a sign-in link. It expires in 15 minutes.",
|
||||
"label": "Your recovery email",
|
||||
"tooMany": "You requested several links in a row. Try again in 15 minutes.",
|
||||
"error": "We couldn't send the request. Please try again.",
|
||||
"submit": "Send me the link"
|
||||
},
|
||||
"link": {
|
||||
"greeting": "Hi, {{name}}",
|
||||
"recovery": "This is your link to get back into gruperly.",
|
||||
"invitedBy": "{{teacher}} invited you to {{group}} on gruperly.",
|
||||
"invited": "You were invited to gruperly.",
|
||||
"capNotify": "Let your teacher know if you'll miss a class",
|
||||
"capReport": "Report payments with the receipt",
|
||||
"capClasses": "See your upcoming classes",
|
||||
"enter": "Continue",
|
||||
"error": "We couldn't connect you. Check your connection and try again.",
|
||||
"security": "No passwords: you'll stay signed in on this phone. This link is personal and works only once. If you're not {{name}}, don't continue."
|
||||
}
|
||||
}
|
||||
44
apps/web/src/i18n/locales/es-419/studentAccess.json
Normal file
44
apps/web/src/i18n/locales/es-419/studentAccess.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"loading": "Cargando…",
|
||||
"confirmEmail": {
|
||||
"doneTitle": "Mail confirmado",
|
||||
"done": "Si algún día pierdes el acceso, pide un link a <strong>{{email}}</strong>.",
|
||||
"goToApp": "Ir a gruperly",
|
||||
"expiredTitle": "Este link ya no sirve",
|
||||
"expired": "Ya se usó o venció. Puedes volver a registrar tu mail desde Perfil en la app.",
|
||||
"title": "Confirma tu mail",
|
||||
"description": "Podrás usarlo para pedir un link si pierdes el acceso.",
|
||||
"confirm": "Confirmar mail"
|
||||
},
|
||||
"linkUsed": {
|
||||
"usedTitle": "Este link ya fue usado",
|
||||
"signedOutTitle": "Vuelve a entrar",
|
||||
"used": "Los links de gruperly sirven una sola vez. Si ya entraste desde otro teléfono, sigue desde ahí. Si no fuiste tú, avísale a tu profe para que te envíe uno nuevo: el anterior deja de funcionar.",
|
||||
"signedOut": "No encontramos tu sesión en este teléfono. Pídele a tu profe un link nuevo o usa una de estas opciones.",
|
||||
"askEmail": "Pedir un link a mi mail",
|
||||
"note": "Estas opciones funcionan solo si las activaste antes."
|
||||
},
|
||||
"passkey": {
|
||||
"login": "Entrar con Face ID o huella",
|
||||
"error": "No pudimos verificar tu Face ID o huella en este teléfono."
|
||||
},
|
||||
"recovery": {
|
||||
"sent": "Si <strong>{{email}}</strong> es tu mail de recuperación, te enviamos un link para entrar. Vence en 15 minutos.",
|
||||
"label": "Tu mail de recuperación",
|
||||
"tooMany": "Pediste varios links seguidos. Inténtalo de nuevo en 15 minutos.",
|
||||
"error": "No pudimos enviar la solicitud. Inténtalo de nuevo.",
|
||||
"submit": "Enviarme el link"
|
||||
},
|
||||
"link": {
|
||||
"greeting": "Hola, {{name}}",
|
||||
"recovery": "Este es tu link para volver a entrar a gruperly.",
|
||||
"invitedBy": "{{teacher}} te invitó a {{group}} en gruperly.",
|
||||
"invited": "Te invitaron a gruperly.",
|
||||
"capNotify": "Avisar si no vas a una clase",
|
||||
"capReport": "Informar pagos con el comprobante",
|
||||
"capClasses": "Ver tus próximas clases",
|
||||
"enter": "Ingresar",
|
||||
"error": "No pudimos conectarte. Revisa tu conexión e inténtalo de nuevo.",
|
||||
"security": "Sin contraseñas: quedarás conectado/a en este teléfono. Este link es personal y sirve una sola vez. Si no eres {{name}}, no continúes."
|
||||
}
|
||||
}
|
||||
44
apps/web/src/i18n/locales/es-AR/studentAccess.json
Normal file
44
apps/web/src/i18n/locales/es-AR/studentAccess.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"loading": "Cargando…",
|
||||
"confirmEmail": {
|
||||
"doneTitle": "Mail confirmado",
|
||||
"done": "Si algún día perdés el acceso, pedí un link a <strong>{{email}}</strong>.",
|
||||
"goToApp": "Ir a gruperly",
|
||||
"expiredTitle": "Este link ya no sirve",
|
||||
"expired": "Ya fue usado o venció. Podés volver a cargar tu mail desde Perfil en la app.",
|
||||
"title": "Confirmá tu mail",
|
||||
"description": "Lo vas a poder usar para pedir un link si perdés el acceso.",
|
||||
"confirm": "Confirmar mail"
|
||||
},
|
||||
"linkUsed": {
|
||||
"usedTitle": "Este link ya fue usado",
|
||||
"signedOutTitle": "Volvé a entrar",
|
||||
"used": "Los links de gruperly sirven una sola vez. Si ya entraste desde otro teléfono, seguí desde ahí. Si no fuiste vos, avisale a tu profe para que te mande uno nuevo: el anterior deja de funcionar.",
|
||||
"signedOut": "No encontramos tu sesión en este teléfono. Pedile a tu profe un link nuevo o usá una de estas opciones.",
|
||||
"askEmail": "Pedir un link a mi mail",
|
||||
"note": "Estas opciones funcionan solo si las activaste antes."
|
||||
},
|
||||
"passkey": {
|
||||
"login": "Entrar con Face ID o huella",
|
||||
"error": "No pudimos verificar tu Face ID o huella en este teléfono."
|
||||
},
|
||||
"recovery": {
|
||||
"sent": "Si <strong>{{email}}</strong> es tu mail de recuperación, te mandamos un link para entrar. Vence en 15 minutos.",
|
||||
"label": "Tu mail de recuperación",
|
||||
"tooMany": "Pediste varios links seguidos. Probá de nuevo en 15 minutos.",
|
||||
"error": "No pudimos enviar el pedido. Probá de nuevo.",
|
||||
"submit": "Mandarme el link"
|
||||
},
|
||||
"link": {
|
||||
"greeting": "Hola, {{name}}",
|
||||
"recovery": "Este es tu link para volver a entrar a gruperly.",
|
||||
"invitedBy": "{{teacher}} te invitó a {{group}} en gruperly.",
|
||||
"invited": "Te invitaron a gruperly.",
|
||||
"capNotify": "Avisar si no vas a una clase",
|
||||
"capReport": "Informar pagos con el comprobante",
|
||||
"capClasses": "Ver tus próximas clases",
|
||||
"enter": "Ingresar",
|
||||
"error": "No pudimos conectarte. Revisá tu conexión y probá de nuevo.",
|
||||
"security": "Sin contraseñas: vas a quedar conectado/a en este teléfono. Este link es personal y sirve una sola vez. Si no sos {{name}}, no continúes."
|
||||
}
|
||||
}
|
||||
44
apps/web/src/i18n/locales/pt-BR/studentAccess.json
Normal file
44
apps/web/src/i18n/locales/pt-BR/studentAccess.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"loading": "Carregando…",
|
||||
"confirmEmail": {
|
||||
"doneTitle": "E-mail confirmado",
|
||||
"done": "Se algum dia você perder o acesso, peça um link para <strong>{{email}}</strong>.",
|
||||
"goToApp": "Ir para o gruperly",
|
||||
"expiredTitle": "Este link não vale mais",
|
||||
"expired": "Ele já foi usado ou expirou. Você pode cadastrar seu e-mail de novo em Perfil, no app.",
|
||||
"title": "Confirme seu e-mail",
|
||||
"description": "Você vai poder usá-lo para pedir um link se perder o acesso.",
|
||||
"confirm": "Confirmar e-mail"
|
||||
},
|
||||
"linkUsed": {
|
||||
"usedTitle": "Este link já foi usado",
|
||||
"signedOutTitle": "Entre de novo",
|
||||
"used": "Os links do gruperly valem uma única vez. Se você já entrou por outro celular, continue por lá. Se não foi você, avise seu professor para enviar um novo: o anterior deixa de funcionar.",
|
||||
"signedOut": "Não encontramos sua sessão neste celular. Peça um novo link ao seu professor ou use uma destas opções.",
|
||||
"askEmail": "Pedir um link no meu e-mail",
|
||||
"note": "Estas opções só funcionam se você as ativou antes."
|
||||
},
|
||||
"passkey": {
|
||||
"login": "Entrar com Face ID ou digital",
|
||||
"error": "Não conseguimos verificar seu Face ID ou digital neste celular."
|
||||
},
|
||||
"recovery": {
|
||||
"sent": "Se <strong>{{email}}</strong> for seu e-mail de recuperação, enviamos um link para entrar. Ele vence em 15 minutos.",
|
||||
"label": "Seu e-mail de recuperação",
|
||||
"tooMany": "Você pediu vários links seguidos. Tente novamente em 15 minutos.",
|
||||
"error": "Não conseguimos enviar o pedido. Tente novamente.",
|
||||
"submit": "Enviar o link"
|
||||
},
|
||||
"link": {
|
||||
"greeting": "Olá, {{name}}",
|
||||
"recovery": "Este é o seu link para entrar de novo no gruperly.",
|
||||
"invitedBy": "{{teacher}} convidou você para {{group}} no gruperly.",
|
||||
"invited": "Você foi convidado para o gruperly.",
|
||||
"capNotify": "Avisar se não for a uma aula",
|
||||
"capReport": "Informar pagamentos com o comprovante",
|
||||
"capClasses": "Ver suas próximas aulas",
|
||||
"enter": "Entrar",
|
||||
"error": "Não conseguimos conectar você. Verifique sua conexão e tente novamente.",
|
||||
"security": "Sem senhas: você fica conectado neste celular. Este link é pessoal e vale uma única vez. Se você não é {{name}}, não continue."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user