Browse Source

[Feature-5951][Improvement][UI] When creating an alarm instance, the alarm instance name input box prompts optimization (#7770)

3.0.0/version-upgrade
xiangzihao 3 years ago committed by GitHub
parent
commit
0dfbbc8983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue
  2. 1
      dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
  3. 1
      dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

4
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue

@ -30,7 +30,7 @@
v-model="instanceName"
maxlength="60"
size="small"
:placeholder="$t('Please enter group name')">
:placeholder="$t('Please enter alarm plugin instance name')">
</el-input>
</template>
</m-list-box-f>
@ -108,7 +108,7 @@
_verification () {
// group name
if (!this.instanceName.replace(/\s*/g, '')) {
this.$message.warning(`${i18n.$t('Please enter group name')}`)
this.$message.warning(`${i18n.$t('Please enter alarm plugin instance name')}`)
return false
}
if (!this.pluginDefineId) {

1
dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js

@ -238,6 +238,7 @@ export default {
'Instance parameter exception': 'Instance parameter exception',
'Group Type': 'Group Type',
'Alarm plugin instance': 'Alarm plugin instance',
'Please enter alarm plugin instance name': 'Please enter alarm plugin instance name',
'Select Alarm plugin instance': 'Please select an Alarm plugin instance',
Remarks: 'Remarks',
SMS: 'SMS',

1
dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js

@ -237,6 +237,7 @@ export default {
'Instance parameter exception': '实例参数异常',
'Group Type': '组类型',
'Alarm plugin instance': '告警插件实例',
'Please enter alarm plugin instance name': '请输入告警实例名称',
'Select Alarm plugin instance': '请选择告警插件实例',
Remarks: '备注',
SMS: '短信',

Loading…
Cancel
Save