From 704f0b1ba89fda0233b37d56d0db7681180788f6 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 10 Apr 2024 15:01:10 +0700 Subject: [PATCH] feat: i18n branch label --- src/i18n/en-US/address.ts | 5 +++++ src/i18n/en-US/branch.ts | 4 ++++ src/i18n/en-US/index.ts | 6 +++++- src/i18n/th-th/address.ts | 5 +++++ src/i18n/th-th/branch.ts | 4 ++++ src/i18n/th-th/index.ts | 6 +++++- 6 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 src/i18n/en-US/address.ts create mode 100644 src/i18n/en-US/branch.ts create mode 100644 src/i18n/th-th/address.ts create mode 100644 src/i18n/th-th/branch.ts diff --git a/src/i18n/en-US/address.ts b/src/i18n/en-US/address.ts new file mode 100644 index 00000000..472fbaf2 --- /dev/null +++ b/src/i18n/en-US/address.ts @@ -0,0 +1,5 @@ +export default { + province: 'Province', + district: 'District', + subDistrict: 'Sub-district', +}; diff --git a/src/i18n/en-US/branch.ts b/src/i18n/en-US/branch.ts new file mode 100644 index 00000000..34a7f913 --- /dev/null +++ b/src/i18n/en-US/branch.ts @@ -0,0 +1,4 @@ +export default { + branchLabel: 'Branch', + branchHQLabel: 'Headquarters', +}; diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index 6146f2c9..0b62b165 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -4,6 +4,8 @@ import main from './main'; import drawerComponent from './drawer-component'; import branchMainPage from './branch-main-page'; import personnelMainPage from './personnel-main-page'; +import address from './address'; +import branch from './branch'; export default { ok: 'Confirm', @@ -16,7 +18,9 @@ export default { edit: 'Edit', delete: 'Delete', ...main, + ...address, + ...branch, ...drawerComponent, ...branchMainPage, - ...personnelMainPage + ...personnelMainPage, }; diff --git a/src/i18n/th-th/address.ts b/src/i18n/th-th/address.ts new file mode 100644 index 00000000..90da0c26 --- /dev/null +++ b/src/i18n/th-th/address.ts @@ -0,0 +1,5 @@ +export default { + province: 'จังหวัด', + district: 'อำเภอ', + subDistrict: 'ตำบล', +}; diff --git a/src/i18n/th-th/branch.ts b/src/i18n/th-th/branch.ts new file mode 100644 index 00000000..77c30bc6 --- /dev/null +++ b/src/i18n/th-th/branch.ts @@ -0,0 +1,4 @@ +export default { + branchLabel: 'สาขา', + branchHQLabel: 'สาขาใหญ่', +}; diff --git a/src/i18n/th-th/index.ts b/src/i18n/th-th/index.ts index 11ba0bc4..ee36a836 100644 --- a/src/i18n/th-th/index.ts +++ b/src/i18n/th-th/index.ts @@ -2,6 +2,8 @@ import main from './main'; import drawerComponent from './drawer-component'; import branchMainPage from './branch-main-page'; import personnelMainPage from './personnel-main-page'; +import address from './address'; +import branch from './branch'; export default { ok: 'ยืนยัน', @@ -14,7 +16,9 @@ export default { edit: 'แก้ไขข้อมูล', delete: 'ลบข้อมูล', ...main, + ...address, + ...branch, ...drawerComponent, ...branchMainPage, - ...personnelMainPage + ...personnelMainPage, };