From 53ae68f810f9d59a2e5ad722b0d15d7dded7c50a Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 21 Mar 2023 20:03:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4=E6=8F=92=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1024723 --user=王孝刚 【插件管理】github#23005,【插件管理】删除插件时的提示“删除需重启服务后生效?”应该是个肯定句,而不是问句 https://www.tapd.cn/55049933/s/1354040 --- framework/sdk-parent/frontend/src/i18n/lang/en-US.js | 2 +- framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js | 2 +- framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js | 2 +- .../frontend/src/business/system/plugin/PluginConfig.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js index e390993dec..04d82d97b0 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -1373,7 +1373,7 @@ const message = { title: "Upload jar package", jar_file: "Jar Package", jar_manage: "JAR package management", - delete_tip: "The deletion takes effect after the service is restarted", + delete_tip: "Deleting the plug-in requires restarting the service to take effect", delete_confirm: "Confirm to delete the plugin", file_exist: "The name already exists in the project", upload_limit_size: "Upload file size cannot exceed 30MB!", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js index 43a1a08a30..1e5af845a4 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -1330,7 +1330,7 @@ const message = { title: "上传jar包", jar_file: "jar包", jar_manage: "JAR包管理", - delete_tip: "删除需重启服务后生效", + delete_tip: "删除插件需重启服务后生效", delete_confirm: "确认删除插件", file_exist: "该项目下已存在该jar包", upload_limit_size: "上传文件大小不能超过 30MB!", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js index 02181fd80f..9a2b1eb3ff 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -1329,7 +1329,7 @@ const message = { title: "上傳jar包", jar_file: "jar包", jar_manage: "JAR包管理", - delete_tip: "刪除需重啟服務後生效", + delete_tip: "刪除插件需要重新啟動服務後生成效", file_exist: "該項目下已存在該jar包", delete_confirm: "確認刪除插件", upload_limit_size: "上傳文件大小不能超過 30MB!", diff --git a/system-setting/frontend/src/business/system/plugin/PluginConfig.vue b/system-setting/frontend/src/business/system/plugin/PluginConfig.vue index 93425a7b84..16d593d20a 100644 --- a/system-setting/frontend/src/business/system/plugin/PluginConfig.vue +++ b/system-setting/frontend/src/business/system/plugin/PluginConfig.vue @@ -141,7 +141,7 @@ export default { this.$refs.scriptView.open(row.scriptId); }, handleDelete(row) { - let tip = row.scenario !== 'platform' ? this.$t('api_test.jar_config.delete_tip') : this.$t('api_test.jar_config.delete_confirm'); + let tip = row.scenario !== 'platform' ? this.$t('api_test.jar_config.delete_tip')+ "," + this.$t('api_test.jar_config.delete_confirm') : this.$t('api_test.jar_config.delete_confirm'); operationConfirm(this, tip, () => { this.loading = delPluginById(row.scenario || 'api', row.id).then(() => { this.$success(this.$t('commons.delete_success'));