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: {
productGroupNotFound: 'Product group cannot be found.',
productGroupInUsed: 'Product group is in used.',
productGroupIsUsed: 'Product group is in used.',
productNotFound: 'Product cannot be found.',
productInUsed: 'Product is in used.',
productIsUsed: 'Product is in used.',
productTypeNotFound: 'Product type 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.',
serviceNotFound: 'Service cannot be found.',
someProductBadReq: 'Some product not found.',
serviceInUsed: 'Service is in used.',
serviceIsUsed: 'Service is in used.',
workNotFound: 'Work cannot be found.',
workInUsed: 'Work is in used.',
workIsUsed: '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.',
branchIsUsed: '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.',
customerBranchIsUsed: 'Customer branch is in used.',
customerNotFound: 'Customer cannot be found.',
customerInUsed: 'Customer is in used.',
customerIsUsed: '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.',
employeeIsUsed: 'Employee is in used.',
someProvinceNotFound: 'Some province cannot be found.',
employeeOtherNotFound: 'Employee other info cannot be found.',
employeeWorkNotFound: 'Employee work cannot be found.',
@ -722,7 +722,7 @@ export default {
menuComponentNotFound: 'Menu component cannot be found.',
roleMenuNotFound: 'Role menu cannot be found.',
userNotFound: 'User cannot be found.',
userInUsed: 'User is in used.',
userIsUsed: 'User is in used.',
unknowHowToVerify: 'Unknown how to verify identity.',
noPermission:
'You do not have permission to access or perform with this resource.',

View file

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