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 {
|
export default {
|
||||||
|
address: 'Address',
|
||||||
province: 'Province',
|
province: 'Province',
|
||||||
district: 'District',
|
district: 'District',
|
||||||
subDistrict: 'Sub-district',
|
subDistrict: 'Sub-district',
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import branchMainPage from './branch-main-page';
|
||||||
import personnelMainPage from './personnel-main-page';
|
import personnelMainPage from './personnel-main-page';
|
||||||
import address from './address';
|
import address from './address';
|
||||||
import branch from './branch';
|
import branch from './branch';
|
||||||
|
import user from './user';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
ok: 'Confirm',
|
ok: 'Confirm',
|
||||||
|
|
@ -20,6 +21,7 @@ export default {
|
||||||
...main,
|
...main,
|
||||||
...address,
|
...address,
|
||||||
...branch,
|
...branch,
|
||||||
|
...user,
|
||||||
...drawerComponent,
|
...drawerComponent,
|
||||||
...branchMainPage,
|
...branchMainPage,
|
||||||
...personnelMainPage,
|
...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 {
|
export default {
|
||||||
|
address: 'ที่อยู่',
|
||||||
province: 'จังหวัด',
|
province: 'จังหวัด',
|
||||||
district: 'อำเภอ',
|
district: 'อำเภอ',
|
||||||
subDistrict: 'ตำบล',
|
subDistrict: 'ตำบล',
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import branchMainPage from './branch-main-page';
|
||||||
import personnelMainPage from './personnel-main-page';
|
import personnelMainPage from './personnel-main-page';
|
||||||
import address from './address';
|
import address from './address';
|
||||||
import branch from './branch';
|
import branch from './branch';
|
||||||
|
import user from './user';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
ok: 'ยืนยัน',
|
ok: 'ยืนยัน',
|
||||||
|
|
@ -18,6 +19,7 @@ export default {
|
||||||
...main,
|
...main,
|
||||||
...address,
|
...address,
|
||||||
...branch,
|
...branch,
|
||||||
|
...user,
|
||||||
...drawerComponent,
|
...drawerComponent,
|
||||||
...branchMainPage,
|
...branchMainPage,
|
||||||
...personnelMainPage,
|
...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