feat: add i18n
This commit is contained in:
parent
2fb2c3bc3d
commit
c2d7e1f9c5
6 changed files with 16 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
export default {
|
||||
address: 'Address',
|
||||
province: 'Province',
|
||||
district: 'District',
|
||||
subDistrict: 'Sub-district',
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import branchMainPage from './branch-main-page';
|
|||
import personnelMainPage from './personnel-main-page';
|
||||
import address from './address';
|
||||
import branch from './branch';
|
||||
import user from './user';
|
||||
|
||||
export default {
|
||||
ok: 'Confirm',
|
||||
|
|
@ -20,6 +21,7 @@ export default {
|
|||
...main,
|
||||
...address,
|
||||
...branch,
|
||||
...user,
|
||||
...drawerComponent,
|
||||
...branchMainPage,
|
||||
...personnelMainPage,
|
||||
|
|
|
|||
5
src/i18n/en-US/user.ts
Normal file
5
src/i18n/en-US/user.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export default {
|
||||
firstname: 'First Name',
|
||||
lastname: 'Last Name',
|
||||
fullname: 'Full Name',
|
||||
};
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
export default {
|
||||
address: 'ที่อยู่',
|
||||
province: 'จังหวัด',
|
||||
district: 'อำเภอ',
|
||||
subDistrict: 'ตำบล',
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import branchMainPage from './branch-main-page';
|
|||
import personnelMainPage from './personnel-main-page';
|
||||
import address from './address';
|
||||
import branch from './branch';
|
||||
import user from './user';
|
||||
|
||||
export default {
|
||||
ok: 'ยืนยัน',
|
||||
|
|
@ -18,6 +19,7 @@ export default {
|
|||
...main,
|
||||
...address,
|
||||
...branch,
|
||||
...user,
|
||||
...drawerComponent,
|
||||
...branchMainPage,
|
||||
...personnelMainPage,
|
||||
|
|
|
|||
5
src/i18n/th-th/user.ts
Normal file
5
src/i18n/th-th/user.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export default {
|
||||
firstname: 'ชื่อ',
|
||||
lastname: 'นามสกุล',
|
||||
fullname: 'ชื่อ-นามสกุล',
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue