fix: validate simulator dates and reconcile QA calculations reports and language
This commit is contained in:
@@ -6,15 +6,15 @@ import { edit as editAppearance } from '@/routes/appearance';
|
||||
export default function Appearance() {
|
||||
return (
|
||||
<>
|
||||
<Head title="Appearance settings" />
|
||||
<Head title="Definições de aparência" />
|
||||
|
||||
<h1 className="sr-only">Appearance settings</h1>
|
||||
<h1 className="sr-only"> Definições de aparência </h1>
|
||||
|
||||
<div className="space-y-6">
|
||||
<Heading
|
||||
variant="small"
|
||||
title="Appearance settings"
|
||||
description="Update the appearance settings for your account"
|
||||
title="Definições de aparência"
|
||||
description="Escolha a aparência da sua conta"
|
||||
/>
|
||||
<AppearanceTabs />
|
||||
</div>
|
||||
@@ -25,7 +25,7 @@ export default function Appearance() {
|
||||
Appearance.layout = {
|
||||
breadcrumbs: [
|
||||
{
|
||||
title: 'Appearance settings',
|
||||
title: 'Definições de aparência',
|
||||
href: editAppearance(),
|
||||
},
|
||||
],
|
||||
|
||||
@@ -34,15 +34,15 @@ export default function Profile(
|
||||
|
||||
return (
|
||||
<>
|
||||
<Head title="Profile settings" />
|
||||
<Head title="Definições do perfil" />
|
||||
|
||||
<h1 className="sr-only">Profile settings</h1>
|
||||
<h1 className="sr-only"> Definições do perfil </h1>
|
||||
|
||||
<div className="space-y-6">
|
||||
<Heading
|
||||
variant="small"
|
||||
title="Profile"
|
||||
description="Update your name and email address"
|
||||
title="Perfil"
|
||||
description="Actualize o seu nome e endereço de correio electrónico"
|
||||
/>
|
||||
|
||||
<Form
|
||||
@@ -55,7 +55,7 @@ export default function Profile(
|
||||
{({ processing, errors }) => (
|
||||
<>
|
||||
<div className="grid gap-2">
|
||||
<Label htmlFor="name">Name</Label>
|
||||
<Label htmlFor="name"> Nome </Label>
|
||||
|
||||
<Input
|
||||
id="name"
|
||||
@@ -64,7 +64,7 @@ export default function Profile(
|
||||
name="name"
|
||||
required
|
||||
autoComplete="name"
|
||||
placeholder="Full name"
|
||||
placeholder="Nome completo"
|
||||
/>
|
||||
|
||||
<InputError
|
||||
@@ -74,7 +74,10 @@ export default function Profile(
|
||||
</div>
|
||||
|
||||
<div className="grid gap-2">
|
||||
<Label htmlFor="email">Email address</Label>
|
||||
<Label htmlFor="email">
|
||||
{' '}
|
||||
Endereço de correio electrónico{' '}
|
||||
</Label>
|
||||
|
||||
<Input
|
||||
id="email"
|
||||
@@ -84,7 +87,7 @@ export default function Profile(
|
||||
name="email"
|
||||
required
|
||||
autoComplete="username"
|
||||
placeholder="Email address"
|
||||
placeholder="Endereço de correio electrónico"
|
||||
/>
|
||||
|
||||
<InputError
|
||||
@@ -98,22 +101,28 @@ export default function Profile(
|
||||
auth.user.email_verified_at === null && (
|
||||
<div>
|
||||
<p className="text-muted-foreground -mt-4 text-sm">
|
||||
Your email address is unverified.{' '}
|
||||
{' '}
|
||||
O seu endereço de correio
|
||||
electrónico ainda não foi
|
||||
confirmado.{' '}
|
||||
<Link
|
||||
href={send()}
|
||||
as="button"
|
||||
className="text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500"
|
||||
>
|
||||
Click here to re-send the
|
||||
verification email.
|
||||
{' '}
|
||||
Reenviar o email de
|
||||
confirmação.{' '}
|
||||
</Link>
|
||||
</p>
|
||||
|
||||
{status ===
|
||||
'verification-link-sent' && (
|
||||
<div className="mt-2 text-sm font-medium text-green-600">
|
||||
A new verification link has been
|
||||
sent to your email address.
|
||||
{' '}
|
||||
Foi enviada uma nova ligação de
|
||||
confirmação para o seu
|
||||
email.{' '}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
@@ -125,7 +134,8 @@ export default function Profile(
|
||||
disabled={processing}
|
||||
data-test="update-profile-button"
|
||||
>
|
||||
Save
|
||||
{' '}
|
||||
Guardar{' '}
|
||||
</Button>
|
||||
</div>
|
||||
</>
|
||||
@@ -141,7 +151,7 @@ export default function Profile(
|
||||
Profile.layout = {
|
||||
breadcrumbs: [
|
||||
{
|
||||
title: 'Profile settings',
|
||||
title: 'Definições do perfil',
|
||||
href: edit(),
|
||||
},
|
||||
],
|
||||
|
||||
@@ -151,7 +151,7 @@ export default function Security(props: Props) {
|
||||
Security.layout = {
|
||||
breadcrumbs: [
|
||||
{
|
||||
title: 'Security settings',
|
||||
title: 'Definições de segurança',
|
||||
href: edit(),
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user