fix: 修改部分国际化内容 (#1670)

This commit is contained in:
zhengkunwang 2023-07-14 15:08:10 +08:00 committed by GitHub
parent 73a61933c5
commit 61a0244cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 7 deletions

View File

@ -1318,7 +1318,7 @@ const message = {
startHelper:
'After enabling the site, users can access the content of the site normally, do you want to continue? ',
sitePath: 'Website Directory',
siteAlias: 'Site Path Name',
siteAlias: 'Site Alias',
primaryPath: 'Main directory',
folderTitle: 'The main directory of the website mainly contains four folders',
wafFolder: 'Firewall Rules',
@ -1418,11 +1418,11 @@ const message = {
'The password is asymmetrically encrypted and cannot be echoed. Editing needs to reset the password',
antiLeech: 'Anti-leech',
extends: 'Extension',
browserCache: 'browser cache',
browserCache: 'Cache',
leechLog: 'Record anti-leech log',
accessDomain: 'Allowed domain names',
accessDomain: 'Allowed domains',
leechReturn: 'Response resource',
noneRef: 'Allow the source to be empty',
noneRef: 'Allow empty source',
disable: 'not enabled',
disableLeechHelper: 'Whether to disable the anti-leech',
disableLeech: 'Disable anti-leech',
@ -1616,6 +1616,7 @@ const message = {
raddr: 'Destination address/port',
stopProcess: 'End',
stopProcessWarn: 'Are you sure you want to end this process (PID:{0})? ',
processName: 'ProcessName',
},
};

View File

@ -1531,6 +1531,7 @@ const message = {
raddr: '目標地址/端口',
stopProcess: '結束',
stopProcessWarn: '是否確定結束此進程 (PID:{0})',
processName: '進程名稱',
},
};
export default {

View File

@ -21,7 +21,7 @@
:type="activeTag === item.key ? 'primary' : ''"
:plain="activeTag !== item.key"
>
{{ item.name }}
{{ language == 'zh' || language == 'tw' ? item.name : item.key }}
</el-button>
</div>
</div>
@ -271,6 +271,7 @@ import { getAge } from '@/utils/util';
import { useRouter } from 'vue-router';
import { MsgSuccess } from '@/utils/message';
import { toFolder } from '@/global/business';
import { useI18n } from 'vue-i18n';
const data = ref<any>();
const loading = ref(false);
@ -308,6 +309,8 @@ const router = useRouter();
const activeName = ref(i18n.global.t('app.installed'));
const mode = ref('installed');
const language = useI18n().locale.value;
const sync = () => {
syncLoading.value = true;
SyncInstalledApp()

View File

@ -7,7 +7,7 @@
:rules="rules"
ref="leechRef"
label-position="right"
label-width="120px"
label-width="180px"
class="moblie-form"
>
<el-form-item :label="$t('website.enableOrNot')">

View File

@ -1,7 +1,7 @@
<template>
<el-row :gutter="20" v-loading="loading">
<el-col :xs="24" :sm="18" :md="8" :lg="8" :xl="8">
<el-form ref="websiteForm" label-position="right" label-width="80px" :model="form" :rules="rules">
<el-form ref="websiteForm" label-position="right" label-width="150px" :model="form" :rules="rules">
<el-form-item :label="$t('website.primaryDomain')" prop="primaryDomain">
<el-input v-model="form.primaryDomain" disabled></el-input>
</el-form-item>