From 61a0244cfe043c81775ed33bd4bc68fa612c0d8e Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 14 Jul 2023 15:08:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E5=86=85=E5=AE=B9=20(#1670)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 9 +++++---- frontend/src/lang/modules/tw.ts | 1 + frontend/src/views/app-store/installed/index.vue | 5 ++++- .../website/website/config/basic/anti-Leech/index.vue | 2 +- .../views/website/website/config/basic/other/index.vue | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index aab8cee87..b221ed056 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -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', }, }; diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index 7cd15df90..39dce4e56 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -1531,6 +1531,7 @@ const message = { raddr: '目標地址/端口', stopProcess: '結束', stopProcessWarn: '是否確定結束此進程 (PID:{0})?', + processName: '進程名稱', }, }; export default { diff --git a/frontend/src/views/app-store/installed/index.vue b/frontend/src/views/app-store/installed/index.vue index 8e1f506b6..19ec5d836 100644 --- a/frontend/src/views/app-store/installed/index.vue +++ b/frontend/src/views/app-store/installed/index.vue @@ -21,7 +21,7 @@ :type="activeTag === item.key ? 'primary' : ''" :plain="activeTag !== item.key" > - {{ item.name }} + {{ language == 'zh' || language == 'tw' ? item.name : item.key }} @@ -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(); 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() diff --git a/frontend/src/views/website/website/config/basic/anti-Leech/index.vue b/frontend/src/views/website/website/config/basic/anti-Leech/index.vue index ff148ba12..a14c26567 100644 --- a/frontend/src/views/website/website/config/basic/anti-Leech/index.vue +++ b/frontend/src/views/website/website/config/basic/anti-Leech/index.vue @@ -7,7 +7,7 @@ :rules="rules" ref="leechRef" label-position="right" - label-width="120px" + label-width="180px" class="moblie-form" > diff --git a/frontend/src/views/website/website/config/basic/other/index.vue b/frontend/src/views/website/website/config/basic/other/index.vue index c70267267..8b354a2ca 100644 --- a/frontend/src/views/website/website/config/basic/other/index.vue +++ b/frontend/src/views/website/website/config/basic/other/index.vue @@ -1,7 +1,7 @@