登录页面汉化及网页标题修改
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Mercur Vendor Panel</title>
|
||||
<title>格丽贸易供应商系统</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -137,7 +137,8 @@
|
||||
"hide": "隐藏",
|
||||
"export": "导出",
|
||||
"import": "导入",
|
||||
"cannotUndo": "此操作无法撤销"
|
||||
"cannotUndo": "此操作无法撤销",
|
||||
"signIn": "登录"
|
||||
},
|
||||
"operators": {
|
||||
"in": "包含"
|
||||
@@ -2588,11 +2589,21 @@
|
||||
},
|
||||
"login": {
|
||||
"forgotPassword": "忘记密码? - <0>重置</0>",
|
||||
"title": "欢迎使用Medusa",
|
||||
"hint": "登录以访问账户区域"
|
||||
"title": "欢迎使用格丽贸易供应商系统",
|
||||
"hint": "登录以访问管理面板",
|
||||
"notSellerYet": "还不是供应商? - <0>提交申请</0>"
|
||||
},
|
||||
"register": {
|
||||
"title": "成为格丽贸易供应链的一员",
|
||||
"hint": "加盟咨询:support@gelimaoyi.cn",
|
||||
"alreadySeller": "已有账户? - <0>登录</0>",
|
||||
"successTitle": "感谢您的注册!",
|
||||
"successHint": "您可能需要等待管理员授权才能登录。确认邮件将很快发送给您。",
|
||||
"backToLogin": "返回登录页面",
|
||||
"signUp": "注册"
|
||||
},
|
||||
"invite": {
|
||||
"title": "欢迎使用Medusa",
|
||||
"title": "欢迎使用格丽贸易供应商系统",
|
||||
"hint": "在下面创建您的账户",
|
||||
"backToLogin": "返回登录",
|
||||
"createAccount": "创建账户",
|
||||
|
||||
@@ -152,7 +152,7 @@ export const Login = () => {
|
||||
</Alert>
|
||||
)}
|
||||
<Button className="w-full" type="submit" isLoading={isPending}>
|
||||
Sign In
|
||||
{t("actions.signIn")}
|
||||
</Button>
|
||||
</form>
|
||||
</Form>
|
||||
|
||||
@@ -95,17 +95,16 @@ export const Register = () => {
|
||||
return (
|
||||
<div className="bg-ui-bg-subtle flex min-h-dvh w-dvw items-center justify-center">
|
||||
<div className="mb-4 flex flex-col items-center">
|
||||
<Heading>Thank You for registering!</Heading>
|
||||
<Heading>{t("register.successTitle")}</Heading>
|
||||
<Text
|
||||
size="small"
|
||||
className="text-ui-fg-subtle text-center mt-2 max-w-[320px]"
|
||||
>
|
||||
You may need to wait for admin authorization before logging in. A
|
||||
confirmation email will be sent to you shortly.
|
||||
{t("register.successHint")}
|
||||
</Text>
|
||||
|
||||
<Link to="/login">
|
||||
<Button className="mt-8">Back to login page</Button>
|
||||
<Button className="mt-8">{t("register.backToLogin")}</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
@@ -218,7 +217,7 @@ export const Register = () => {
|
||||
</Alert>
|
||||
)}
|
||||
<Button className="w-full" type="submit" isLoading={isPending}>
|
||||
Sign up
|
||||
{t("register.signUp")}
|
||||
</Button>
|
||||
</form>
|
||||
</Form>
|
||||
|
||||
Reference in New Issue
Block a user