This commit is contained in:
parent
9c01d2f858
commit
ea5133801e
|
|
@ -168,6 +168,8 @@ export default async function Login({
|
||||||
}
|
}
|
||||||
|
|
||||||
const { t, resources } = await initTranslations(locale, ['translation']);
|
const { t, resources } = await initTranslations(locale, ['translation']);
|
||||||
|
// 打印翻译内容确认是否正常加载
|
||||||
|
console.log("Translation for login.email: ", t("login.email"));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex w-full flex-1 flex-col justify-center gap-2 px-8 sm:max-w-md">
|
<div className="flex w-full flex-1 flex-col justify-center gap-2 px-8 sm:max-w-md">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue