Skip to content

Commit fbfc34e

Browse files
hotlongCopilot
andcommitted
fix(crm-i18n): translate account/contact/opportunity object descriptions
Add zh-CN descriptions for account/contact/opportunity so the page subtitle on the list views localizes alongside the object label. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 59ed1a9 commit fbfc34e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

examples/app-crm/dist/objectstack.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,7 @@
12941294
"account": {
12951295
"label": "客户",
12961296
"pluralLabel": "客户",
1297+
"description": "与我们有业务往来的公司和组织",
12971298
"fields": {
12981299
"account_number": {
12991300
"label": "客户编号"
@@ -1385,6 +1386,7 @@
13851386
"contact": {
13861387
"label": "联系人",
13871388
"pluralLabel": "联系人",
1389+
"description": "客户与商机的关键人物联系人",
13881390
"fields": {
13891391
"salutation": {
13901392
"label": "称谓"
@@ -2262,6 +2264,7 @@
22622264
"opportunity": {
22632265
"label": "商机",
22642266
"pluralLabel": "商机",
2267+
"description": "销售流程中的商机与交易",
22652268
"fields": {
22662269
"name": {
22672270
"label": "商机名称"

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const zhCN: TranslationData = {
1212
account: {
1313
label: '客户',
1414
pluralLabel: '客户',
15+
description: '与我们有业务往来的公司和组织',
1516
fields: {
1617
account_number: { label: '客户编号' },
1718
name: { label: '客户名称', help: '公司或组织的法定名称' },
@@ -51,6 +52,7 @@ export const zhCN: TranslationData = {
5152
contact: {
5253
label: '联系人',
5354
pluralLabel: '联系人',
55+
description: '客户与商机的关键人物联系人',
5456
fields: {
5557
salutation: { label: '称谓' },
5658
first_name: { label: '名' },
@@ -467,6 +469,7 @@ export const zhCN: TranslationData = {
467469
opportunity: {
468470
label: '商机',
469471
pluralLabel: '商机',
472+
description: '销售流程中的商机与交易',
470473
fields: {
471474
name: { label: '商机名称' },
472475
account: { label: '所属客户' },

0 commit comments

Comments
 (0)