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,

View file

@ -1,4 +1,73 @@
export default {
warning: 'เตือน',
warningForgetInput: 'คุณกรอกข้อมูลไม่ครบ',
// Backend
productGroupNotFound: 'ไม่พบกลุ่มสินค้า',
productGroupInUsed: 'กลุ่มสินค้าที่ใช้งานอยู่',
productNotFound: 'ไม่พบสินค้า',
productInUsed: 'สินค้าใช้งานอยู่',
productTypeNotFound: 'ไม่พบประเภทสินค้า',
productGroupAssociatedBadReq: 'ไม่พบกลุ่มสินค้าที่เกี่ยวข้อง',
productTypeInUsed: 'ประเภทสินค้าใช้งานอยู่',
productGroupBadReq: 'ไม่พบกลุ่มสินค้า',
serviceNotFound: 'ไม่พบบริการ',
someProductBadReq: 'ไม่พบสินค้าบางส่วน',
serviceInUsed: 'บริการใช้งานอยู่',
workNotFound: 'ไม่พบงาน',
workInUsed: 'งานที่ใช้งานอยู่',
branchContactNotFound: 'ไม่พบผู้ติดต่อสาขา',
branchBadReq: 'ไม่พบสาขา',
branchNotFound: 'ไม่พบสาขา',
cantMakeHQAndBranchSameTime:
'ไม่สามารถทำให้เป็นสำนักงานใหญ่และสาขาพร้อมกันได้',
branchInUsed: 'สาขาใช้งานอยู่',
oneOrMoreUserBadReq: 'ไม่พบผู้ใช้หนึ่งคนหรือมากกว่า',
oneOrMoreBranchBadReq: 'ไม่พบสาขาหนึ่งสาขาหรือมากกว่า',
customerBranchNotFound: 'ไม่พบสาขาลูกค้า',
customerBranchInUsed: 'สาขาลูกค้าที่ใช้งานอยู่',
customerNotFound: 'ไม่พบลูกค้า',
customerInUsed: 'ลูกค้าใช้งานอยู่',
oneOrMoreBranchMissing: 'ไม่สามารถลบสาขาหนึ่งหรือมากกว่าได้และสูญหาย',
employeeCheckupNotFound: 'ไม่พบการตรวจสอบพนักงาน',
provinceNotFound: 'ไม่พบจังหวัด',
employeeNotFound: 'ไม่พบพนักงาน',
employeeBadReq: 'ไม่พบพนักงาน',
employeeInUsed: 'พนักงานใช้งานอยู่',
someProvinceNotFound: 'ไม่พบจังหวัดบางส่วน',
employeeOtherNotFound: 'ไม่พบข้อมูลอื่นของพนักงาน',
employeeWorkNotFound: 'ไม่พบงานของพนักงาน',
parentMenuBadReq: 'ไม่พบเมนูหลัก',
menuNotFound: 'ไม่พบเมนู',
menuBadReq: 'ไม่พบเมนู',
menuComponentNotFound: 'ไม่พบส่วนประกอบเมนู',
roleMenuNotFound: 'ไม่พบเมนูบทบาท',
userNotFound: 'ไม่พบผู้ใช้',
userInUsed: 'ผู้ใช้ใช้งานอยู่',
unknowHowToVerify: 'ไม่ทราบวิธียืนยันตัวตน',
noPermissionToAccess: 'คุณไม่มีสิทธิ์เข้าถึงทรัพยากรนี้',
relationProvinceNotFound: 'ไม่พบจังหวัด',
relationDistrictNotFound: 'ไม่พบอำเภอ',
relationSubDistrictNotFound: 'ไม่พบตำบล',
relationHQNotFound: 'ไม่พบสำนักงานใหญ่',
relationCustomerNotFound: 'ไม่พบลูกค้า',
relationCustomerBranchNotFound: 'ไม่พบสาขาลูกค้า',
};

View file

@ -48,6 +48,7 @@ export default {
customerNameTh: 'ชื่อบริษัท/นิติบุคคล (ไทย)',
customerNameEn: 'ชื่อบริษัท/นิติบุคคล (อังกฤษ)',
customerBranchName: 'ชื่อบริษัท/นิติบุคคล',
officeType: '',

View file

@ -109,7 +109,7 @@ export default {
// Customer
formDialogEmployerID: 'รหัสนายจ้าง',
formDialogEmployerBranchCode: 'รหัสสาขานายจ้าง',
formDialogEmployerBranchCode: 'รหัสนายจ้าง',
formDialogEmployeeID: 'รหัสลูกจ้าง',
formDialogEmployeeNRCNo: 'เลขบัตรประจำตัวคนซึ่งไม่มีสัญชาติไทย (N.R.C. No.)',

View file

@ -45,6 +45,8 @@ export default {
detail: 'รายละเอียด',
add: 'เพิ่ม',
name: 'ชื่อ',
editPersonalInfo: 'แก้ไขข้อมูลส่วนตัว',
logout: 'ออกจากระบบ',
...status,
...main,
...address,