Align biz_state pages with network management UI patterns.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-17 16:48:09 +08:00
parent 06331ca763
commit 1352535a9b
4 changed files with 818 additions and 563 deletions

View file

@ -166,6 +166,86 @@ const en = {
body: "This capability is not available yet.",
},
},
bizState: {
title: "Business state",
create: "Create task",
createHint: "Pick a managed NE (LLDP enabled by default)",
created: "Task created",
createFailed: "Create failed",
empty: "No business-state tasks yet.",
pickNe: "Select managed NE…",
start: "Start schedule",
pause: "Pause",
collectNow: "Collect now",
delete: "Delete",
confirmDelete: "Delete this task and all batches?",
deleted: "Deleted",
started: "Schedule started",
paused: "Paused",
collecting: "Collecting",
profiles: "Monitor items",
enable: "On",
command: "Command template",
params: "Bindings",
discoverVrf: "Discover VRFs",
saveBindings: "Save bindings",
cancel: "Cancel",
bindTitle: "Select VRF bindings",
unbound: "Not bound",
batches: "Batches",
viewBatch: "View",
export: "Export",
noBatches: "No batches yet",
batchDetail: "Batch detail",
colNe: "NE",
colStatus: "Status",
colLast: "Last collect",
colTime: "Time",
colRows: "Rows",
colActions: "Actions",
pickTask: "Select a task on the left",
noNeedBind: "This item needs no parameter bindings",
discoverFailed: "Discover failed",
bindingsSaved: "Bindings saved",
},
bizCompare: {
title: "Business compare",
mapping: "Port mapping",
newMapping: "New mapping…",
mapName: "Mapping name",
saveMapping: "Save mapping",
validateMapping: "Validate",
mapHint: "before_if,after_if one pair per line",
mappingSaved: "Mapping saved",
createJob: "Create compare job",
jobName: "Name",
template: "Template",
mode: "Mode",
modeManual: "Manual batches",
modeAuto: "Auto (pin before; latest after batch)",
beforeTask: "Before task",
beforeBatch: "Before batch",
afterTask: "After task",
afterBatch: "After batch",
pick: "Select…",
sameAsBefore: "Same as before / select…",
autoHint: "auto: new after-task batches trigger compare",
createCompare: "Create job",
runNow: "Run now",
jobList: "Compare jobs",
runs: "Run history",
result: "Result",
pickRun: "Pick a run or click Run now",
emptyJobs: "No compare jobs yet",
created: "Compare job created",
ran: "Compare finished",
colName: "Name",
colMode: "Mode",
colStatus: "Status",
colKind: "Kind",
colKey: "Key",
colChange: "Changes",
},
portTraffic: {
title: "Port traffic",
create: "Monitor device",

View file

@ -166,6 +166,86 @@ const zh = {
body: "该能力尚未开放。",
},
},
bizState: {
title: "业务状态监控",
create: "创建任务",
createHint: "选择托管网元后创建(默认启用 LLDP)",
created: "已创建任务",
createFailed: "创建失败",
empty: "暂无业务监控任务。",
pickNe: "选择托管网元…",
start: "启动周期",
pause: "暂停",
collectNow: "立即采集",
delete: "删除",
confirmDelete: "删除该业务监控任务及所有批次?",
deleted: "已删除",
started: "已启动周期采集",
paused: "已暂停",
collecting: "采集中",
profiles: "监控项",
enable: "启用",
command: "命令模板",
params: "参数关联",
discoverVrf: "发现 VRF",
saveBindings: "保存关联",
cancel: "取消",
bindTitle: "选择 VRF 绑定",
unbound: "未关联",
batches: "采集批次",
viewBatch: "查看",
export: "导出",
noBatches: "尚无批次",
batchDetail: "批次详情",
colNe: "网元",
colStatus: "状态",
colLast: "最近采集",
colTime: "时间",
colRows: "行数",
colActions: "操作",
pickTask: "选择左侧任务查看详情",
noNeedBind: "该监控项无需参数关联",
discoverFailed: "发现失败",
bindingsSaved: "参数关联已保存",
},
bizCompare: {
title: "业务状态比对",
mapping: "端口映射",
newMapping: "新建映射…",
mapName: "映射名称",
saveMapping: "保存映射",
validateMapping: "校验映射",
mapHint: "before_if,after_if 每行一对",
mappingSaved: "映射已保存",
createJob: "建立比对任务",
jobName: "名称",
template: "模板",
mode: "模式",
modeManual: "手工选批次",
modeAuto: "自动(钉死操作前,操作后取最新)",
beforeTask: "操作前任务",
beforeBatch: "操作前批次",
afterTask: "操作后任务",
afterBatch: "操作后批次",
pick: "选择…",
sameAsBefore: "同操作前 / 选择…",
autoHint: "auto:操作后任务新批次到达会自动跑比对",
createCompare: "创建比对任务",
runNow: "立即比对",
jobList: "比对任务列表",
runs: "历史 Run",
result: "比对结果",
pickRun: "选择 Run 或点「立即比对」",
emptyJobs: "暂无比对任务",
created: "比对任务已创建",
ran: "比对完成",
colName: "名称",
colMode: "模式",
colStatus: "状态",
colKind: "类型",
colKey: "Key",
colChange: "变更",
},
portTraffic: {
title: "端口流量监控",
create: "添加设备监控",