feat(webui): refine automation views and scheduling controls

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-13 05:43:05 +08:00
1 parent c25b2048ef
commit e7da868574
23 files changed
+1131 -601

No files matched your search

+20 -7
View File
@@ -1089,7 +1089,7 @@
},
"automations": {
"create": "创建自动任务",
"createPrompt": "想让 nanobot 定时帮你做什么?",
"createPrompt": "想让 nanobot 自动帮你做什么?",
"createInput": "描述一个自动任务",
"createRequest": "请为以下需求创建自动任务:\n\n{{request}}",
"errors": {
@@ -1107,6 +1107,14 @@
},
"yourTasks": "你的自动任务",
"systemTasks": "系统任务",
"views": {
"label": "自动任务视图",
"tasks": "任务",
"calendar": "日历"
},
"filter": "筛选",
"filteredBy": "筛选:{{status}}",
"commandCondition": "通过命令触发",
"instructions": "任务指令",
"done": "完成",
"moreDetails": "更多信息",
@@ -1117,7 +1125,7 @@
"filters": {
"all": "全部",
"active": "已启用",
"paused": "已暂停",
"paused": "已停用",
"failed": "异常",
"system": "系统"
},
@@ -1145,8 +1153,8 @@
"updated": "更新于"
},
"runNow": "立即运行",
"pause": "暂停",
"resume": "恢复",
"pause": "停用",
"resume": "启用",
"edit": "编辑",
"delete": "删除",
"protected": "受保护",
@@ -1160,7 +1168,7 @@
"status": {
"system": "系统",
"running": "正在运行",
"paused": "已暂停",
"paused": "已停用",
"failed": "失败",
"completed": "已完成",
"noSchedule": "无计划",
@@ -1175,12 +1183,14 @@
"cli": "CLI"
},
"schedule": {
"weeklyAt": "每{{day}} {{time}}",
"at": "在 {{time}}",
"every": "每 {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}}({{tz}})",
"withTz": "{{summary}}({{tz}})",
"dailyAt": "每天 {{time}}",
"monthlyAt": "每月 {{day}} 日 {{time}}",
"weekdaysAt": "周一至周五 {{time}}",
"hourlyAt": "每小时第 {{minute}} 分钟",
"hourlyWindow": "{{start}}-{{end}} 点每小时第 {{minute}} 分钟",
@@ -1188,7 +1198,7 @@
"custom": "自定义计划"
},
"next": {
"paused": "已暂停",
"paused": "已停用",
"pending": "正在运行",
"local": "等待触发",
"none": "无后续运行计划"
@@ -1206,7 +1216,10 @@
"unit": "单位",
"cronExpression": "Cron 表达式",
"timezone": "时区",
"runAt": "运行时间"
"runAt": "运行时间",
"runDate": "运行日期",
"runTime": "运行时刻",
"chooseDate": "选择日期"
},
"scheduleTypes": {
"every": "间隔",