Código QR na adesão ao MFA e definições da conta em português

- A adesão à autenticação de dois factores passa a mostrar o código QR
  (endpoint do Fortify) com a chave manual como alternativa; antes só
  havia a chave para escrever à mão.
- Definições, perfil, aparência, apagar conta e o botão de mostrar
  palavra-passe estavam em inglês (texto do kit inicial).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 21:04:48 +02:00
co-authored by Claude Opus 5.5
parent 822fb2ffcc
commit db5664c84c
8 changed files with 68 additions and 44 deletions
+6 -6
View File
@@ -12,17 +12,17 @@ import type { NavItem } from '@/types';
const sidebarNavItems: NavItem[] = [
{
title: 'Profile',
title: 'Perfil',
href: edit(),
icon: null,
},
{
title: 'Security',
title: 'Segurança',
href: editSecurity(),
icon: null,
},
{
title: 'Appearance',
title: 'Aparência',
href: editAppearance(),
icon: null,
},
@@ -34,15 +34,15 @@ export default function SettingsLayout({ children }: PropsWithChildren) {
return (
<div className="px-4 py-6">
<Heading
title="Settings"
description="Manage your profile and account settings"
title="Definições"
description="Gerir o perfil e a segurança da sua conta"
/>
<div className="flex flex-col lg:flex-row lg:space-x-12">
<aside className="w-full max-w-xl lg:w-48">
<nav
className="flex flex-col space-y-1 space-x-0"
aria-label="Settings"
aria-label="Definições"
>
{sidebarNavItems.map((item, index) => (
<Button