Skip to content

Commit

Permalink
feat(ns): 更新事件字段标签为中文
Browse files Browse the repository at this point in the history
- 将事件 JSON 文件中的多个字段标签从英文更新为中文,包括类型、原因、关联对象、关联字段、事件来源和说明
- 提升了用户界面的本地化体验,使信息更易于理解
  • Loading branch information
weibaohui committed Dec 27, 2024
1 parent 886eae6 commit 861dae2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions assets/pages/ns/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@
},
{
"name": "type",
"label": "type",
"label": "类型",
"searchable": {
"type": "select",
"options": [
Expand All @@ -586,7 +586,7 @@
},
{
"name": "reason",
"label": "reason",
"label": "原因",
"type": "mapping",
"map": {
"Pulled": "<span class='label label-primary'>Pulled</span>",
Expand Down Expand Up @@ -616,25 +616,25 @@
},
{
"name": "object",
"label": "object",
"label": "关联对象",
"type": "tpl",
"tpl": "${regarding.kind}/${regarding.name}"
},
{
"name": "field",
"label": "sub",
"label": "关联字段",
"type": "tpl",
"tpl": "${regarding.fieldPath}"
},
{
"name": "source",
"label": "source",
"label": "事件来源",
"type": "tpl",
"tpl": "${reportingController} ${reportingInstance}"
},
{
"name": "note",
"label": "note",
"label": "说明",
"type": "text",
"searchable": true
},
Expand Down

0 comments on commit 861dae2

Please sign in to comment.