Skip to content

Commit cf4ef5d

Browse files
hotlongCopilot
andcommitted
fix(crm/i18n): align task status/priority option keys with object def
The Task object defines status options [not_started, in_progress, waiting, completed, deferred] but the zh-CN translation pack listed 'cancelled' (which doesn't exist) and was missing 'waiting', so the kanban column header for the Waiting lane stayed in English. Likewise the priority list was missing 'urgent'. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fbfc34e commit cf4ef5d

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

examples/app-crm/dist/objectstack.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,17 +1974,18 @@
19741974
"options": {
19751975
"not_started": "未开始",
19761976
"in_progress": "进行中",
1977+
"waiting": "等待中",
19771978
"completed": "已完成",
1978-
"deferred": "已推迟",
1979-
"cancelled": "已取消"
1979+
"deferred": "已推迟"
19801980
}
19811981
},
19821982
"priority": {
19831983
"label": "优先级",
19841984
"options": {
19851985
"low": "低",
19861986
"normal": "普通",
1987-
"high": "高"
1987+
"high": "高",
1988+
"urgent": "紧急"
19881989
}
19891990
},
19901991
"due_date": {

examples/app-crm/src/translations/zh-CN.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,13 @@ export const zhCN: TranslationData = {
338338
status: {
339339
label: '状态',
340340
options: {
341-
not_started: '未开始', in_progress: '进行中',
342-
completed: '已完成', deferred: '已推迟', cancelled: '已取消',
341+
not_started: '未开始', in_progress: '进行中', waiting: '等待中',
342+
completed: '已完成', deferred: '已推迟',
343343
},
344344
},
345345
priority: {
346346
label: '优先级',
347-
options: { low: '低', normal: '普通', high: '高' },
347+
options: { low: '低', normal: '普通', high: '高', urgent: '紧急' },
348348
},
349349
due_date: { label: '截止日期' },
350350
assigned_to: { label: '负责人' },

0 commit comments

Comments
 (0)