Localize LLDP and topology classify English leftovers.

Translate job status/trigger/scope, item result, edge labels, and classify role/source option text in zh/en.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-05 21:28:17 +08:00
parent 617d4245b0
commit 7cd89aaae9
4 changed files with 167 additions and 24 deletions

View file

@ -389,6 +389,34 @@ const en = {
bPort: "Port B",
lastSeen: "Last seen",
},
jobStatus: {
running: "Running",
pending: "Pending",
paused: "Paused",
done: "Done",
failed: "Failed",
cancelled: "Cancelled",
},
triggerMode: {
manual: "Manual",
schedule: "Scheduled",
topology: "Topology canvas",
},
jobScope: {
all: "All NEs",
ne_ids: "Selected NEs",
selected: "Selected NEs",
},
itemResult: {
ok: "OK",
warn: "Warn",
fail: "Fail",
},
edgeSource: {
lldp: "LLDP",
manual: "Manual",
stale: "Stale",
},
},
configSync: {
title: "Config sync",
@ -1601,6 +1629,15 @@ const en = {
linkUme: "UME",
linkBoth: "Managed+UME",
linkOrphaned: "Detached",
roleCore: "Core",
roleAggregation: "Aggregation",
roleAccess: "Access",
roleUnknown: "Unknown",
sourceManual: "Manual",
sourceUmeSync: "UME sync",
sourceLldp: "LLDP placeholder",
sourceTopology: "Topology placeholder",
sourceWebcrt: "WebCRT",
regexTitle: "Regex find",
patternPh: "Regex, e.g. ^CORE- or -BJ-",
fieldName: "Name",

View file

@ -385,6 +385,34 @@ const zh = {
bPort: "对端口",
lastSeen: "最近看见",
},
jobStatus: {
running: "运行中",
pending: "排队中",
paused: "已暂停",
done: "已完成",
failed: "失败",
cancelled: "已取消",
},
triggerMode: {
manual: "手动",
schedule: "周期",
topology: "拓扑画布",
},
jobScope: {
all: "全部网元",
ne_ids: "指定网元",
selected: "指定网元",
},
itemResult: {
ok: "成功",
warn: "警告",
fail: "失败",
},
edgeSource: {
lldp: "LLDP",
manual: "手动",
stale: "陈旧",
},
},
configSync: {
title: "配置同步",
@ -1586,10 +1614,19 @@ const zh = {
filterLinkLinked: "已关联库存",
filterLinkOrphaned: "已解绑",
colLink: "关联",
linkManaged: "Managed",
linkManaged: "托管",
linkUme: "UME",
linkBoth: "Managed+UME",
linkBoth: "托管+UME",
linkOrphaned: "已解绑",
roleCore: "核心",
roleAggregation: "汇聚",
roleAccess: "接入",
roleUnknown: "未知",
sourceManual: "手动",
sourceUmeSync: "UME 同步",
sourceLldp: "LLDP 占位",
sourceTopology: "拓扑占位",
sourceWebcrt: "WebCRT",
regexTitle: "正则查找",
patternPh: "正则,如 ^CORE- 或 -BJ-",
fieldName: "名称",