File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed
Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ export default {
2626 sunday : 'Sunday' ,
2727 hours : 'Hours' ,
2828 minutes : 'Minutes' ,
29+ cronExpression : 'Cron expression' ,
30+ switchCycle : 'Switch to Trigger Cycle' ,
31+ switchCron : 'Switch to Cron expression' ,
32+ placeholder : 'Please enter a Cron expression (e.g. 0 0 1 * *)'
33+
2934 } ,
3035 type : {
3136 scheduled : 'Scheduled Trigger' ,
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ export default {
2626 sunday : '周日' ,
2727 hours : '小时' ,
2828 minutes : '分钟' ,
29+ cronExpression : 'Cron 表达式' ,
30+ switchCycle : '切换为触发周期' ,
31+ switchCron : '切换为时间表达式' ,
32+ placeholder : '请输入Cron表达式(如:0 0 1 * *)'
2933 } ,
3034 type : {
3135 scheduled : '定时触发' ,
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ export default {
2626 sunday : '星期日' ,
2727 hours : '小時' ,
2828 minutes : '分鐘' ,
29+ cronExpression : 'Cron 表達式' ,
30+ switchCycle : '切換到觸發循環' ,
31+ switchCron : '切換到Cron運算式' ,
32+ placeholder : '請輸入Cron表達式(如:0 0 1 * *)'
2933 } ,
3034 type : {
3135 scheduled : '定時觸發' ,
Original file line number Diff line number Diff line change 8080 <p style =" margin-top : -8px " >
8181 {{
8282 form.trigger_setting.schedule_type === 'cron'
83- ? 'Cron表达式'
83+ ? $t('views.trigger.triggerCycle.cronExpression')
8484 : $t('views.trigger.triggerCycle.title')
8585 }}
8686 </p >
8787 <el-tooltip
8888 :content ="
8989 form.trigger_setting.schedule_type === 'cron'
90- ? '切换为触发周期'
91- : '切换为Cron表达式'
90+ ? $t('views.trigger.triggerCycle.switchCycle')
91+ : $t('views.trigger.triggerCycle.switchCron')
9292 "
9393 placement =" top"
9494 effect =" light"
109109 <el-input
110110 v-else
111111 v-model =" form.trigger_setting.cron_expression"
112- placeholder =" 请输入Cron表达式(如:0 0 1 * *) "
112+ : placeholder =" t('views.trigger.triggerCycle.placeholder') "
113113 clearable
114114 @blur =" validateCron"
115115 @input =" validateCron"
You can’t perform that action at this time.
0 commit comments