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