diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 09e26827..0ded0d32 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -907,8 +907,8 @@ "搜索脚本名称": "Search script names", "排队中 {runs} 次,涉及 {tasks} 个任务": "Queued runs: {runs} across {tasks} tasks", "今日定时调度": "Today's scheduled triggers", - "由青龙触发": "Triggered by Qinglong", - "由系统触发(crond)": "Triggered by system cron", + "内置调度": "Built-in scheduler", + "系统调度(crond)": "System scheduler (crond)", "按计划统计": "Scheduled occurrences", "按触发记录统计(共 {count} 条)": "Trigger records ({count} total)", "跳过次数": "Skipped runs", diff --git a/src/locales/zh-CN.json b/src/locales/zh-CN.json index 07cc0d2a..808191b8 100644 --- a/src/locales/zh-CN.json +++ b/src/locales/zh-CN.json @@ -907,8 +907,8 @@ "搜索脚本名称": "搜索脚本名称", "排队中 {runs} 次,涉及 {tasks} 个任务": "排队中 {runs} 次,涉及 {tasks} 个任务", "今日定时调度": "今日定时调度", - "由青龙触发": "由青龙触发", - "由系统触发(crond)": "由系统触发(crond)", + "内置调度": "内置调度", + "系统调度(crond)": "系统调度(crond)", "按计划统计": "按计划统计", "按触发记录统计(共 {count} 条)": "按触发记录统计(共 {count} 条)", "跳过次数": "跳过次数", diff --git a/src/pages/dashboard/index.tsx b/src/pages/dashboard/index.tsx index 09864b48..06b8bc31 100644 --- a/src/pages/dashboard/index.tsx +++ b/src/pages/dashboard/index.tsx @@ -325,7 +325,7 @@ const Dashboard = () => { ]; sources.push({ key: 'panel', - label: intl.get('由青龙触发'), + label: intl.get('内置调度'), help: <> {audit.partial &&

{intl.get('规则切换期间有些计划无法确认。这里只统计能确认的计划,暂不显示准时率。')}

}

{intl.get('从 {time} 起统计,最近 5 秒暂不计入。触发时间与计划相差不超过 5 秒算准时。准时率 = 准时触发次数 ÷ 计划触发次数。', { @@ -363,7 +363,7 @@ const Dashboard = () => { if (systemAudit) { sources.push({ key: 'system', - label: intl.get('由系统触发(crond)'), + label: intl.get('系统调度(crond)'), help: <>

{intl.get('同一计划多出的记录计为重复。只有明确记录的跳过才计入跳过次数。记录写入前中断的派发无法核实。')}

{intl.get('上次成功安装规则')} {systemAudit.confirmedAt ? new Date(systemAudit.confirmedAt).toLocaleString() : '—'} diff --git a/src/pages/dashboard/scheduleAnomalies.tsx b/src/pages/dashboard/scheduleAnomalies.tsx index be51dbe1..459ec47c 100644 --- a/src/pages/dashboard/scheduleAnomalies.tsx +++ b/src/pages/dashboard/scheduleAnomalies.tsx @@ -116,7 +116,7 @@ export default function ScheduleAnomalies({ selection, close, openLog, onUpdate, return () => { ctrl.abort(); clearTimeout(timer); clearTimeout(deadline); }; }, [selection, query, onUpdate, onInvalidate]); const format = (ms: number) => new Date(ms).toLocaleString(undefined, { timeZone: data?.zone, hour12: false }); - return {intl.get(titles[selection.kind])} · {intl.get(selection.source === 'panel' ? '由青龙触发' : '由系统触发(crond)')}} onCancel={close} footer={null}> + return {intl.get(titles[selection.kind])} · {intl.get(selection.source === 'panel' ? '内置调度' : '系统调度(crond)')}} onCancel={close} footer={null}>

{intl.get('截至 {time} 的计划,明细随回报更新。', { time: format(selection.at - 5000) })}

{failed ? {intl.get('加载失败')} } /> : <> @@ -130,7 +130,7 @@ export default function ScheduleAnomalies({ selection, close, openLog, onUpdate, { title: intl.get('任务'), render: (_, r) => <>{r.name || '#' + r.task}
{r.rule} }, { title: intl.get('计划时间'), render: (_, r) => r.time != null ? format(r.time) : <> {intl.get('计划时间无法确定')}
{r.observed != null && intl.get('收到于 {time}', {time: format(r.observed)})} }, - { title: intl.get('调度来源'), render: (_, r) => intl.get(r.source === 'system' ? '由系统触发(crond)' : r.source === 'recovery' ? '重启补跑' : '由青龙触发') }, + { title: intl.get('调度来源'), render: (_, r) => intl.get(r.source === 'system' ? '系统调度(crond)' : r.source === 'recovery' ? '重启补跑' : '内置调度') }, { title: intl.get('判断原因'), render: (_, r) => explanation(selection.kind, r) }, { title: intl.get('日志'), render: (_, r) => r.hasLog && r.trigger ? : '—' },