feat: add page title translations (#2629)

This commit is contained in:
David Nguyen
2026-03-19 15:44:53 +11:00
committed by GitHub
parent 4f8132be61
commit e87aa29823
53 changed files with 761 additions and 121 deletions
@@ -1,3 +1,4 @@
import { msg } from '@lingui/core/macro';
import { Trans } from '@lingui/react/macro';
import { XCircle } from 'lucide-react';
import { Link } from 'react-router';
@@ -7,7 +8,7 @@ import { Button } from '@documenso/ui/primitives/button';
import { appMetaTags } from '~/utils/meta';
export function meta() {
return appMetaTags('Verify Email');
return appMetaTags(msg`Verify Email`);
}
export default function EmailVerificationWithoutTokenPage() {
@@ -15,7 +16,7 @@ export default function EmailVerificationWithoutTokenPage() {
<div className="w-screen max-w-lg px-4">
<div className="flex w-full items-start">
<div className="mr-4 mt-1 hidden md:block">
<XCircle className="text-destructive h-10 w-10" strokeWidth={2} />
<XCircle className="h-10 w-10 text-destructive" strokeWidth={2} />
</div>
<div>
@@ -23,7 +24,7 @@ export default function EmailVerificationWithoutTokenPage() {
<Trans>Uh oh! Looks like you're missing a token</Trans>
</h2>
<p className="text-muted-foreground mt-4">
<p className="mt-4 text-muted-foreground">
<Trans>
It seems that there is no token provided, if you are trying to verify your email
please follow the link in your email.