feat: Main => i18n

This commit is contained in:
puriphatt 2024-04-04 11:28:52 +07:00
parent 08fef3ac09
commit bae9e48afa
6 changed files with 100 additions and 29 deletions

View file

@ -2,6 +2,7 @@
// so you can safely delete all default props below
import drawerComponent from './drawer-component';
import branchMainPage from './branch-main-page';
import main from './main';
export default {
ok: 'Confirm',
@ -13,4 +14,5 @@ export default {
save: 'Save',
...drawerComponent,
...branchMainPage,
...main,
};

34
src/i18n/en-US/main.ts Normal file
View file

@ -0,0 +1,34 @@
export default {
mainBranchTitle: 'Branch Management',
mainBranchCaption: 'Manage branches within the organization.',
mainPersonnelTitle: 'Personnel Management',
mainPersonnelCaption: 'Manage personnel within the organization.',
mainCustomerTitle: 'Customer Management',
mainCustomerCaption: 'Manage customer within the organization.',
mainProductTitle: 'Products & Services',
mainProductCaption: 'List of products and services.',
mainQuotationTitle: 'Quotation',
mainQuotationCaption: 'List of quotations.',
mainRequestTitle: 'Purchase Order',
mainRequestCaption: 'List of purchase order.',
mainOrderTitle: 'Request',
mainOrderCaption: 'List of requests.',
mainReceiptTitle: 'Bill of Lading',
mainReceiptCaption: 'Bill of lading list.',
mainFinanceTitle: 'Financial Management',
mainFinanceCaption: 'List of all accounts.',
mainDashboardTitle: 'Dashboard',
mainDashboardCaption: 'Statistical information.',
mainReportTitle: 'Report',
mainReportCaption: 'List of report.',
};

View file

@ -1,5 +1,6 @@
import drawerComponent from './drawer-component';
import branchMainPage from './branch-main-page';
import main from './main';
export default {
ok: 'ยืนยัน',
@ -11,4 +12,5 @@ export default {
save: 'บันทึก',
...drawerComponent,
...branchMainPage,
...main,
};

34
src/i18n/th-th/main.ts Normal file
View file

@ -0,0 +1,34 @@
export default {
mainBranchTitle: 'จัดการสาขา',
mainBranchCaption: 'จัดการสาขาภายในองค์กร',
mainPersonnelTitle: 'จัดการบุคลากร',
mainPersonnelCaption: 'จัดการคนภายในองค์กร',
mainCustomerTitle: 'จัดการลูกค้า',
mainCustomerCaption: 'จัดการคนภายในองค์กร',
mainProductTitle: 'สินค้าและบริการ',
mainProductCaption: 'รายการสินค้าและบริการ',
mainQuotationTitle: 'ใบเสนอราคา',
mainQuotationCaption: 'รายการใบเสนอราคา',
mainRequestTitle: 'รายการคำขอ',
mainRequestCaption: 'แสดงรายการคำขอ',
mainOrderTitle: 'ใบสั่งซื้อ',
mainOrderCaption: 'รายการใบสั่งซื้อ',
mainReceiptTitle: 'ใบรับสินค้า',
mainReceiptCaption: 'รายการใบรับสินค้า',
mainFinanceTitle: 'การจัดการการเงิน',
mainFinanceCaption: 'รายการบัญชีทั้งหมด',
mainDashboardTitle: 'Dashboard',
mainDashboardCaption: 'แสดงข้อมูลสถิติ',
mainReportTitle: 'รายงาน',
mainReportCaption: 'แสดงรายงาน',
};