Skip to content

Email for professionals and teams

Translate settings pages, message detail and sign-in screens

Hieu Nguyen (Jack)6e16cd54b3b6
diff --git a/src/app/(auth)/forgot-password/forgot-password-client.tsx b/src/app/(auth)/forgot-password/forgot-password-client.tsx
index 33eb38b..1c9ca47 100644
--- a/src/app/(auth)/forgot-password/forgot-password-client.tsx
+++ b/src/app/(auth)/forgot-password/forgot-password-client.tsx
@@ -3,6 +3,7 @@
import Link from "next/link";
import { useState } from "react";
import { KeyRound } from "lucide-react";
+import { useLanguage } from "@/components/language-provider";
import { AuthShell } from "@/components/auth/auth-shell";
import { TurnstileField } from "@/components/auth/turnstile";
import { Button } from "@/components/ui/button";
@@ -11,6 +12,7 @@ import { Label } from "@/components/ui/label";
import { requestPasswordReset } from "./utils";
export function ForgotPasswordClient() {
+ const { t } = useLanguage();
const [error, setError] = useState<string | null>(null);
const [loading, setLoading] = useState(false);
const [sent, setSent] = useState(false);
@@ -23,13 +25,13 @@ export function ForgotPasswordClient() {
try {
const result = await requestPasswordReset(new FormData(event.currentTarget));
if (!result.ok) {
- setError(result.error ?? "Something went wrong. Please try again.");
+ setError(result.error ?? t("auth.forgot.error"));
setTurnstileReset((value) => value + 1);
return;
}
setSent(true);
} catch {
- setError("Unable to reach the server. Please try again.");
+ setError(t("auth.serverUnreachable"));
setTurnstileReset((value) => value + 1);
} finally {
setLoading(false);
@@ -39,22 +41,22 @@ export function ForgotPasswordClient() {
return (
<AuthShell
icon={KeyRound}
- title="Reset your password"
+ title={t("auth.forgot.title")}
description={
sent
- ? "If that account has a recovery email, a reset link is on its way. It works for 30 minutes."
- : "Enter the address you sign in with. We will send a reset link to the recovery email on the account."
+ ? t("auth.forgot.sent")
+ : t("auth.forgot.description")
}
footer={
<Link href="/login" className="text-sm text-neutral-500 hover:text-neutral-800">
- Back to sign in
+ {t("auth.backToSignIn")}
</Link>
}
>
{!sent && (
<form onSubmit={onSubmit} className="space-y-5">
<div className="space-y-2">
- <Label htmlFor="email">Email</Label>
+ <Label htmlFor="email">{t("auth.email")}</Label>
<Input id="email" name="email" type="email" autoComplete="email" required autoFocus />
</div>
{error && (
@@ -62,7 +64,7 @@ export function ForgotPasswordClient() {
)}
<TurnstileField resetSignal={turnstileReset} />
<Button type="submit" className="h-11 w-full rounded-full px-6 active:scale-[0.98]" disabled={loading}>
- {loading ? "Sending..." : "Send reset link"}
+ {loading ? t("auth.sending") : t("auth.sendReset")}
</Button>
</form>
)}
diff --git a/src/app/(auth)/login/login-client.tsx b/src/app/(auth)/login/login-client.tsx
index 8ac1ab7..8a8a079 100644
--- a/src/app/(auth)/login/login-client.tsx
+++ b/src/app/(auth)/login/login-client.tsx
@@ -4,6 +4,7 @@ import Link from "next/link";
import { useRouter } from "next/navigation";
import { useState } from "react";
import { Mail, ShieldCheck } from "lucide-react";
+import { useLanguage } from "@/components/language-provider";
import { AuthShell } from "@/components/auth/auth-shell";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
@@ -12,6 +13,7 @@ import { TurnstileField } from "@/components/auth/turnstile";
import { submitLogin, submitMfaCode } from "./utils";
export function LoginClient({ adding = false }: { adding?: boolean }) {
+ const { t } = useLanguage();
const router = useRouter();
const [error, setError] = useState<string | null>(null);
const [loading, setLoading] = useState(false);
@@ -33,7 +35,7 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
try {
const { ok, data } = await submitLogin(new FormData(e.currentTarget));
if (!ok) {
- setError(data.error ?? "Login failed");
+ setError(data.error ?? t("auth.loginFailed"));
setTurnstileReset((value) => value + 1);
return;
}
@@ -45,8 +47,8 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
} catch (error) {
setError(
error instanceof DOMException && error.name === "TimeoutError"
- ? "Login timed out. Please try again."
- : "Unable to reach the login service. Please try again.",
+ ? t("auth.loginTimeout")
+ : t("auth.loginUnreachable"),
);
setTurnstileReset((value) => value + 1);
} finally {
@@ -62,7 +64,7 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
try {
const { ok, data } = await submitMfaCode(challengeToken, code);
if (!ok) {
- setError(data.error ?? "That code did not match");
+ setError(data.error ?? t("auth.codeMismatch"));
// An expired challenge sends the user back to the password step.
if (data.error?.includes("expired")) {
setChallengeToken(null);
@@ -72,7 +74,7 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
}
finish(data.redirect);
} catch {
- setError("Unable to reach the login service. Please try again.");
+ setError(t("auth.loginUnreachable"));
} finally {
setLoading(false);
}
@@ -82,12 +84,12 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
return (
<AuthShell
icon={ShieldCheck}
- title="Two-factor authentication"
- description="Enter the 6-digit code from your authenticator app, or one of your recovery codes."
+ title={t("auth.mfaTitle")}
+ description={t("auth.mfaDescription")}
>
<form onSubmit={onSubmitCode} className="space-y-5">
<div className="space-y-2">
- <Label htmlFor="code">Code</Label>
+ <Label htmlFor="code">{t("auth.code")}</Label>
<Input
id="code"
name="code"
@@ -106,7 +108,7 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
</p>
)}
<Button type="submit" className="h-11 w-full rounded-full px-6 active:scale-[0.98]" disabled={loading}>
- {loading ? "Verifying..." : "Verify"}
+ {loading ? t("auth.verifying") : t("auth.verify")}
</Button>
<button
type="button"
@@ -117,7 +119,7 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
setError(null);
}}
>
- Back to sign in
+ {t("auth.backToSignIn")}
</button>
</form>
</AuthShell>
@@ -127,16 +129,16 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
return (
<AuthShell
icon={Mail}
- title={adding ? "Add another account" : "Sign in"}
+ title={adding ? t("auth.addAnother") : t("auth.signIn")}
description={
adding
- ? "Sign in to another account. You can switch between accounts from the account menu."
- : "Open your mailbox and continue from the same inbox workspace."
+ ? t("auth.addDescription")
+ : t("auth.signInDescription")
}
>
<form method="post" onSubmit={onSubmit} className="space-y-5">
<div className="space-y-2">
- <Label htmlFor="email">Email</Label>
+ <Label htmlFor="email">{t("auth.email")}</Label>
<Input
id="email"
name="email"
@@ -147,9 +149,9 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
</div>
<div className="space-y-2">
<div className="flex items-center justify-between">
- <Label htmlFor="password">Password</Label>
+ <Label htmlFor="password">{t("auth.password")}</Label>
<Link href="/forgot-password" className="text-xs font-medium text-blue-600 hover:underline">
- Forgot password?
+ {t("auth.forgotPassword")}
</Link>
</div>
<Input
@@ -171,7 +173,7 @@ export function LoginClient({ adding = false }: { adding?: boolean }) {
className="h-11 w-full rounded-full px-6 active:scale-[0.98]"
disabled={loading}
>
- {loading ? "Signing in..." : "Sign in"}
+ {loading ? t("auth.signingIn") : t("auth.signIn")}
</Button>
</form>
</AuthShell>
diff --git a/src/app/(auth)/reset-password/reset-password-client.tsx b/src/app/(auth)/reset-password/reset-password-client.tsx
index 31378d3..abba2cd 100644
--- a/src/app/(auth)/reset-password/reset-password-client.tsx
+++ b/src/app/(auth)/reset-password/reset-password-client.tsx
@@ -4,6 +4,7 @@ import Link from "next/link";
import { useSearchParams } from "next/navigation";
import { useState } from "react";
import { LockKeyhole } from "lucide-react";
+import { useLanguage } from "@/components/language-provider";
import { AuthShell } from "@/components/auth/auth-shell";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
@@ -11,6 +12,7 @@ import { Label } from "@/components/ui/label";
import { confirmPasswordReset } from "./utils";
export function ResetPasswordClient() {
+ const { t } = useLanguage();
const token = useSearchParams().get("token") ?? "";
const [password, setPassword] = useState("");
const [confirm, setConfirm] = useState("");
@@ -21,7 +23,7 @@ export function ResetPasswordClient() {
async function onSubmit(event: React.FormEvent<HTMLFormElement>) {
event.preventDefault();
if (password !== confirm) {
- setError("Passwords do not match");
+ setError(t("auth.reset.mismatch"));
return;
}
setLoading(true);
@@ -29,12 +31,12 @@ export function ResetPasswordClient() {
try {
const result = await confirmPasswordReset(token, password);
if (!result.ok) {
- setError(result.error ?? "Could not reset the password");
+ setError(result.error ?? t("auth.reset.failed"));
return;
}
setDone(true);
} catch {
- setError("Unable to reach the server. Please try again.");
+ setError(t("auth.serverUnreachable"));
} finally {
setLoading(false);
}
@@ -42,9 +44,9 @@ export function ResetPasswordClient() {
if (!token) {
return (
- <AuthShell icon={LockKeyhole} title="Reset link missing" description="Open the link from the reset email to choose a new password.">
+ <AuthShell icon={LockKeyhole} title={t("auth.reset.linkMissing")} description={t("auth.reset.linkMissingDescription")}>
<Link href="/forgot-password" className="text-sm text-blue-600 hover:underline">
- Request a new link
+ {t("auth.reset.requestNew")}
</Link>
</AuthShell>
);
@@ -53,16 +55,16 @@ export function ResetPasswordClient() {
return (
<AuthShell
icon={LockKeyhole}
- title={done ? "Password updated" : "Choose a new password"}
+ title={done ? t("auth.reset.updated") : t("auth.reset.chooseNew")}
description={
done
- ? "You have been signed out everywhere. Sign in with your new password to continue."
- : "Use at least 8 characters. Every other session for this account will be signed out."
+ ? t("auth.reset.doneDescription")
+ : t("auth.reset.description")
}
footer={
done ? (
<Link href="/login" className="text-sm font-medium text-blue-600 hover:underline">
- Go to sign in
+ {t("auth.reset.goToSignIn")}
</Link>
) : undefined
}
@@ -70,7 +72,7 @@ export function ResetPasswordClient() {
{!done && (
<form onSubmit={onSubmit} className="space-y-5">
<div className="space-y-2">
- <Label htmlFor="password">New password</Label>
+ <Label htmlFor="password">{t("auth.reset.newPassword")}</Label>
<Input
id="password"
type="password"
@@ -83,7 +85,7 @@ export function ResetPasswordClient() {
/>
</div>
<div className="space-y-2">
- <Label htmlFor="confirm">Confirm new password</Label>
+ <Label htmlFor="confirm">{t("auth.reset.confirm")}</Label>
<Input
id="confirm"
type="password"
@@ -98,7 +100,7 @@ export function ResetPasswordClient() {
<p className="rounded-2xl border border-red-100 bg-red-50 px-4 py-3 text-sm font-medium text-red-700">{error}</p>
)}
<Button type="submit" className="h-11 w-full rounded-full px-6 active:scale-[0.98]" disabled={loading}>
- {loading ? "Saving..." : "Set new password"}
+ {loading ? t("common.saving") : t("auth.reset.setNew")}
</Button>
</form>
)}
diff --git a/src/app/(dashboard)/agent/review/[id]/page.tsx b/src/app/(dashboard)/agent/review/[id]/page.tsx
index ead99ce..262dd5b 100644
--- a/src/app/(dashboard)/agent/review/[id]/page.tsx
+++ b/src/app/(dashboard)/agent/review/[id]/page.tsx
@@ -2,11 +2,13 @@
import { useEffect, useState } from "react";
import { useParams, useRouter } from "next/navigation";
+import { useLanguage } from "@/components/language-provider";
import { authFetch } from "@/lib/auth/client";
import { SendReview } from "@/components/agent/send-review";
import type { AgentReviewResponse } from "@/components/agent/send-review-types";
export default function AgentReviewPage() {
+ const { t } = useLanguage();
const { id } = useParams<{ id: string }>();
const router = useRouter();
const [request, setRequest] = useState<AgentReviewResponse | null>(null);
@@ -14,15 +16,15 @@ export default function AgentReviewPage() {
useEffect(() => {
void authFetch(`/api/agent/approvals/${id}`).then(async (response) => {
const data = await response.json() as AgentReviewResponse;
- if (!response.ok) throw new Error(data.error || "Could not load review");
+ if (!response.ok) throw new Error(data.error || t("agent.review.loadFailed"));
setRequest(data);
- }).catch((cause) => setError(cause instanceof Error ? cause.message : "Could not load review"));
- }, [id]);
+ }).catch((cause) => setError(cause instanceof Error ? cause.message : t("agent.review.loadFailed")));
+ }, [id, t]);
return <div className="p-8">
- <h1 className="text-2xl font-semibold">AI draft review</h1>
+ <h1 className="text-2xl font-semibold">{t("agent.review.title")}</h1>
{error && <p className="mt-4 text-red-600">{error}</p>}
- {!error && !request && <p className="mt-4">Loading review…</p>}
- {request && (request.status !== "pending" || request.stale || !request.snapshot) && <p className="mt-4">This review is {request.stale ? "out of date" : request.status}. Open the draft and request a new review if needed.</p>}
+ {!error && !request && <p className="mt-4">{t("agent.review.loading")}</p>}
+ {request && (request.status !== "pending" || request.stale || !request.snapshot) && <p className="mt-4">{request.stale ? t("agent.review.stale") : t("agent.review.status", { status: request.status })}</p>}
{request?.status === "pending" && !request.stale && request.snapshot && <SendReview approvalId={id} snapshot={request.snapshot} onClose={() => router.push("/drafts")} onSent={() => router.push("/sent")} />}
</div>;
}
diff --git a/src/app/(dashboard)/compose/page.tsx b/src/app/(dashboard)/compose/page.tsx
index d95ef41..0bbf11f 100644
--- a/src/app/(dashboard)/compose/page.tsx
+++ b/src/app/(dashboard)/compose/page.tsx
@@ -1,13 +1,15 @@
"use client";
+import { useLanguage } from "@/components/language-provider";
import { ComposeForm } from "@/components/compose/compose-form";
export default function ComposePage() {
+ const { t } = useLanguage();
return (
<div className="h-full overflow-auto p-8">
<div className="mb-6">
- <h1 className="text-2xl font-normal text-neutral-900">Compose</h1>
- <p className="mt-1 text-sm text-neutral-500">Write a new email. Drafts save automatically.</p>
+ <h1 className="text-2xl font-normal text-neutral-900">{t("compose.pageTitle")}</h1>
+ <p className="mt-1 text-sm text-neutral-500">{t("compose.pageDescription")}</p>
</div>
<ComposeForm mode="page" />
</div>
diff --git a/src/app/(dashboard)/drafts/page.tsx b/src/app/(dashboard)/drafts/page.tsx
index cb25fd4..3054ed9 100644
--- a/src/app/(dashboard)/drafts/page.tsx
+++ b/src/app/(dashboard)/drafts/page.tsx
@@ -9,7 +9,9 @@ export default function DraftsPage() {
config={{
folder: "drafts",
title: "Drafts",
+ titleKey: "navigation.drafts",
emptyText: "No drafts",
+ emptyTextKey: "folder.drafts.empty",
hrefPrefix: "/drafts",
icon: FileText,
badgeVariant: "outline",
diff --git a/src/app/(dashboard)/inbox/[messageId]/page.tsx b/src/app/(dashboard)/inbox/[messageId]/page.tsx
index 6bce918..1d5929d 100644
--- a/src/app/(dashboard)/inbox/[messageId]/page.tsx
+++ b/src/app/(dashboard)/inbox/[messageId]/page.tsx
@@ -3,6 +3,7 @@
import { useParams } from "next/navigation";
import { useEffect, useState } from "react";
import { Cloud, ExternalLink } from "lucide-react";
+import { useLanguage } from "@/components/language-provider";
import { formatUserDate } from "@/lib/time/utils";
import { MarkAsRead } from "@/components/mark-read";
import { useSelectedMailbox } from "@/components/mailbox-provider";
@@ -42,6 +43,7 @@ import { useAssistantOpen } from "@/components/agent/assistant-open-state";
import { useMessageContentScroll } from "./use-message-content-scroll";
export default function MessageDetailPage() {
+ const { t } = useLanguage();
const params = useParams<{ messageId: string }>();
const { selectedMailbox, mailboxes } = useSelectedMailbox();
const messageId = params.messageId;
@@ -101,7 +103,7 @@ export default function MessageDetailPage() {
if (!data?.message) {
return (
<p className="px-6 py-4 text-sm text-neutral-500">
- {data?.error ?? "Message not found"}
+ {data?.error ?? t("message.notFound")}
</p>
);
}
@@ -180,8 +182,8 @@ export default function MessageDetailPage() {
<div ref={scrollRef} onScroll={handleScroll} className="h-full overflow-y-auto overscroll-contain scrollbar-gutter-stable flex-1 min-h-0">
{!message.read && <MarkAsRead messageId={message.id} />}
- <h1 className={clsx(!isAnyPanelVisible ? "pl-16" : "pl-10", "pr-6 pb-2 pt-2 text-2xl text-neutral-900")} title={message.subject ?? "(no subject)"}>
- {message.subject ?? "(no subject)"}
+ <h1 className={clsx(!isAnyPanelVisible ? "pl-16" : "pl-10", "pr-6 pb-2 pt-2 text-2xl text-neutral-900")} title={message.subject ?? t("list.noSubject")}>
+ {message.subject ?? t("list.noSubject")}
</h1>
{/* <div className="px-6">
<div className="mx-auto w-full max-w-[640px]">
@@ -236,7 +238,7 @@ export default function MessageDetailPage() {
<span className="text-neutral-500 text-xs flex-1 overflow-hidden text-ellipsis min-w-0">&lt;{fromAddress}&gt;</span>
</p>
<p className="text-xs text-neutral-500">
- to{" "}
+ {t("source.to").toLowerCase()}{" "}
<RecipientList
entries={toEntries}
mailboxId={message.mailboxId}
@@ -245,12 +247,12 @@ export default function MessageDetailPage() {
</p>
{ccEntries.length > 0 && (
<p className="text-xs text-neutral-500">
- cc <RecipientList entries={ccEntries} mailboxId={message.mailboxId} style={showFullRecipientAddresses ? "full" : "address"} />
+ {t("message.cc")} <RecipientList entries={ccEntries} mailboxId={message.mailboxId} style={showFullRecipientAddresses ? "full" : "address"} />
</p>
)}
{bccEntries.length > 0 && (
<p className="text-xs text-neutral-500">
- bcc <RecipientList entries={bccEntries} mailboxId={message.mailboxId} style={showFullRecipientAddresses ? "full" : "address"} />
+ {t("message.bcc")} <RecipientList entries={bccEntries} mailboxId={message.mailboxId} style={showFullRecipientAddresses ? "full" : "address"} />
</p>
)}
</div>
@@ -287,7 +289,7 @@ export default function MessageDetailPage() {
{cloudAttachmentResult.attachments.length > 0 && (
<section className="mt-8 border-t border-neutral-100 py-6 pl-16">
<h2 className="mb-3 text-sm font-semibold text-neutral-900">
- Cloud files ({cloudAttachmentResult.attachments.length})
+ {t("message.cloudFiles", { count: cloudAttachmentResult.attachments.length })}
</h2>
<div className="grid gap-2 sm:grid-cols-2">
{cloudAttachmentResult.attachments.map((attachment) => (
@@ -304,7 +306,7 @@ export default function MessageDetailPage() {
{attachment.filename}
</span>
<span className="block text-xs text-neutral-500">
- Open from {attachment.provider}
+ {t("message.openFrom", { provider: attachment.provider })}
</span>
</span>
<ExternalLink className="h-4 w-4 shrink-0 text-neutral-400" />
@@ -316,7 +318,7 @@ export default function MessageDetailPage() {
{attachments.length > 0 && (
<section className="mt-8 border-t border-neutral-100 py-6 pl-16">
<h2 className="mb-3 text-sm font-semibold text-neutral-900">
- Attachments ({attachments.length})
+ {t("message.attachments", { count: attachments.length })}
</h2>
<div className="grid gap-2 sm:grid-cols-2">
{attachments.map((attachment) => (
diff --git a/src/app/(dashboard)/layout.tsx b/src/app/(dashboard)/layout.tsx
index 242d236..be46b7e 100644
--- a/src/app/(dashboard)/layout.tsx
+++ b/src/app/(dashboard)/layout.tsx
@@ -2,6 +2,7 @@
import { useEffect } from "react";
import { Sparkles } from "lucide-react";
+import { useLanguage } from "@/components/language-provider";
import { AuthGuard } from "@/components/auth/auth-guard";
import { ComposeProvider } from "@/components/compose/compose-context";
import { FloatingComposer } from "@/components/compose/floating-composer";
@@ -27,6 +28,7 @@ export default function DashboardLayout({
}: {
children: React.ReactNode;
}) {
+ const { t } = useLanguage();
const { assistantOpen, setAssistantOpen, assistantFullSize, setAssistantFullSize } = useDashboardState();
const assistantEnabled = useAssistantAvailability();
const assistantVisible = assistantEnabled === true && assistantOpen;
@@ -64,7 +66,7 @@ export default function DashboardLayout({
<HelpCircle className="h-5 w-5" />
</Link> */}
<LicenseIndicator />
- {assistantEnabled && <Button type="button" variant="ghost" size="sm" className={assistantOpen ? "bg-blue-50 text-blue-700" : "text-neutral-600"} onClick={() => { setAssistantOpen((current) => !current); setAssistantFullSize(false); }} aria-label={assistantOpen ? "Close email assistant" : "Open email assistant"} aria-expanded={assistantOpen} aria-controls="email-assistant-panel"><Sparkles className="h-5 w-5" /></Button>}
+ {assistantEnabled && <Button type="button" variant="ghost" size="sm" className={assistantOpen ? "bg-blue-50 text-blue-700" : "text-neutral-600"} onClick={() => { setAssistantOpen((current) => !current); setAssistantFullSize(false); }} aria-label={assistantOpen ? t("agent.assistant.close") : t("agent.assistant.open")} aria-expanded={assistantOpen} aria-controls="email-assistant-panel"><Sparkles className="h-5 w-5" /></Button>}
<MailboxSelector />
</header>
<div className="flex min-h-0 min-w-0 flex-1 overflow-hidden">
diff --git a/src/app/(settings)/settings/app-passwords/page.tsx b/src/app/(settings)/settings/app-passwords/page.tsx
index d7d5210..9e11649 100644
--- a/src/app/(settings)/settings/app-passwords/page.tsx
+++ b/src/app/(settings)/settings/app-passwords/page.tsx
@@ -1,11 +1,13 @@
+import { getServerTranslator } from "@/lib/i18n/server";
import { EmailClientsSettings } from "@/components/settings/email-clients-settings";
-export default function EmailAppsSettingsPage() {
+export default async function EmailAppsSettingsPage() {
+ const t = await getServerTranslator();
return <div className="space-y-8 py-4">
<section className="space-y-4">
<div>
- <h1 className="text-xl font-semibold text-neutral-900">App Passwords</h1>
- <p className="mt-1 text-sm text-neutral-500">Use your mail from a desktop or mobile app over JMAP.</p>
+ <h1 className="text-xl font-semibold text-neutral-900">{t("settingsPage.appPasswords.title")}</h1>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.appPasswords.description")}</p>
</div>
<div className="space-y-4 rounded-3xl bg-white p-6">
<EmailClientsSettings />
diff --git a/src/app/(settings)/settings/export/page.tsx b/src/app/(settings)/settings/export/page.tsx
index 6cbc248..a0fd79d 100644
--- a/src/app/(settings)/settings/export/page.tsx
+++ b/src/app/(settings)/settings/export/page.tsx
@@ -2,12 +2,14 @@
import { useState } from "react";
import { Download } from "lucide-react";
+import { useLanguage } from "@/components/language-provider";
import { useSelectedMailbox } from "@/components/mailbox-provider";
import { Button } from "@/components/ui/button";
import type { ExportState } from "./types";
import { exportMailbox } from "./utils";
export default function SettingsExportPage() {
+ const { t } = useLanguage();
const { selectedMailbox } = useSelectedMailbox();
const [exportState, setExportState] = useState<ExportState>({ error: null, loading: false });
@@ -17,7 +19,7 @@ export default function SettingsExportPage() {
try {
await exportMailbox(selectedMailbox.id, `${selectedMailbox.localPart}.mbox`);
} catch (error) {
- setExportState({ error: error instanceof Error ? error.message : "Export failed", loading: false });
+ setExportState({ error: error instanceof Error ? error.message : t("export.failed"), loading: false });
return;
}
setExportState({ error: null, loading: false });
@@ -34,15 +36,14 @@ export default function SettingsExportPage() {
<section className="space-y-4">
<div>
- <h2 className="text-xl font-semibold text-neutral-900">Export mailbox</h2>
+ <h2 className="text-xl font-semibold text-neutral-900">{t("export.title")}</h2>
<p className="mt-1 text-sm text-neutral-500">
- Download message headers and bodies from the selected mailbox as an .mbox file.
- Attachments are not included in this export.
+ {t("export.description")}
</p>
</div>
<div className="space-y-3 rounded-3xl bg-white p-6">
<Button type="button" variant="outline" disabled={!selectedMailbox || exportState.loading} onClick={onExport}>
- {exportState.loading ? "Preparing..." : "Download .mbox"}
+ {exportState.loading ? t("export.preparing") : t("export.download")}
</Button>
{exportState.error && (
<p className="rounded-lg border border-red-100 bg-red-50 px-4 py-3 text-sm text-red-700">
diff --git a/src/app/(settings)/settings/inbox/page.tsx b/src/app/(settings)/settings/inbox/page.tsx
index 8fed078..2e0ad3d 100644
--- a/src/app/(settings)/settings/inbox/page.tsx
+++ b/src/app/(settings)/settings/inbox/page.tsx
@@ -1,3 +1,4 @@
+import { getServerTranslator } from "@/lib/i18n/server";
import { AppearanceSettings } from "@/components/settings/appearance-settings";
import { InboxThreadingSettings } from "@/components/settings/inbox-threading-settings";
import { RecipientAddressSettings } from "@/components/settings/recipient-address-settings";
@@ -8,54 +9,55 @@ import { SpamFilterSettings } from "@/components/settings/spam-filter-settings";
import { TrashRetentionSettings } from "@/components/settings/trash-retention-settings";
import { BrowserNotificationSettings } from "@/components/settings/browser-notification-settings";
-export default function SettingsInboxPage() {
+export default async function SettingsInboxPage() {
+ const t = await getServerTranslator();
return (
<div className="space-y-8 py-4">
<section className="space-y-4">
<div>
- <h2 className="text-xl font-semibold text-neutral-900">Inbox experience</h2>
- <p className="mt-1 text-sm text-neutral-500">Choose how you read and interact with email.</p>
+ <h2 className="text-xl font-semibold text-neutral-900">{t("settingsPage.inbox.experience")}</h2>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.experienceDescription")}</p>
</div>
<div className="divide-y divide-neutral-100 rounded-3xl bg-white p-6">
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Appearance</h3>
- <p className="mt-1 text-sm text-neutral-500">Choose a light or dark interface.</p>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.appearance")}</h3>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.appearanceDescription")}</p>
</div>
<AppearanceSettings />
</div>
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Reading layout</h3>
- <p className="mt-1 text-sm text-neutral-500">Choose how open emails appear.</p>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.readingLayout")}</h3>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.readingLayoutDescription")}</p>
</div>
<InboxReadingLayoutSettings />
</div>
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Threading</h3>
- <p className="mt-1 text-sm text-neutral-500">Choose how emails are organized in your inbox.</p>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.threading")}</h3>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.threadingDescription")}</p>
</div>
<InboxThreadingSettings />
</div>
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Addresses</h3>
- <p className="mt-1 text-sm text-neutral-500">Choose how recipient addresses appear when you read mail.</p>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.addresses")}</h3>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.addressesDescription")}</p>
</div>
<RecipientAddressSettings />
</div>
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Shortcuts</h3>
- <p className="mt-1 text-sm text-neutral-500">Choose whether keyboard shortcuts are active.</p>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.shortcuts")}</h3>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.shortcutsDescription")}</p>
</div>
<InboxShortcutsSettings />
</div>
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Notifications</h3>
- <p className="mt-1 text-sm text-neutral-500">Choose how you hear about new email.</p>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.notifications")}</h3>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.notificationsDescription")}</p>
</div>
<BrowserNotificationSettings />
</div>
@@ -63,29 +65,29 @@ export default function SettingsInboxPage() {
</section>
<section className="space-y-4">
<div>
- <h2 className="text-xl font-semibold text-neutral-900">Message handling</h2>
- <p className="mt-1 text-sm text-neutral-500">Manage spam protection, clean-up and automatic replies.</p>
+ <h2 className="text-xl font-semibold text-neutral-900">{t("settingsPage.inbox.handling")}</h2>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.handlingDescription")}</p>
</div>
<div className="divide-y divide-neutral-100 rounded-3xl bg-white p-6">
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Spam protection</h3>
- <p className="mt-1 text-sm text-neutral-500">Control local spam analysis for incoming messages.</p>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.spamProtection")}</h3>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.spamProtectionDescription")}</p>
</div>
<SpamFilterSettings />
</div>
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Trash and Spam clean-up</h3>
- <p className="mt-1 text-sm text-neutral-500">Choose how long deleted and spam messages are kept.</p>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.cleanup")}</h3>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.inbox.cleanupDescription")}</p>
</div>
<TrashRetentionSettings />
</div>
<div className="py-6 first:pt-0 last:pb-0">
<div className="mb-4">
- <h3 className="text-base font-semibold text-neutral-900">Automatic response</h3>
+ <h3 className="text-base font-semibold text-neutral-900">{t("settingsPage.inbox.autoReply")}</h3>
<p className="mt-1 text-sm text-neutral-500">
- Configure the subject and message for the inbox currently selected above.
+ {t("settingsPage.inbox.autoReplyDescription")}
</p>
</div>
<MailboxAutoReplyForm />
diff --git a/src/app/(settings)/settings/security/page.tsx b/src/app/(settings)/settings/security/page.tsx
index 7c0d8e7..f091aa9 100644
--- a/src/app/(settings)/settings/security/page.tsx
+++ b/src/app/(settings)/settings/security/page.tsx
@@ -1,24 +1,26 @@
+import { getServerTranslator } from "@/lib/i18n/server";
import { ChangePasswordForm } from "@/components/settings/change-password-form";
import { MfaSettings } from "@/components/settings/mfa-settings";
-export default function SecuritySettingsPage() {
+export default async function SecuritySettingsPage() {
+ const t = await getServerTranslator();
return <div className="space-y-8 py-4">
<section className="space-y-4">
<div>
- <h1 className="text-xl font-semibold text-neutral-900">Security</h1>
- <p className="mt-1 text-sm text-neutral-500">Manage how you sign in to your account.</p>
+ <h1 className="text-xl font-semibold text-neutral-900">{t("settingsPage.security.title")}</h1>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.security.description")}</p>
</div>
<div className="space-y-4 rounded-3xl bg-white p-6">
<div>
- <h2 className="text-lg font-semibold text-neutral-900">Change password</h2>
- <p className="mt-1 text-sm text-neutral-500">Use at least 8 characters for your new password.</p>
+ <h2 className="text-lg font-semibold text-neutral-900">{t("settingsPage.security.changePassword")}</h2>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.security.changePasswordDescription")}</p>
</div>
<ChangePasswordForm />
</div>
<div className="space-y-4 rounded-3xl bg-white p-6">
<div>
- <h2 className="text-lg font-semibold text-neutral-900">Two-factor authentication</h2>
- <p className="mt-1 text-sm text-neutral-500">Require a code from an authenticator app when signing in.</p>
+ <h2 className="text-lg font-semibold text-neutral-900">{t("settingsPage.security.mfa")}</h2>
+ <p className="mt-1 text-sm text-neutral-500">{t("settingsPage.security.mfaDescription")}</p>
</div>
<MfaSettings />
</div>
diff --git a/src/components/auth/auth-shell.tsx b/src/components/auth/auth-shell.tsx
index 7403705..e6f79bf 100644
--- a/src/components/auth/auth-shell.tsx
+++ b/src/components/auth/auth-shell.tsx
@@ -2,6 +2,7 @@
import { useEffect, useState } from "react";
import { useBranding } from "@/components/branding-provider";
+import { LanguageSelector } from "@/components/language-selector";
import type { AuthShellProps } from "./types";
export function AuthShell({
@@ -78,6 +79,9 @@ export function AuthShell({
</div>
)}
<div className="w-full">{children}</div>
+ <div className="mt-8 max-w-48">
+ <LanguageSelector />
+ </div>
{footer && (
<div className="mt-8 text-sm font-medium text-blue-700">
{footer}
diff --git a/src/components/previous-message.tsx b/src/components/previous-message.tsx
index d2e0496..a41c218 100644
--- a/src/components/previous-message.tsx
+++ b/src/components/previous-message.tsx
@@ -1,13 +1,15 @@
import { ChevronRight } from "lucide-react";
+import { useLanguage } from "@/components/language-provider";
import type { PreviousMessageProps } from "./previous-message-types";
export function PreviousMessage({ message }: PreviousMessageProps) {
+ const { t } = useLanguage();
return (
<details className="group mt-4 border-l-2 border-neutral-200 pl-4">
<summary className="flex cursor-pointer list-none items-center gap-2 rounded-md py-2 text-xs font-medium text-neutral-500 hover:text-neutral-800">
<ChevronRight className="h-3.5 w-3.5 shrink-0 transition-transform group-open:rotate-90" />
<span>
- Previous message {message.direction} at {message.dateLine}
+ {t(message.direction === "sent" ? "message.previous.sent" : "message.previous.received", { date: message.dateLine })}
</span>
</summary>
<div className="pb-2 pl-5 text-neutral-600">
diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json
index 5b25999..197d4d0 100644
--- a/src/lib/i18n/en.json
+++ b/src/lib/i18n/en.json
@@ -675,5 +675,96 @@
"routing.rejectPlaceholder": "Message rejected by routing rule",
"routing.noRules": "No rules yet.",
"routing.disabled": "Disabled",
- "routing.stats": "Priority {priority} · matched {count}× · last {last}"
+ "routing.stats": "Priority {priority} · matched {count}× · last {last}",
+ "export.failed": "Export failed",
+ "export.title": "Export mailbox",
+ "export.description": "Download message headers and bodies from the selected mailbox as an .mbox file. Attachments are not included in this export.",
+ "export.preparing": "Preparing...",
+ "export.download": "Download .mbox",
+ "settingsPage.inbox.experience": "Inbox experience",
+ "settingsPage.inbox.experienceDescription": "Choose how you read and interact with email.",
+ "settingsPage.inbox.appearance": "Appearance",
+ "settingsPage.inbox.appearanceDescription": "Choose a light or dark interface.",
+ "settingsPage.inbox.readingLayout": "Reading layout",
+ "settingsPage.inbox.readingLayoutDescription": "Choose how open emails appear.",
+ "settingsPage.inbox.threading": "Threading",
+ "settingsPage.inbox.threadingDescription": "Choose how emails are organized in your inbox.",
+ "settingsPage.inbox.addresses": "Addresses",
+ "settingsPage.inbox.addressesDescription": "Choose how recipient addresses appear when you read mail.",
+ "settingsPage.inbox.shortcuts": "Shortcuts",
+ "settingsPage.inbox.shortcutsDescription": "Choose whether keyboard shortcuts are active.",
+ "settingsPage.inbox.notifications": "Notifications",
+ "settingsPage.inbox.notificationsDescription": "Choose how you hear about new email.",
+ "settingsPage.inbox.handling": "Message handling",
+ "settingsPage.inbox.handlingDescription": "Manage spam protection, clean-up and automatic replies.",
+ "settingsPage.inbox.spamProtection": "Spam protection",
+ "settingsPage.inbox.spamProtectionDescription": "Control local spam analysis for incoming messages.",
+ "settingsPage.inbox.cleanup": "Trash and Spam clean-up",
+ "settingsPage.inbox.cleanupDescription": "Choose how long deleted and spam messages are kept.",
+ "settingsPage.inbox.autoReply": "Automatic response",
+ "settingsPage.inbox.autoReplyDescription": "Configure the subject and message for the inbox currently selected above.",
+ "settingsPage.security.title": "Security",
+ "settingsPage.security.description": "Manage how you sign in to your account.",
+ "settingsPage.security.changePassword": "Change password",
+ "settingsPage.security.changePasswordDescription": "Use at least 8 characters for your new password.",
+ "settingsPage.security.mfa": "Two-factor authentication",
+ "settingsPage.security.mfaDescription": "Require a code from an authenticator app when signing in.",
+ "settingsPage.appPasswords.title": "App Passwords",
+ "settingsPage.appPasswords.description": "Use your mail from a desktop or mobile app over JMAP.",
+ "folder.drafts.empty": "No drafts",
+ "compose.pageTitle": "Compose",
+ "compose.pageDescription": "Write a new email. Drafts save automatically.",
+ "agent.review.loadFailed": "Could not load review",
+ "agent.review.title": "AI draft review",
+ "agent.review.loading": "Loading review…",
+ "agent.review.stale": "This review is out of date. Open the draft and request a new review if needed.",
+ "agent.review.status": "This review is {status}. Open the draft and request a new review if needed.",
+ "agent.assistant.close": "Close email assistant",
+ "agent.assistant.open": "Open email assistant",
+ "message.notFound": "Message not found",
+ "message.cloudFiles": "Cloud files ({count})",
+ "message.openFrom": "Open from {provider}",
+ "message.attachments": "Attachments ({count})",
+ "message.cc": "cc",
+ "message.bcc": "bcc",
+ "message.previous.received": "Previous message received at {date}",
+ "message.previous.sent": "Previous message sent at {date}",
+ "auth.email": "Email",
+ "auth.password": "Password",
+ "auth.signIn": "Sign in",
+ "auth.signingIn": "Signing in...",
+ "auth.loginFailed": "Login failed",
+ "auth.loginTimeout": "Login timed out. Please try again.",
+ "auth.loginUnreachable": "Unable to reach the login service. Please try again.",
+ "auth.codeMismatch": "That code did not match",
+ "auth.mfaTitle": "Two-factor authentication",
+ "auth.mfaDescription": "Enter the 6-digit code from your authenticator app, or one of your recovery codes.",
+ "auth.code": "Code",
+ "auth.verifying": "Verifying...",
+ "auth.verify": "Verify",
+ "auth.backToSignIn": "Back to sign in",
+ "auth.addAnother": "Add another account",
+ "auth.addDescription": "Sign in to another account. You can switch between accounts from the account menu.",
+ "auth.signInDescription": "Open your mailbox and continue from the same inbox workspace.",
+ "auth.forgotPassword": "Forgot password?",
+ "auth.forgot.error": "Something went wrong. Please try again.",
+ "auth.serverUnreachable": "Unable to reach the server. Please try again.",
+ "auth.forgot.title": "Reset your password",
+ "auth.forgot.sent": "If that account has a recovery email, a reset link is on its way. It works for 30 minutes.",
+ "auth.forgot.description": "Enter the address you sign in with. We will send a reset link to the recovery email on the account.",
+ "auth.sending": "Sending...",
+ "auth.sendReset": "Send reset link",
+ "auth.reset.mismatch": "Passwords do not match",
+ "auth.reset.failed": "Could not reset the password",
+ "auth.reset.linkMissing": "Reset link missing",
+ "auth.reset.linkMissingDescription": "Open the link from the reset email to choose a new password.",
+ "auth.reset.requestNew": "Request a new link",
+ "auth.reset.updated": "Password updated",
+ "auth.reset.chooseNew": "Choose a new password",
+ "auth.reset.doneDescription": "You have been signed out everywhere. Sign in with your new password to continue.",
+ "auth.reset.description": "Use at least 8 characters. Every other session for this account will be signed out.",
+ "auth.reset.goToSignIn": "Go to sign in",
+ "auth.reset.newPassword": "New password",
+ "auth.reset.confirm": "Confirm new password",
+ "auth.reset.setNew": "Set new password"
}
diff --git a/src/lib/i18n/pt-BR.json b/src/lib/i18n/pt-BR.json
index 947bc8f..96c8c49 100644
--- a/src/lib/i18n/pt-BR.json
+++ b/src/lib/i18n/pt-BR.json
@@ -675,5 +675,96 @@
"routing.rejectPlaceholder": "Mensagem rejeitada por regra de roteamento",
"routing.noRules": "Nenhuma regra ainda.",
"routing.disabled": "Desativada",
- "routing.stats": "Prioridade {priority} · correspondeu {count}× · última {last}"
+ "routing.stats": "Prioridade {priority} · correspondeu {count}× · última {last}",
+ "export.failed": "Falha na exportação",
+ "export.title": "Exportar caixa de correio",
+ "export.description": "Baixe os cabeçalhos e os corpos das mensagens da caixa de correio selecionada como um arquivo .mbox. Os anexos não estão incluídos nesta exportação.",
+ "export.preparing": "Preparando...",
+ "export.download": "Baixar .mbox",
+ "settingsPage.inbox.experience": "Experiência da caixa de entrada",
+ "settingsPage.inbox.experienceDescription": "Escolha como você lê e interage com os e-mails.",
+ "settingsPage.inbox.appearance": "Aparência",
+ "settingsPage.inbox.appearanceDescription": "Escolha uma interface clara ou escura.",
+ "settingsPage.inbox.readingLayout": "Layout de leitura",
+ "settingsPage.inbox.readingLayoutDescription": "Escolha como os e-mails abertos aparecem.",
+ "settingsPage.inbox.threading": "Conversas",
+ "settingsPage.inbox.threadingDescription": "Escolha como os e-mails são organizados na sua caixa de entrada.",
+ "settingsPage.inbox.addresses": "Endereços",
+ "settingsPage.inbox.addressesDescription": "Escolha como os endereços dos destinatários aparecem ao ler e-mails.",
+ "settingsPage.inbox.shortcuts": "Atalhos",
+ "settingsPage.inbox.shortcutsDescription": "Escolha se os atalhos de teclado ficam ativos.",
+ "settingsPage.inbox.notifications": "Notificações",
+ "settingsPage.inbox.notificationsDescription": "Escolha como você é avisado sobre novos e-mails.",
+ "settingsPage.inbox.handling": "Tratamento de mensagens",
+ "settingsPage.inbox.handlingDescription": "Gerencie a proteção contra spam, a limpeza e as respostas automáticas.",
+ "settingsPage.inbox.spamProtection": "Proteção contra spam",
+ "settingsPage.inbox.spamProtectionDescription": "Controle a análise local de spam das mensagens recebidas.",
+ "settingsPage.inbox.cleanup": "Limpeza da Lixeira e de Spam",
+ "settingsPage.inbox.cleanupDescription": "Escolha por quanto tempo as mensagens excluídas e de spam são mantidas.",
+ "settingsPage.inbox.autoReply": "Resposta automática",
+ "settingsPage.inbox.autoReplyDescription": "Configure o assunto e a mensagem da caixa de entrada selecionada acima.",
+ "settingsPage.security.title": "Segurança",
+ "settingsPage.security.description": "Gerencie como você entra na sua conta.",
+ "settingsPage.security.changePassword": "Alterar senha",
+ "settingsPage.security.changePasswordDescription": "Use pelo menos 8 caracteres na nova senha.",
+ "settingsPage.security.mfa": "Autenticação de dois fatores",
+ "settingsPage.security.mfaDescription": "Exigir um código de um aplicativo autenticador ao entrar.",
+ "settingsPage.appPasswords.title": "Senhas de aplicativo",
+ "settingsPage.appPasswords.description": "Use seu e-mail em um aplicativo de computador ou celular por JMAP.",
+ "folder.drafts.empty": "Nenhum rascunho",
+ "compose.pageTitle": "Escrever",
+ "compose.pageDescription": "Escreva um novo e-mail. Os rascunhos são salvos automaticamente.",
+ "agent.review.loadFailed": "Não foi possível carregar a revisão",
+ "agent.review.title": "Revisão de rascunho de IA",
+ "agent.review.loading": "Carregando revisão…",
+ "agent.review.stale": "Esta revisão está desatualizada. Abra o rascunho e solicite uma nova revisão, se necessário.",
+ "agent.review.status": "Esta revisão está {status}. Abra o rascunho e solicite uma nova revisão, se necessário.",
+ "agent.assistant.close": "Fechar assistente de e-mail",
+ "agent.assistant.open": "Abrir assistente de e-mail",
+ "message.notFound": "Mensagem não encontrada",
+ "message.cloudFiles": "Arquivos na nuvem ({count})",
+ "message.openFrom": "Abrir de {provider}",
+ "message.attachments": "Anexos ({count})",
+ "message.cc": "cc",
+ "message.bcc": "cco",
+ "message.previous.received": "Mensagem anterior recebida em {date}",
+ "message.previous.sent": "Mensagem anterior enviada em {date}",
+ "auth.email": "E-mail",
+ "auth.password": "Senha",
+ "auth.signIn": "Entrar",
+ "auth.signingIn": "Entrando...",
+ "auth.loginFailed": "Falha no login",
+ "auth.loginTimeout": "O login expirou. Tente novamente.",
+ "auth.loginUnreachable": "Não foi possível acessar o serviço de login. Tente novamente.",
+ "auth.codeMismatch": "Esse código não confere",
+ "auth.mfaTitle": "Autenticação de dois fatores",
+ "auth.mfaDescription": "Digite o código de 6 dígitos do seu aplicativo autenticador ou um dos seus códigos de recuperação.",
+ "auth.code": "Código",
+ "auth.verifying": "Verificando...",
+ "auth.verify": "Verificar",
+ "auth.backToSignIn": "Voltar para o login",
+ "auth.addAnother": "Adicionar outra conta",
+ "auth.addDescription": "Entre em outra conta. Você pode alternar entre contas pelo menu da conta.",
+ "auth.signInDescription": "Abra sua caixa de correio e continue no mesmo espaço de trabalho.",
+ "auth.forgotPassword": "Esqueceu a senha?",
+ "auth.forgot.error": "Algo deu errado. Tente novamente.",
+ "auth.serverUnreachable": "Não foi possível acessar o servidor. Tente novamente.",
+ "auth.forgot.title": "Redefinir sua senha",
+ "auth.forgot.sent": "Se essa conta tiver um e-mail de recuperação, um link de redefinição está a caminho. Ele funciona por 30 minutos.",
+ "auth.forgot.description": "Digite o endereço com o qual você entra. Enviaremos um link de redefinição para o e-mail de recuperação da conta.",
+ "auth.sending": "Enviando...",
+ "auth.sendReset": "Enviar link de redefinição",
+ "auth.reset.mismatch": "As senhas não coincidem",
+ "auth.reset.failed": "Não foi possível redefinir a senha",
+ "auth.reset.linkMissing": "Link de redefinição ausente",
+ "auth.reset.linkMissingDescription": "Abra o link do e-mail de redefinição para escolher uma nova senha.",
+ "auth.reset.requestNew": "Solicitar um novo link",
+ "auth.reset.updated": "Senha atualizada",
+ "auth.reset.chooseNew": "Escolha uma nova senha",
+ "auth.reset.doneDescription": "Você foi desconectado de todos os lugares. Entre com a nova senha para continuar.",
+ "auth.reset.description": "Use pelo menos 8 caracteres. Todas as outras sessões desta conta serão encerradas.",
+ "auth.reset.goToSignIn": "Ir para o login",
+ "auth.reset.newPassword": "Nova senha",
+ "auth.reset.confirm": "Confirmar nova senha",
+ "auth.reset.setNew": "Definir nova senha"
}