From fad6be2b87f8804f6b35dbce942f2b824fd008b7 Mon Sep 17 00:00:00 2001 From: v_xugzhou <941071842@qq.com> Date: Fri, 29 Nov 2024 11:04:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=91=A8=E6=9C=9F=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=80=E4=BD=8E=E4=BB=BB=E5=8A=A1=E9=97=B4?= =?UTF-8?q?=E9=9A=94=E6=97=B6=E9=97=B4=E9=85=8D=E7=BD=AE=20--bug=3D1207372?= =?UTF-8?q?15=20#=20Reviewed,=20transaction=20id:=2025313?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/desktop/src/assets/html/index.html | 1 + .../common/Individualization/cronRuleSelect.vue | 10 +++++++++- frontend/desktop/src/config/i18n/cn.js | 3 ++- frontend/desktop/src/config/i18n/en.js | 3 ++- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/frontend/desktop/src/assets/html/index.html b/frontend/desktop/src/assets/html/index.html index 8975278ddc..0ab2415ea3 100644 --- a/frontend/desktop/src/assets/html/index.html +++ b/frontend/desktop/src/assets/html/index.html @@ -56,6 +56,7 @@ var BK_PAAS_SHARED_RES_URL = '{{BK_PAAS_SHARED_RES_URL}}' var APP_NAME = '{{APP_NAME}}' var RUN_VER_NAME = '{{RUN_VER_NAME}}' + var PERIODIC_TASK_SHORTEST_TIME = {{PERIODIC_TASK_SHORTEST_TIME}} // 是否开启通知中心 var ENABLE_NOTICE_CENTER = {{ENABLE_NOTICE_CENTER}} function getCookie(name) { diff --git a/frontend/desktop/src/components/common/Individualization/cronRuleSelect.vue b/frontend/desktop/src/components/common/Individualization/cronRuleSelect.vue index e9cdd98f86..17690b9259 100644 --- a/frontend/desktop/src/components/common/Individualization/cronRuleSelect.vue +++ b/frontend/desktop/src/components/common/Individualization/cronRuleSelect.vue @@ -16,6 +16,9 @@
+

+ {{ $t('当前环境配置周期任务间隔不低于 n 分钟,如有特殊需求请联系管理员配置', { n: shortestTime }) }} +

diff --git a/frontend/desktop/src/config/i18n/cn.js b/frontend/desktop/src/config/i18n/cn.js index e3d305e06a..2eec901ae6 100644 --- a/frontend/desktop/src/config/i18n/cn.js +++ b/frontend/desktop/src/config/i18n/cn.js @@ -1801,7 +1801,8 @@ const cn = { '联系bk助手': '联系bk助手', '蓝鲸桌面': '蓝鲸桌面', '蓝鲸': '蓝鲸', - '请输入群 ID,多个 ID 以分号隔开': '请输入群 ID,多个 ID 以分号隔开' + '请输入群 ID,多个 ID 以分号隔开': '请输入群 ID,多个 ID 以分号隔开', + '当前环境配置周期任务间隔不低于 n 分钟,如有特殊需求请联系管理员配置': '当前环境配置周期任务间隔不低于 {n} 分钟,如有特殊需求请联系管理员配置' } export default cn diff --git a/frontend/desktop/src/config/i18n/en.js b/frontend/desktop/src/config/i18n/en.js index b5d3f14a3e..5b9adcf102 100644 --- a/frontend/desktop/src/config/i18n/en.js +++ b/frontend/desktop/src/config/i18n/en.js @@ -1835,7 +1835,8 @@ const en = { '联系bk助手': 'Contact BK Assistant', '蓝鲸桌面': 'BlueWhale Desktop', '蓝鲸': 'BlueKing', - '请输入群 ID,多个 ID 以分号隔开': 'Please enter group IDs, separated by semicolons if there are multiple IDs' + '请输入群 ID,多个 ID 以分号隔开': 'Please enter group IDs, separated by semicolons if there are multiple IDs', + '当前环境配置周期任务间隔不低于 n 分钟,如有特殊需求请联系管理员配置': 'In the current environment, the interval for scheduled tasks is no less than {n} minutes. If you have special requirements, please contact the administrator for configuration' } export default en