style: 调度任务多语言

This commit is contained in:
TsMask
2023-11-10 19:12:43 +08:00
parent d72ba4622e
commit 7ffcc2f881
10 changed files with 467 additions and 175 deletions

View File

@@ -66,6 +66,51 @@ export default {
// 组件
components: {
CronModal: {
title: "Cron Expression Generator",
addon: "Expression Preview:",
day1: "Every day",
day21: "Execute every",
day22: "days, starting from the",
day23: "day",
day31: "Cycle from",
day32: "to",
day33: "days",
day4: "Designated day (optional)",
day5: "Last day of the month",
hour1: "Hourly",
hour21: "Execute every",
hour22: "hours, starting from the",
hour23: "hour",
hour31: "Cycle time from",
hour32: "to",
hour33: "hours",
hour4: "Specified hours (multiple options available)",
minute1: "Every minute",
minute21: "Execute every",
minute22: "minutes, starting from the",
minute23: "minute",
minute31: "Cycle time from",
minute32: "to",
minute33: "minutes",
minute4: "Specified minutes (multiple options available)",
month1: "Every month",
month21: "Execute every",
month22: "months, starting from the",
month23: "month",
month31: "Cycle time from",
month32: "to",
month33: "months",
month4: "Specified months (multiple options available)",
second1: "Every second",
second21: "Execute every",
second22: "seconds, starting from the",
second23: "second",
second31: "Cycle time from",
second32: "to",
second33: "seconds",
second4: "Specify the number of seconds (multiple selectable)",
},
UploadModal:{
uploadTitle:'Data Import',
uploadTip:'Click to select or drag the file into the border area to upload',
@@ -610,7 +655,54 @@ export default {
loginTime:'Log in time',
getOut:'Forced retreat',
getOutSure:'Confirm the forced logout of the user whose login account is {userName} ?',
}
},
job: {
jobName: "JobName",
jobNamePlease: 'Please enter the task name correctly, limited to 2-20 characters',
jobGroup: "JobGroup",
invokeTarget: "invoke target",
invokeTargetPlease: 'Please enter the call target correctly, limited to 2-20 characters.',
invokeTargetTip: "Parameter description: support for preset incoming parameters, serialized processing parameters in the processor",
cronExpression: "cron expressions",
cronExpressionPlease: 'Please enter or generate a cron execution expression',
cronExpressionTip: "Example of an expression:0/20 * * * * ?",
cronExpressionTip1: "Illustrative example: Execute tasks every 20 seconds",
cronExpressionNew: "Generating Expressions",
status: "statuses",
status0: "disable",
status1: "opens",
status00: "pause",
status01: "normalcy",
statusChange: "Are you sure you want the {text} {num} task?",
saveLog: "Recording log",
tipRowErr: "Errors in the recording of tasks",
viewInfoErr: "Failed to get task information",
viewJob: "Task information",
addJob: "Add Tasks",
editJob: "Modify tasks",
runOne: "execute once",
runOneTip: "Are you sure you want to perform a [{num}] task right away?",
runOneOk: "{num} Executed successfully",
delTip: "Are you sure you want to delete task number [{num}]?",
delOk: "Deleted successfully",
resetTip: "Sure you want to reset and refresh the scheduling task?",
resetOk: "Reset Successful",
exportTip: "Confirm exporting xlsx table files based on search criteria?",
exportOk: "Completed export",
resetQueue: "Reset Queue",
jobLog: "Task log",
createTime: "CreateTime",
targetParams: "TargetParams",
targetParamsPlease: 'Call target incoming parameters, only support json strings',
misfirePolicy: "Error strategy",
misfirePolicy1: "immediate implementation",
misfirePolicy2: "execute once",
misfirePolicy3: "Waiver of implementation",
concurrent: "Concurrency",
concurrent0: "prohibit",
concurrent1: "allowed",
remark: "Remarks",
},
},
system:{
user: {

View File

@@ -66,6 +66,51 @@ export default {
// 组件
components: {
CronModal: {
title: "Cron表达式生成",
addon: "表达式预览:",
day1: "每一天",
day21: "每隔",
day22: "天执行一次,从",
day23: "日开始",
day31: "周期从",
day32: "到",
day33: "日",
day4: "指定日(可多选)",
day5: "本月最后一天",
hour1: "每一小时",
hour21: "每隔",
hour22: "小时执行一次,从",
hour23: "时开始",
hour31: "周期从",
hour32: "到",
hour33: "小时",
hour4: "指定小时(可多选)",
minute1: "每一分钟",
minute21: "每隔",
minute22: "分钟执行一次,从",
minute23: "分钟开始",
minute31: "周期从",
minute32: "到",
minute33: "分钟",
minute4: "指定分钟(可多选)",
month1: "每一月",
month21: "每隔",
month22: "月执行,从",
month23: "月开始",
month31: "周期从",
month32: "到",
month33: "月之间的每个月",
month4: "指定月(可多选)",
second1: "每一秒钟",
second21: "每隔",
second22: "秒执行一次,从",
second23: "秒开始",
second31: "周期从",
second32: "到",
second33: "秒",
second4: "指定秒数(可多选)",
},
UploadModal:{
uploadTitle:'数据导入',
uploadTip:'点击选择或将文件拖入边框区域进行上传',
@@ -610,7 +655,54 @@ export default {
loginTime:'登录时间',
getOut:'强退',
getOutSure:'确认强退登录账号为 {userName} 的用户?',
}
},
job: {
jobName: "任务名称",
jobNamePlease: '请正确输入任务名称限2-20个字符',
jobGroup: "任务组名",
invokeTarget: "调用目标",
invokeTargetPlease: '请正确输入调用目标限2-20个字符',
invokeTargetTip: "参数说明:支持预设传入参数,在处理器中进行序列化处理参数",
cronExpression: "cron表达式",
cronExpressionPlease: '请输入或生成cron执行表达式',
cronExpressionTip: "表达式示例0/20 * * * * ?",
cronExpressionTip1: "示例说明每20秒执行任务",
cronExpressionNew: "生成表达式",
status: "状态",
status0: "关闭",
status1: "开启",
status00: "暂停",
status01: "正常",
statusChange: "确定要{text} {num} 任务吗?",
saveLog: "记录日志",
tipRowErr: "任务记录存在错误",
viewInfoErr: "获取任务信息失败",
viewJob: "任务信息",
addJob: "添加任务",
editJob: "修改任务",
runOne: "执行一次",
runOneTip: "确定要立即执行一次 【{num}】 任务吗?",
runOneOk: "{num} 执行成功",
delTip: "确认删除定时任务编号为 【{num}】 任务吗?",
delOk: "删除成功",
resetTip: "确定要重置并刷新调度任务吗?",
resetOk: "重置成功",
exportTip: "确认根据搜索条件导出xlsx表格文件吗?",
exportOk: "已完成导出",
resetQueue: "重置队列",
jobLog: "任务日志",
createTime: "创建时间",
targetParams: "传入参数",
targetParamsPlease: '调用目标传入参数仅支持json字符串',
misfirePolicy: "出错策略",
misfirePolicy1: "立即执行",
misfirePolicy2: "执行一次",
misfirePolicy3: "放弃执行",
concurrent: "是否并发",
concurrent0: "禁止",
concurrent1: "允许",
remark: "备注说明",
},
},
system:{
user:{