refactor: change code

This commit is contained in:
Methapon Metanipat 2024-10-03 13:30:40 +07:00
parent dae29d980f
commit ce9768bb0c
2 changed files with 20 additions and 20 deletions

View file

@ -682,37 +682,37 @@ export default {
}, },
backend: { backend: {
productGroupNotFound: 'Product group cannot be found.', productGroupNotFound: 'Product group cannot be found.',
productGroupInUsed: 'Product group is in used.', productGroupIsUsed: 'Product group is in used.',
productNotFound: 'Product cannot be found.', productNotFound: 'Product cannot be found.',
productInUsed: 'Product is in used.', productIsUsed: 'Product is in used.',
productTypeNotFound: 'Product type cannot be found.', productTypeNotFound: 'Product type cannot be found.',
productGroupAssociatedBadReq: 'Product group associated cannot be found.', productGroupAssociatedBadReq: 'Product group associated cannot be found.',
productTypeInUsed: 'Product type is in used.', productTypeIsUsed: 'Product type is in used.',
productGroupBadReq: 'Product group cannot be found.', productGroupBadReq: 'Product group cannot be found.',
serviceNotFound: 'Service cannot be found.', serviceNotFound: 'Service cannot be found.',
someProductBadReq: 'Some product not found.', someProductBadReq: 'Some product not found.',
serviceInUsed: 'Service is in used.', serviceIsUsed: 'Service is in used.',
workNotFound: 'Work cannot be found.', workNotFound: 'Work cannot be found.',
workInUsed: 'Work is in used.', workIsUsed: 'Work is in used.',
branchContactNotFound: 'Branch contact cannot be found.', branchContactNotFound: 'Branch contact cannot be found.',
branchBadReq: 'Branch cannot be found.', branchBadReq: 'Branch cannot be found.',
branchNotFound: 'Branch cannot be found.', branchNotFound: 'Branch cannot be found.',
cantMakeHQAndBranchSameTime: cantMakeHQAndBranchSameTime:
'Cannot make this as headquaters and branch at the same time.', 'Cannot make this as headquaters and branch at the same time.',
branchInUsed: 'Branch is in used.', branchIsUsed: 'Branch is in used.',
oneOrMoreUserBadReq: 'One or more user cannot be found.', oneOrMoreUserBadReq: 'One or more user cannot be found.',
oneOrMoreBranchBadReq: 'One or more branch cannot be found.', oneOrMoreBranchBadReq: 'One or more branch cannot be found.',
customerBranchNotFound: 'Customer branch cannot be found.', customerBranchNotFound: 'Customer branch cannot be found.',
customerBranchInUsed: 'Customer branch is in used.', customerBranchIsUsed: 'Customer branch is in used.',
customerNotFound: 'Customer cannot be found.', customerNotFound: 'Customer cannot be found.',
customerInUsed: 'Customer is in used.', customerIsUsed: 'Customer is in used.',
oneOrMoreBranchMissing: oneOrMoreBranchMissing:
'One or more branch cannot be delete and is missing.', 'One or more branch cannot be delete and is missing.',
employeeCheckupNotFound: 'Employee checkup cannot be found.', employeeCheckupNotFound: 'Employee checkup cannot be found.',
provinceNotFound: 'Province cannot be found.', provinceNotFound: 'Province cannot be found.',
employeeNotFound: 'Employee cannot be found.', employeeNotFound: 'Employee cannot be found.',
employeeBadReq: 'Employee cannot be found.', employeeBadReq: 'Employee cannot be found.',
employeeInUsed: 'Employee is in used.', employeeIsUsed: 'Employee is in used.',
someProvinceNotFound: 'Some province cannot be found.', someProvinceNotFound: 'Some province cannot be found.',
employeeOtherNotFound: 'Employee other info cannot be found.', employeeOtherNotFound: 'Employee other info cannot be found.',
employeeWorkNotFound: 'Employee work cannot be found.', employeeWorkNotFound: 'Employee work cannot be found.',
@ -722,7 +722,7 @@ export default {
menuComponentNotFound: 'Menu component cannot be found.', menuComponentNotFound: 'Menu component cannot be found.',
roleMenuNotFound: 'Role menu cannot be found.', roleMenuNotFound: 'Role menu cannot be found.',
userNotFound: 'User cannot be found.', userNotFound: 'User cannot be found.',
userInUsed: 'User is in used.', userIsUsed: 'User is in used.',
unknowHowToVerify: 'Unknown how to verify identity.', unknowHowToVerify: 'Unknown how to verify identity.',
noPermission: noPermission:
'You do not have permission to access or perform with this resource.', 'You do not have permission to access or perform with this resource.',

View file

@ -680,36 +680,36 @@ export default {
}, },
backend: { backend: {
productGroupNotFound: 'ไม่พบกลุ่มสินค้าและบริการ', productGroupNotFound: 'ไม่พบกลุ่มสินค้าและบริการ',
productGroupInUsed: 'กลุ่มสินค้าและบริการที่ใช้งานอยู่', productGroupIsUsed: 'กลุ่มสินค้าและบริการที่ใช้งานอยู่',
productNotFound: 'ไม่พบสินค้าและบริการ', productNotFound: 'ไม่พบสินค้าและบริการ',
productInUsed: 'สินค้าและบริการใช้งานอยู่', productIsUsed: 'สินค้าและบริการใช้งานอยู่',
productTypeNotFound: 'ไม่พบประเภทสินค้าและบริการ', productTypeNotFound: 'ไม่พบประเภทสินค้าและบริการ',
productGroupAssociatedBadReq: 'ไม่พบกลุ่มสินค้าและบริการที่เกี่ยวข้อง', productGroupAssociatedBadReq: 'ไม่พบกลุ่มสินค้าและบริการที่เกี่ยวข้อง',
productTypeInUsed: 'ประเภทสินค้าและบริการใช้งานอยู่', productTypeIsUsed: 'ประเภทสินค้าและบริการใช้งานอยู่',
productGroupBadReq: 'ไม่พบกลุ่มสินค้าและบริการ', productGroupBadReq: 'ไม่พบกลุ่มสินค้าและบริการ',
serviceNotFound: 'ไม่พบบริการ', serviceNotFound: 'ไม่พบบริการ',
someProductBadReq: 'ไม่พบสินค้าและบริการบางส่วน', someProductBadReq: 'ไม่พบสินค้าและบริการบางส่วน',
serviceInUsed: 'บริการใช้งานอยู่', serviceIsUsed: 'บริการใช้งานอยู่',
workNotFound: 'ไม่พบงาน', workNotFound: 'ไม่พบงาน',
workInUsed: 'งานที่ใช้งานอยู่', workIsUsed: 'งานที่ใช้งานอยู่',
branchContactNotFound: 'ไม่พบผู้ติดต่อสาขา', branchContactNotFound: 'ไม่พบผู้ติดต่อสาขา',
branchBadReq: 'ไม่พบสาขา', branchBadReq: 'ไม่พบสาขา',
branchNotFound: 'ไม่พบสาขา', branchNotFound: 'ไม่พบสาขา',
cantMakeHQAndBranchSameTime: cantMakeHQAndBranchSameTime:
'ไม่สามารถทำให้เป็นสำนักงานใหญ่และสาขาพร้อมกันได้', 'ไม่สามารถทำให้เป็นสำนักงานใหญ่และสาขาพร้อมกันได้',
branchInUsed: 'สาขาใช้งานอยู่', branchIsUsed: 'สาขาใช้งานอยู่',
oneOrMoreUserBadReq: 'ไม่พบผู้ใช้หนึ่งคนหรือมากกว่า', oneOrMoreUserBadReq: 'ไม่พบผู้ใช้หนึ่งคนหรือมากกว่า',
oneOrMoreBranchBadReq: 'ไม่พบสาขาหนึ่งสาขาหรือมากกว่า', oneOrMoreBranchBadReq: 'ไม่พบสาขาหนึ่งสาขาหรือมากกว่า',
customerBranchNotFound: 'ไม่พบสาขาลูกค้า', customerBranchNotFound: 'ไม่พบสาขาลูกค้า',
customerBranchInUsed: 'สาขาลูกค้าที่ใช้งานอยู่', customerBranchIsUsed: 'สาขาลูกค้าที่ใช้งานอยู่',
customerNotFound: 'ไม่พบลูกค้า', customerNotFound: 'ไม่พบลูกค้า',
customerInUsed: 'ลูกค้าใช้งานอยู่', customerIsUsed: 'ลูกค้าใช้งานอยู่',
oneOrMoreBranchMissing: 'ไม่สามารถลบสาขาหนึ่งหรือมากกว่าได้และสูญหาย', oneOrMoreBranchMissing: 'ไม่สามารถลบสาขาหนึ่งหรือมากกว่าได้และสูญหาย',
employeeCheckupNotFound: 'ไม่พบการตรวจสอบพนักงาน', employeeCheckupNotFound: 'ไม่พบการตรวจสอบพนักงาน',
provinceNotFound: 'ไม่พบจังหวัด', provinceNotFound: 'ไม่พบจังหวัด',
employeeNotFound: 'ไม่พบพนักงาน', employeeNotFound: 'ไม่พบพนักงาน',
employeeBadReq: 'ไม่พบพนักงาน', employeeBadReq: 'ไม่พบพนักงาน',
employeeInUsed: 'พนักงานใช้งานอยู่', employeeIsUsed: 'พนักงานใช้งานอยู่',
someProvinceNotFound: 'ไม่พบจังหวัดบางส่วน', someProvinceNotFound: 'ไม่พบจังหวัดบางส่วน',
employeeOtherNotFound: 'ไม่พบข้อมูลอื่นของพนักงาน', employeeOtherNotFound: 'ไม่พบข้อมูลอื่นของพนักงาน',
employeeWorkNotFound: 'ไม่พบงานของพนักงาน', employeeWorkNotFound: 'ไม่พบงานของพนักงาน',
@ -719,7 +719,7 @@ export default {
menuComponentNotFound: 'ไม่พบส่วนประกอบเมนู', menuComponentNotFound: 'ไม่พบส่วนประกอบเมนู',
roleMenuNotFound: 'ไม่พบเมนูบทบาท', roleMenuNotFound: 'ไม่พบเมนูบทบาท',
userNotFound: 'ไม่พบผู้ใช้', userNotFound: 'ไม่พบผู้ใช้',
userInUsed: 'ผู้ใช้ใช้งานอยู่', userIsUsed: 'ผู้ใช้ใช้งานอยู่',
unknowHowToVerify: 'ไม่ทราบวิธียืนยันตัวตน', unknowHowToVerify: 'ไม่ทราบวิธียืนยันตัวตน',
noPermission: 'คุณไม่มีสิทธิในการเข้าถึงหรือดำเนินการใดๆ กับข้อมูลนี้', noPermission: 'คุณไม่มีสิทธิในการเข้าถึงหรือดำเนินการใดๆ กับข้อมูลนี้',
noPermissionToAccess: 'คุณไม่มีสิทธิในการเข้าถึงข้อมูลนี้', noPermissionToAccess: 'คุณไม่มีสิทธิในการเข้าถึงข้อมูลนี้',