From 5ec7012119b961a7e0d75e03d4d33715554fa2e7 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 5 Mar 2025 14:11:06 +0700 Subject: [PATCH] feat: add dashboard localization for English and Thai --- src/i18n/eng.ts | 33 ++++++++++++++++++++++++++++++++- src/i18n/tha.ts | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/src/i18n/eng.ts b/src/i18n/eng.ts index 51e53bf9..aa6cedb5 100644 --- a/src/i18n/eng.ts +++ b/src/i18n/eng.ts @@ -1336,7 +1336,6 @@ export default { Succeed: 'Completed', }, }, - report: { report: { title: 'Report', @@ -1373,4 +1372,36 @@ export default { }, }, }, + dashboard: { + title: 'Dashboard', + newComer: 'New Interested Party', + openQuotation: 'Open Quotation', + paidSales: 'Paid Sales', + pendingSales: 'Pending Sales', + + receipt: { + title: 'Tax Invoice Summary', + caption: 'By Total Amount', + total: 'Total Amount', + paid: 'Partially & Fully Paid', + pending: 'Pending Payment', + cancel: 'Cancelled', + }, + opportunity: { + title: 'Sales Opportunity Screening', + caption: 'By Sales Opportunity Status', + }, + quotation: { + title: 'Quotations & Sales Orders', + caption: 'By Document Status', + waitCustomer: 'Waiting for Customer', + inProgress: 'In Progress', + complete: 'Complete', + cancel: 'Cancel', + }, + sales: { + title: 'Top 5 Highest Sales', + caption: 'Based on Tax Invoices', + }, + }, }; diff --git a/src/i18n/tha.ts b/src/i18n/tha.ts index 7d7b561f..8d165a65 100644 --- a/src/i18n/tha.ts +++ b/src/i18n/tha.ts @@ -1351,4 +1351,36 @@ export default { count: 'จำนวนที่ขาย', }, }, + dashboard: { + title: 'Dashboard', + newComer: 'ผู้สนใจใหม่', + openQuotation: 'ใบเสนอราคาที่เปิดอยู่', + paidSales: 'ยอดขายที่ชำระแล้ว', + pendingSales: 'ยอดขายที่รอชำระ', + + receipt: { + title: 'สรุปยอดใบกำกับภาษี', + caption: 'ตามจำนวนเงินรวม', + total: 'ยอดรวมทั้งหมด', + paid: 'ชำระไม่ครบและชำระครบ', + pending: 'รอชำระ', + cancel: 'ยกเลิก', + }, + opportunity: { + title: 'การคัดกรองโอกาสทางการขาย', + caption: 'ตามสถานะโอกาสทางการขาย', + }, + quotation: { + title: 'ใบเสนอราคาและใบสั่งขาย', + caption: 'ตามสถานะเอกสาร', + waitCustomer: 'รอลูกค้าตอบรับ', + inProgress: 'กำลังดำเนินการ', + complete: 'เสร็จสิ้น', + cancel: 'ยกเลิก', + }, + sales: { + title: '5 อันดับยอดขายสูงสุด', + caption: 'ตามใบกำกับภาษี', + }, + }, };