fix: validate simulator dates and reconcile QA calculations reports and language

This commit is contained in:
2026-10-20 21:00:52 +02:00
parent 59ab4fe956
commit a690c665fb
39 changed files with 757 additions and 184 deletions
+10 -9
View File
@@ -9,12 +9,13 @@ import { send } from '@/routes/verification';
export default function VerifyEmail({ status }: { status?: string }) {
return (
<>
<Head title="Email verification" />
<Head title="Confirmação de email" />
{status === 'verification-link-sent' && (
<div className="mb-4 text-center text-sm font-medium text-green-600">
A new verification link has been sent to the email address
you provided during registration.
{' '}
Foi enviada uma nova ligação de confirmação para o email
indicado no registo.{' '}
</div>
)}
@@ -22,15 +23,16 @@ export default function VerifyEmail({ status }: { status?: string }) {
{({ processing }) => (
<>
<Button disabled={processing} variant="secondary">
{processing && <Spinner />}
Resend verification email
{processing && <Spinner />} Reenviar email de
confirmação{' '}
</Button>
<TextLink
href={logout()}
className="mx-auto block text-sm"
>
Log out
{' '}
Terminar sessão{' '}
</TextLink>
</>
)}
@@ -40,7 +42,6 @@ export default function VerifyEmail({ status }: { status?: string }) {
}
VerifyEmail.layout = {
title: 'Email verification',
description:
'Please verify your email address by clicking on the link we just emailed to you.',
title: 'Confirmação de email',
description: 'Confirme o seu email através da ligação que enviámos.',
};