From 2e7964190ea586e7287900d06ae277c67f1807c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=90=BE=E7=AB=8B?= Date: Tue, 18 Jun 2024 16:17:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=89=8D=E7=AB=AF=20i18n=20=E9=81=97?= =?UTF-8?q?=E6=BC=8Fkey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/i8n/DiffWebI18nTest.java | 2 +- web-vue/src/pages/build/history.vue | 12 +- web-vue/src/pages/dispatch/logReadView.vue | 4 +- web-vue/src/pages/dispatch/status.vue | 8 +- web-vue/src/pages/docker/swarm/node.vue | 31 +--- .../pages/file-manager/fileStorage/list.vue | 89 +++--------- .../file-manager/staticFileStorage/list.vue | 61 ++------ web-vue/src/pages/layout/user-header.vue | 57 ++------ web-vue/src/pages/layout/user-log.vue | 14 +- web-vue/src/pages/login/index.vue | 10 +- web-vue/src/pages/node/fast-install.vue | 9 +- web-vue/src/pages/node/list.vue | 24 +--- .../node/node-layout/other/script-console.vue | 17 +-- .../node-layout/project/project-console.vue | 37 ++--- .../node/node-layout/project/project-edit.vue | 4 +- .../project/project-file-backup.vue | 68 ++------- .../node-layout/project/project-file-read.vue | 8 +- .../node/node-layout/system/config-file.vue | 10 +- .../src/pages/node/node-layout/system/log.vue | 8 +- web-vue/src/pages/node/script-edit.vue | 15 +- web-vue/src/pages/node/search.vue | 29 +--- .../src/pages/repository/repository-list.vue | 4 +- web-vue/src/pages/script/script-console.vue | 17 +-- .../system/assets/machine/machine-list.vue | 135 ++++-------------- .../src/pages/system/assets/ssh/ssh-list.vue | 75 +++------- web-vue/src/pages/system/cluster-list.vue | 12 +- web-vue/src/pages/user/operation-log.vue | 12 +- web-vue/src/pages/user/permission-group.vue | 39 ++--- 28 files changed, 186 insertions(+), 625 deletions(-) diff --git a/modules/common/src/test/java/i8n/DiffWebI18nTest.java b/modules/common/src/test/java/i8n/DiffWebI18nTest.java index d03538e52..1f7f512ce 100644 --- a/modules/common/src/test/java/i8n/DiffWebI18nTest.java +++ b/modules/common/src/test/java/i8n/DiffWebI18nTest.java @@ -35,7 +35,7 @@ public class DiffWebI18nTest { String rootPath = file.getAbsolutePath(); File rootFile = new File(rootPath).getParentFile().getParentFile(); rootFile = FileUtil.file(rootFile, "web-vue"); - JSONObject zhCn = this.loadJson(rootFile, "zh_cn"); + JSONObject zhCn = this.loadJson(rootFile, "zh_cn2"); Map cacheKey = new HashMap<>(); this.generateWaitMap(zhCn, "", cacheKey); Collection values = cacheKey.values(); diff --git a/web-vue/src/pages/build/history.vue b/web-vue/src/pages/build/history.vue index 81e58f882..ca929146c 100644 --- a/web-vue/src/pages/build/history.vue +++ b/web-vue/src/pages/build/history.vue @@ -70,9 +70,7 @@ - {{ - $t('i18n.e5f71fc31e') - }} + {{ $t('i18n.e5f71fc31e') }}