Lo vas a poder usar para pedir un link si perdés el acceso.
+
{t('confirmEmail.title')}
+
{t('confirmEmail.description')}
>
)}
diff --git a/apps/web/src/features/student-access/LinkUsedView.tsx b/apps/web/src/features/student-access/LinkUsedView.tsx
index f2d472d..53ce5f4 100644
--- a/apps/web/src/features/student-access/LinkUsedView.tsx
+++ b/apps/web/src/features/student-access/LinkUsedView.tsx
@@ -4,6 +4,7 @@ import { Button } from '../../components/ui'
import { PasskeyLoginButton } from './PasskeyLoginButton'
import { RecoveryLinkForm } from './RecoveryLinkForm'
import { StudentAuthShell } from './StudentAuthShell'
+import { useTranslation } from 'react-i18next'
type LinkUsedViewProps = {
/** `used`: a dead link (used, expired or never valid). `signed-out`: the
@@ -13,6 +14,7 @@ type LinkUsedViewProps = {
export function LinkUsedView({ variant }: LinkUsedViewProps) {
const [showEmail, setShowEmail] = useState(false)
+ const { t } = useTranslation('studentAccess')
const Icon = variant === 'used' ? Link2Off : LogIn
return (
@@ -23,12 +25,12 @@ export function LinkUsedView({ variant }: LinkUsedViewProps) {
- {variant === 'used' ? 'Este link ya fue usado' : 'Volvé a entrar'}
+ {variant === 'used' ? t('linkUsed.usedTitle') : t('linkUsed.signedOutTitle')}
{variant === '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.'
- : 'No encontramos tu sesión en este teléfono. Pedile a tu profe un link nuevo o usá una de estas opciones.'}
+ ? t('linkUsed.used')
+ : t('linkUsed.signedOut')}