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 { Link, redirect } from 'react-router';
@@ -9,7 +10,7 @@ import { appMetaTags } from '~/utils/meta';
import type { Route } from './+types/reset-password.$token';
export function meta() {
return appMetaTags('Reset Password');
return appMetaTags(msg`Reset Password`);
}
export async function loader({ params }: Route.LoaderArgs) {
@@ -36,13 +37,13 @@ export default function ResetPasswordPage({ loaderData }: Route.ComponentProps)
<Trans>Reset Password</Trans>
</h1>
<p className="text-muted-foreground mt-2 text-sm">
<p className="mt-2 text-sm text-muted-foreground">
<Trans>Please choose your new password</Trans>
</p>
<ResetPasswordForm token={token} className="mt-4" />
<p className="text-muted-foreground mt-6 text-center text-sm">
<p className="mt-6 text-center text-sm text-muted-foreground">
<Trans>
Don't have an account?{' '}
<Link to="/signup" className="text-primary duration-200 hover:opacity-70">