Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/2094-zh-cn-list-column-labels.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'hotcrm': patch
---

The **All Leads** list now shows its column headers in the user's language. In Chinese, Spanish and Japanese the nine headers were in English: Name, Company, Email, Status, Score, Source, Need Type, Est. Amount and Owner. The **Account** column on **Open Deals** and **All Opportunities** was also in English. Each header now uses its field's label, which the app translates into every supported language. In English, five lead headers now use the full field name: *Name* is now **Full Name**, *Score* is **Lead Score**, *Source* is **Lead Source**, *Est. Amount* is **Estimated Amount** and *Owner* is **Lead Owner**. The other English headers do not change.
2 changes: 1 addition & 1 deletion content/docs/sales/leads.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The available **lead sources** include Web, Referral, Event, Trade Show, Webinar

## Lead scoring — what the score means

A lead carries exactly **one** quality number: **Lead Score**, a **1-5 star rating**. It is the same field the list views show in the *Score* column — there is no separate 0-100 number, and no budget or timeline field behind it.
A lead carries exactly **one** quality number: **Lead Score**, a **1-5 star rating**. It is the same field the list views show in the *Lead Score* column — there is no separate 0-100 number, and no budget or timeline field behind it.

### Where the stars come from

Expand Down
2 changes: 1 addition & 1 deletion content/docs/sales/leads.zh-Hans.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ description: 在入站咨询成为真正交易之前对其进行捕获、评分

## 线索评分——评分的含义

一条线索上只有**一个**质量数字:**线索评分**,一个 **1-5 星的星级评级**。列表视图里*评分*那一列显示的就是同一个字段——不存在另一个 0 到 100 的分数,背后也没有预算或时间线字段。
一条线索上只有**一个**质量数字:**线索评分**,一个 **1-5 星的星级评级**。列表视图里*线索评分*那一列显示的就是同一个字段——不存在另一个 0 到 100 的分数,背后也没有预算或时间线字段。

### 星级是怎么来的

Expand Down
2 changes: 1 addition & 1 deletion content/docs/sales/leads.zh-Hant.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ description: 在入站詢問成為真正交易之前對其進行擷取、評分

## 潛在客戶評分——評分的含義

一筆潛在客戶上只有**一個**品質數字:**線索評分**,一個 **1-5 星的星級評級**。列表檢視裡*評分*那一欄顯示的就是同一個欄位——不存在另一個 0 到 100 的分數,背後也沒有預算或時間線欄位。
一筆潛在客戶上只有**一個**品質數字:**線索評分**,一個 **1-5 星的星級評級**。列表檢視裡*線索評分*那一欄顯示的就是同一個欄位——不存在另一個 0 到 100 的分數,背後也沒有預算或時間線欄位。

### 星級是怎麼來的

Expand Down
17 changes: 7 additions & 10 deletions src/sales/views/lead.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,45 +131,45 @@ export const LeadViews = defineView({
object: 'crm_lead',
},

// Column Configuration with Enhanced Features
// Column Configuration with Enhanced Features.
//
// No column carries its own `label:`. Without one the header is the
// field's label, which all four locale packs translate. With one, the
// string is served verbatim in every locale: the translation schema has no
// per-column key, so it left this whole header row English in zh-CN
// (#2094). A wording the field label cannot carry is a platform gap.
columns: [
{
// One name column, not two. Splitting first/last spent 300px to say
// what "Alice Martinez" says in one, and hung the record link off the
// given name alone — so opening a person meant aiming at their first
// name specifically.
field: 'full_name',
label: 'Name',
width: 200,
sortable: true,
link: true, // Primary navigation link
},
{
field: 'company',
label: 'Company',
width: 200,
sortable: true,
},
{
field: 'email',
label: 'Email',
width: 200,
},
{
field: 'status',
label: 'Status',
width: 120,
sortable: true,
},
{
field: 'rating',
label: 'Score',
width: 100,
align: 'center',
},
{
field: 'lead_source',
label: 'Source',
width: 120,
},
// REQ-0005 acceptance 1: what the prospect wants and what it is worth,
Expand All @@ -182,20 +182,17 @@ export const LeadViews = defineView({
// stored value, so a multi-valued column would group by the combination.
{
field: 'need_type',
label: 'Need Type',
width: 160,
sortable: true,
},
{
field: 'estimated_amount',
label: 'Est. Amount',
width: 130,
align: 'right',
sortable: true,
},
{
field: 'owner_id',
label: 'Owner',
width: 150,
},
],
Expand Down
4 changes: 2 additions & 2 deletions src/sales/views/opportunity.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const OpportunityViews = defineView({
],
columns: [
{ field: 'name', width: 220, sortable: true, link: true },
{ field: 'crm_account', label: 'Account', width: 180 },
{ field: 'crm_account', width: 180 },
{ field: 'stage', width: 140, sortable: true },
{ field: 'amount', width: 140, align: 'right', sortable: true, summary: 'sum' },
{ field: 'probability', width: 110, align: 'right' },
Expand Down Expand Up @@ -135,7 +135,7 @@ export const OpportunityViews = defineView({
data: { provider: 'object', object: 'crm_opportunity' },
columns: [
{ field: 'name', width: 220, sortable: true, link: true },
{ field: 'crm_account', label: 'Account', width: 180 },
{ field: 'crm_account', width: 180 },
{ field: 'stage', width: 140, sortable: true },
{ field: 'amount', width: 140, align: 'right', sortable: true, summary: 'sum' },
{ field: 'probability', width: 110, align: 'right' },
Expand Down
Loading