mirror of
https://github.com/documenso/documenso.git
synced 2026-08-25 15:52:29 +10:00
feat: add page title translations (#2629)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user