mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 08:03:55 +08:00
ref: add some translate (#13102)
This commit is contained in:
@@ -2049,6 +2049,7 @@ const message = {
|
||||
nodes: 'Node',
|
||||
commands: 'Quick Commands',
|
||||
opsReport: 'Ops Report',
|
||||
ops_report: 'Ops Report',
|
||||
users: 'User Management',
|
||||
roles: 'Role',
|
||||
auth: 'Login Authentication',
|
||||
|
||||
@@ -1932,6 +1932,7 @@ const message = {
|
||||
nodes: '節點',
|
||||
commands: '快速指令',
|
||||
opsReport: '運維報表',
|
||||
ops_report: '運維報表',
|
||||
users: '使用者管理',
|
||||
roles: '角色',
|
||||
auth: '登入認證',
|
||||
|
||||
@@ -1929,6 +1929,7 @@ const message = {
|
||||
nodes: '节点',
|
||||
commands: '快速命令',
|
||||
opsReport: '运维报表',
|
||||
ops_report: '运维报表',
|
||||
users: '用户管理',
|
||||
roles: '角色',
|
||||
auth: '登陆认证',
|
||||
|
||||
@@ -147,10 +147,9 @@ const search = async () => {
|
||||
.then((res) => {
|
||||
loading.value = false;
|
||||
data.value = res.data.items || [];
|
||||
if (language.value === 'zh' || language.value === 'zh-Hant') {
|
||||
for (const item of data.value) {
|
||||
item.detailZH = loadDetail(item.detailZH);
|
||||
}
|
||||
for (const item of data.value) {
|
||||
item.detailZH = loadDetail(item.detailZH);
|
||||
item.detailEN = loadDetail(item.detailEN);
|
||||
}
|
||||
paginationConfig.total = res.data.total;
|
||||
})
|
||||
@@ -270,6 +269,11 @@ const exactReplacements: Record<string, string> = {
|
||||
SessionTimeout: 'setting.sessionTimeout',
|
||||
SecurityEntrance: 'setting.entrance',
|
||||
ExpirationDays: 'setting.expirationTime',
|
||||
OpsReportExportFormat: 'xpack.opsReport.page.defaultFormat',
|
||||
OpsReportSchedule: 'xpack.opsReport.page.generationRule',
|
||||
OpsReportSavePath: 'xpack.opsReport.page.savePath',
|
||||
OpsReportThreshold: 'xpack.opsReport.page.threshold',
|
||||
OpsReportAutoExport: 'xpack.opsReport.page.autoExport',
|
||||
ComplexityVerification: 'setting.complexity',
|
||||
MFAStatus: 'setting.mfa',
|
||||
MonitorStatus: 'setting.enableMonitor',
|
||||
|
||||
Reference in New Issue
Block a user