mirror of https://gitee.com/answerdev/answer.git
refactor: Standardisation of translation documents related to the user centre
This commit is contained in:
parent
d680820785
commit
740e7a0fa0
|
@ -882,6 +882,9 @@ ui:
|
|||
label: New Email
|
||||
msg:
|
||||
empty: Email cannot be empty.
|
||||
oauth:
|
||||
connect: Connect with {{ auth_name }}
|
||||
remove: Remove {{ auth_name }}
|
||||
oauth_bind_email:
|
||||
subtitle: Add a recovery email to your account.
|
||||
btn_update: Update email address
|
||||
|
@ -1317,13 +1320,11 @@ ui:
|
|||
plugins: Plugins
|
||||
installed_plugins: Installed Plugins
|
||||
website_welcome: Welcome to {{site_name}}
|
||||
plugins:
|
||||
user_center:
|
||||
login: Login
|
||||
qrcode_login_tip: Please use {{ agentName }} to scan the QR code and log in.
|
||||
login_failed_email_tip: Login failed, please allow this app to access your email information before try again.
|
||||
oauth:
|
||||
connect: Connect with {{ auth_name }}
|
||||
remove: Remove {{ auth_name }}
|
||||
|
||||
|
||||
admin:
|
||||
admin_header:
|
||||
|
|
|
@ -1224,13 +1224,10 @@ ui:
|
|||
plugins: 插件
|
||||
installed_plugins: 插件列表
|
||||
website_welcome: 欢迎来到 {{site_name}}
|
||||
plugins:
|
||||
user_center:
|
||||
login: 登录
|
||||
qrcode_login_tip: 请使用 {{ agentName }} 扫描二维码登录
|
||||
login_failed_email_tip: 登录失败, 请允许该应用程序访问您的电子邮件信息,然后再试一次。
|
||||
oauth:
|
||||
connect: 连接到 {{ auth_name }}
|
||||
remove: 解绑 {{ auth_name }}
|
||||
admin:
|
||||
admin_header:
|
||||
title: 后台管理
|
||||
|
|
|
@ -31,3 +31,7 @@ yarn.lock
|
|||
package-lock.json
|
||||
.eslintcache
|
||||
/.vscode/
|
||||
|
||||
/* !/src/plugins
|
||||
/src/plugins/*
|
||||
!/src/plugins/builtin
|
||||
|
|
|
@ -13,7 +13,7 @@ import { getLoginConf, checkLoginResult } from './service';
|
|||
|
||||
let checkTimer: NodeJS.Timeout;
|
||||
const Index: FC = () => {
|
||||
const { t } = useTranslation('translation', { keyPrefix: 'plugins' });
|
||||
const { t } = useTranslation('translation', { keyPrefix: 'user_center' });
|
||||
const navigate = useNavigate();
|
||||
const ucAgent = userCenterStore().agent;
|
||||
const agentName = ucAgent?.agent_info?.name || '';
|
||||
|
|
|
@ -28,7 +28,7 @@ const data = [
|
|||
];
|
||||
|
||||
const Index: FC = () => {
|
||||
const { t } = useTranslation('translation', { keyPrefix: 'plugins' });
|
||||
const { t } = useTranslation('translation', { keyPrefix: 'user_center' });
|
||||
const ucAgent = userCenterStore().agent;
|
||||
return (
|
||||
<Col lg={4} className="mx-auto mt-3 py-5">
|
||||
|
|
|
@ -18,7 +18,7 @@ const Index = () => {
|
|||
});
|
||||
|
||||
const { t: t2 } = useTranslation('translation', {
|
||||
keyPrefix: 'plugins.oauth',
|
||||
keyPrefix: 'oauth',
|
||||
});
|
||||
|
||||
const deleteLogins = (e, item) => {
|
||||
|
|
Loading…
Reference in New Issue