diff --git a/src/components/home/MenuItem.vue b/src/components/home/MenuItem.vue
index c32e7cea..deeb06b0 100644
--- a/src/components/home/MenuItem.vue
+++ b/src/components/home/MenuItem.vue
@@ -53,8 +53,8 @@ function navigateTo(destination: string) {
/>
- {{ v.title }}
- {{ v.caption }}
+ {{ $t(v.title) }}
+ {{ $t(v.caption) }}
diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts
index fe638aac..935bd0c7 100644
--- a/src/i18n/en-US/index.ts
+++ b/src/i18n/en-US/index.ts
@@ -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,
};
diff --git a/src/i18n/en-US/main.ts b/src/i18n/en-US/main.ts
new file mode 100644
index 00000000..1ca94e00
--- /dev/null
+++ b/src/i18n/en-US/main.ts
@@ -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.',
+};
diff --git a/src/i18n/th-th/index.ts b/src/i18n/th-th/index.ts
index 5c01b76e..b5a3fbc0 100644
--- a/src/i18n/th-th/index.ts
+++ b/src/i18n/th-th/index.ts
@@ -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,
};
diff --git a/src/i18n/th-th/main.ts b/src/i18n/th-th/main.ts
new file mode 100644
index 00000000..2aa8851d
--- /dev/null
+++ b/src/i18n/th-th/main.ts
@@ -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: 'แสดงรายงาน',
+};
diff --git a/src/pages/MainPage.vue b/src/pages/MainPage.vue
index 4f70ecbe..a6fbd9fe 100644
--- a/src/pages/MainPage.vue
+++ b/src/pages/MainPage.vue
@@ -1,101 +1,100 @@
-