feat: i18n

This commit is contained in:
puriphatt 2024-06-14 11:01:57 +00:00
parent c8b1a7551a
commit d9913e9903
8 changed files with 146 additions and 2 deletions

View file

@ -1,4 +1,73 @@
export default {
warning: 'Warning',
warningForgetInput: 'You have incomplete information.',
// Backend
productGroupNotFound: 'Product group cannot be found.',
productGroupInUsed: 'Product group is in used.',
productNotFound: 'Product cannot be found.',
productInUsed: 'Product is in used.',
productTypeNotFound: 'Product type cannot be found.',
productGroupAssociatedBadReq: 'Product group associated cannot be found.',
productTypeInUsed: 'Product type is in used.',
productGroupBadReq: 'Product group cannot be found.',
serviceNotFound: 'Service cannot be found.',
someProductBadReq: 'Some product not found.',
serviceInUsed: 'Service is in used.',
workNotFound: 'Work cannot be found.',
workInUsed: 'Work is in used.',
branchContactNotFound: 'Branch contact cannot be found.',
branchBadReq: 'Branch cannot be found.',
branchNotFound: 'Branch cannot be found.',
cantMakeHQAndBranchSameTime:
'Cannot make this as headquaters and branch at the same time.',
branchInUsed: 'Branch is in used.',
oneOrMoreUserBadReq: 'One or more user cannot be found.',
oneOrMoreBranchBadReq: 'One or more branch cannot be found.',
customerBranchNotFound: 'Customer branch cannot be found.',
customerBranchInUsed: 'Customer branch is in used.',
customerNotFound: 'Customer cannot be found.',
customerInUsed: 'Customer is in used.',
oneOrMoreBranchMissing: 'One or more branch cannot be delete and is missing.',
employeeCheckupNotFound: 'Employee checkup cannot be found.',
provinceNotFound: 'Province cannot be found.',
employeeNotFound: 'Employee cannot be found.',
employeeBadReq: 'Employee cannot be found.',
employeeInUsed: 'Employee is in used.',
someProvinceNotFound: 'Some province cannot be found.',
employeeOtherNotFound: 'Employee other info cannot be found.',
employeeWorkNotFound: 'Employee work cannot be found.',
parentMenuBadReq: 'Parent menu not found.',
menuNotFound: 'Menu cannot be found.',
menuBadReq: 'Menu cannot be found.',
menuComponentNotFound: 'Menu component cannot be found.',
roleMenuNotFound: 'Role menu cannot be found.',
userNotFound: 'User cannot be found.',
userInUsed: 'User is in used.',
unknowHowToVerify: 'Unknown how to verify identity.',
noPermissionToAccess: 'You do not have permission to access this resource.',
relationProvinceNotFound: 'Province cannot be found.',
relationDistrictNotFound: 'District cannot be found.',
relationSubDistrictNotFound: 'Sub-district cannot be found.',
relationHQNotFound: 'Headquarters cannot be found.',
relationCustomerNotFound: 'Customer cannot be found.',
relationCustomerBranchNotFound: 'Customer Branch cannot be found.',
};

View file

@ -42,6 +42,7 @@ export default {
customerNameTh: 'Company/Legal Entity Name in Thai',
customerNameEn: 'Company/Legal Entity Name in English',
customerBranchName: 'Company/Legal Entity Name',
allEmployee: 'All Employee',
};

View file

@ -110,7 +110,7 @@ export default {
// Customer
formDialogEmployerID: 'Employer ID',
formDialogEmployerBranchCode: 'Employer branch code',
formDialogEmployerBranchCode: 'Employer code',
formDialogEmployeeID: 'Employee ID',
formDialogEmployeeNRCNo: 'Non-Thai Identification Number (N.R.C. No.)',

View file

@ -45,6 +45,8 @@ export default {
detail: 'Detail',
add: 'Add',
name: 'Name',
editPersonalInfo: 'Edit personal infomation',
logout: 'Logout',
...status,
...main,
...address,