refactor(trigger): name CLI trigger source as local

maintainer edit: cron is also a trigger source, so keep the new CLI-delivered source explicitly named as local trigger across backend, WebUI, docs, and tests.
This commit is contained in:
chengyongru
2026-07-02 13:32:46 +08:00
committed by Xubin Ren
parent 1ed2c9a213
commit 2ebf5c4972
40 changed files with 353 additions and 253 deletions
+7
View File
@@ -493,6 +493,7 @@
"emptyHint": "Create one from where it should run so nanobot keeps the right context.",
"oneShot": "One-time",
"systemTask": "System-managed automation",
"localTrigger": "Local trigger",
"labels": {
"schedule": "Schedule",
"next": "Next",
@@ -551,11 +552,13 @@
"weekdaysAt": "Weekdays at {{time}}",
"hourlyAt": "Hourly at :{{minute}}",
"hourlyWindow": "Hourly {{start}}-{{end}} at :{{minute}}",
"local": "Local trigger",
"custom": "Custom schedule"
},
"next": {
"paused": "Paused",
"pending": "Running now",
"local": "Waiting for trigger",
"none": "No next run"
},
"message": {
@@ -692,11 +695,13 @@
"every": "Every {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} · {{tz}}",
"local": "Local trigger",
"unknown": "Custom schedule"
},
"next": {
"label": "Next: {{time}}",
"disabled": "Paused",
"local": "Waiting for trigger",
"none": "No next run"
}
},
@@ -791,12 +796,14 @@
"every": "Every {{duration}}",
"cron": "Cron {{expr}}",
"cronWithTz": "Cron {{expr}} · {{tz}}",
"local": "Local trigger",
"unknown": "Custom schedule"
},
"next": {
"label": "{{time}}",
"pending": "Runs shortly",
"disabled": "Paused",
"local": "Waiting for trigger",
"none": "No next run"
}
},