feat: update i18n from backend

This commit is contained in:
puriphatt 2025-02-10 14:05:11 +07:00
parent 9d9a955298
commit 88d2d21476
2 changed files with 167 additions and 76 deletions

View file

@ -1057,65 +1057,102 @@ export default {
cancel: 'Cancel', cancel: 'Cancel',
}, },
backend: { backend: {
productGroupNotFound: 'Product group cannot be found.',
productGroupIsUsed: 'Product group is in used.',
productNotFound: 'Product cannot be found.',
productIsUsed: 'Product is in used.',
productTypeNotFound: 'Product type cannot be found.',
productGroupAssociatedBadReq: 'Product group associated cannot be found.', productGroupAssociatedBadReq: 'Product group associated cannot be found.',
productTypeIsUsed: 'Product type is in used.',
productGroupBadReq: 'Product group cannot be found.', productGroupBadReq: 'Product group cannot be found.',
serviceNotFound: 'Service cannot be found.',
someProductBadReq: 'Some product not found.', someProductBadReq: 'Some product not found.',
serviceIsUsed: 'Service is in used.',
workNotFound: 'Work cannot be found.',
workIsUsed: 'Work is in used.',
branchContactNotFound: 'Branch contact cannot be found.',
branchBadReq: 'Branch 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.',
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.', employeeBadReq: 'Employee cannot be found.',
customerBranchIsUsed: 'Customer branch is in used.', parentMenuBadReq: 'Parent menu not found.',
customerNotFound: 'Customer cannot be found.', menuBadReq: 'Menu cannot be found.',
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.', cantMakeHQAndBranchSameTime:
provinceNotFound: 'Province cannot be found.', 'Cannot make this as headquaters and branch at the same time.',
employeeNotFound: 'Employee cannot be found.',
employeeBadReq: 'Employee cannot be found.',
employeeIsUsed: '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.',
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.',
noPermissionToAccess: noPermissionToAccess:
'You do not have permission to access or perform with this resource.', 'You do not have permission to access or perform with this resource.',
relationProvinceNotFound: 'Province cannot be found.', relationProvinceNotFound: 'Province cannot be found.',
relationDistrictNotFound: 'District cannot be found.', relationDistrictNotFound: 'District cannot be found.',
relationSubDistrictNotFound: 'Sub-district cannot be found.', relationSubDistrictNotFound: 'Sub-district cannot be found.',
relationHQNotFound: 'Headquarters cannot be found.', relationHQNotFound: 'Headquarters cannot be found.',
relationBranchNotFound: 'Branch cannot be found.',
relationCustomerNotFound: 'Customer cannot be found.', relationCustomerNotFound: 'Customer cannot be found.',
relationCustomerBranchNotFound: 'Customer Branch cannot be found.', relationCustomerBranchNotFound: 'Customer Branch cannot be found.',
relationUserNotFound: 'User cannot be found.',
relationProductGroupNotFound: 'Product group cannot be found.',
relationProductTypeNotFound: 'Product type cannot be found.',
relationServiceNotFound: 'Service cannot be found.',
relationProductNotFound: 'Product cannot be found.',
relationQuotationNotFound: 'Quotation cannot be found.',
relationWorkerNotFound: 'Worker cannot be found.',
relationWorkNotFound: 'Work cannot be found.',
dataNotFound: 'Data not found.',
employmentOfficeNotFound: 'Employment office not found.',
branchNotFound: 'Branch cannot be found.',
productGroupNotFound: 'Product group cannot be found.',
productNotFound: 'Product cannot be found.',
productTypeNotFound: 'Product type cannot be found.',
serviceNotFound: 'Service cannot be found.',
workNotFound: 'Work cannot be found.',
branchContactNotFound: 'Branch contact cannot be found.',
customerBranchNotFound: 'Customer branch cannot be found.',
customerNotFound: 'Customer cannot be found.',
employeeCheckupNotFound: 'Employee checkup cannot be found.',
provinceNotFound: 'Province cannot be found.',
employeeNotFound: 'Employee cannot be found.',
someProvinceNotFound: 'Some province cannot be found.',
employeeOtherNotFound: 'Employee other info cannot be found.',
employeeWorkNotFound: 'Employee work cannot be found.',
menuNotFound: 'Menu cannot be found.',
menuComponentNotFound: 'Menu component cannot be found.',
roleMenuNotFound: 'Role menu cannot be found.',
userNotFound: 'User cannot be found.',
flowTemplateNotFound: 'Workflow template cannot be found.',
taskOrderNotFound: 'Task order cannot be found.',
quotationNotFound: 'Quotation cannot be found.',
citizenNotFound: 'Citizen cannot be found.',
employeeOtherInfoNotFound: 'Employee other info cannot be found.',
passportNotFound: 'Passport cannot be found.',
visaNotFound: 'Visa cannot be found.',
workflowNotFound: 'Workflow cannot be found.',
institutionNotFound: 'Agencies cannot be found.',
invoiceNotFound: 'Invoice cannot be found.',
receiptNotFound: 'Receipt cannot be found.',
paymentNotFound: 'Payment cannot be found.',
requestDataNotFound: 'Request data cannot be found.',
requestWorkNotFound: 'Request work cannot be found.',
taskListNotFound: 'Task list cannot be found.',
creditNoteNotFound: 'Credit note cannot be found.',
debitNoteNotFound: 'Debit note cannot be found.',
productGroupIsUsed: 'Product group is in used.',
productIsUsed: 'Product is in used.',
productTypeIsUsed: 'Product type is in used.',
serviceIsUsed: 'Service is in used.',
workIsUsed: 'Work is in used.',
branchIsUsed: 'Branch is in used.',
customerBranchIsUsed: 'Customer branch is in used.',
customerIsUsed: 'Customer is in used.',
employeeIsUsed: 'Employee is in used.',
userIsUsed: 'User is in used.',
institutionIsUsed: 'Agencies is in used.',
quotationIsUsed: 'Quotation is in used.',
debitNoteIsUsed: 'Debit note is in used.',
sameBranchCodeExists: 'This Head Office Abbreviation is already in use.', sameBranchCodeExists: 'This Head Office Abbreviation is already in use.',
productNameExists: productNameExists:
'Product with the same name already exists. If you want to create with this name please select another code.', 'Product with the same name already exists. If you want to create with this name please select another code.',
userExists: 'User already exits.',
sameNameExists: 'Same name exists.',
validateError: 'Validate Error', validateError: 'Validate Error',
codeMisMatch: 'Code Mismatch', codeMisMatch: 'Code Mismatch',
userExists: 'User already exits.',
crossCompanyNotPermit: 'Cannot move between different headoffice', crossCompanyNotPermit: 'Cannot move between different headoffice',
errorOccure: errorOccure:
'An error has occurred, causing the system to be unable to function. Please try again later.', 'An error has occurred, causing the system to be unable to function. Please try again later.',
@ -1123,11 +1160,19 @@ export default {
authFailed: 'Authentication Failed. Please try again later. ', authFailed: 'Authentication Failed. Please try again later. ',
installmentsValidateFailed: installmentsValidateFailed:
'Validation failed. Each installment must include at least one product. Please review and update the installments accordingly.', 'Validation failed. Each installment must include at least one product. Please review and update the installments accordingly.',
flowTemplateNotFound: 'Workflow template cannot be found.',
taskOrderNotFound: 'Task order cannot be found.',
quotationNotFound: 'Quotation cannot be found.',
sameNameExists: 'Same name exists.',
requestWorkMustReady: 'Request work must ready.', requestWorkMustReady: 'Request work must ready.',
notValidImage: 'Not a valid image.',
minimumBranchNotMet: 'Require at least one branch for a user.',
requireOneMinBranch: 'Require at least one branch as headoffice.',
reqMinAffilatedBranch:
'You must be affilated with at least one branch or specify branch to be registered (System permission required).',
paymentNotSuccess: 'Payment not success.',
flowAccountError: 'FlowAccount error.',
InvoiceReceiptIssueFailed: 'Failed to issue invoice/receipt document.',
QuotationWorkerExceed: 'Worker exceed current quotation max worker.',
taskListNotPending: 'One or more task is not pending.',
reqNotMet: 'Not Match',
}, },
}, },

View file

@ -1041,62 +1041,99 @@ export default {
cancel: 'ยกเลิก', cancel: 'ยกเลิก',
}, },
backend: { backend: {
productGroupNotFound: 'ไม่พบกลุ่มสินค้าและบริการ',
productGroupIsUsed: 'กลุ่มสินค้าและบริการที่ใช้งานอยู่',
productNotFound: 'ไม่พบสินค้าและบริการ',
productIsUsed: 'สินค้าและบริการใช้งานอยู่',
productTypeNotFound: 'ไม่พบประเภทสินค้าและบริการ',
productGroupAssociatedBadReq: 'ไม่พบกลุ่มสินค้าและบริการที่เกี่ยวข้อง', productGroupAssociatedBadReq: 'ไม่พบกลุ่มสินค้าและบริการที่เกี่ยวข้อง',
productTypeIsUsed: 'ประเภทสินค้าและบริการใช้งานอยู่',
productGroupBadReq: 'ไม่พบกลุ่มสินค้าและบริการ', productGroupBadReq: 'ไม่พบกลุ่มสินค้าและบริการ',
serviceNotFound: 'ไม่พบบริการ',
someProductBadReq: 'ไม่พบสินค้าและบริการบางส่วน', someProductBadReq: 'ไม่พบสินค้าและบริการบางส่วน',
serviceIsUsed: 'บริการใช้งานอยู่',
workNotFound: 'ไม่พบงาน',
workIsUsed: 'งานที่ใช้งานอยู่',
branchContactNotFound: 'ไม่พบผู้ติดต่อสาขา',
branchBadReq: 'ไม่พบสาขา', branchBadReq: 'ไม่พบสาขา',
branchNotFound: 'ไม่พบสาขา',
cantMakeHQAndBranchSameTime:
'ไม่สามารถทำให้เป็นสำนักงานใหญ่และสาขาพร้อมกันได้',
branchIsUsed: 'สาขาใช้งานอยู่',
oneOrMoreUserBadReq: 'ไม่พบผู้ใช้หนึ่งคนหรือมากกว่า', oneOrMoreUserBadReq: 'ไม่พบผู้ใช้หนึ่งคนหรือมากกว่า',
oneOrMoreBranchBadReq: 'ไม่พบสาขาหนึ่งสาขาหรือมากกว่า', oneOrMoreBranchBadReq: 'ไม่พบสาขาหนึ่งสาขาหรือมากกว่า',
customerBranchNotFound: 'ไม่พบสาขาลูกค้า',
customerBranchIsUsed: 'สาขาลูกค้าที่ใช้งานอยู่',
customerNotFound: 'ไม่พบลูกค้า',
customerIsUsed: 'ลูกค้าใช้งานอยู่',
oneOrMoreBranchMissing: 'ไม่สามารถลบสาขาหนึ่งหรือมากกว่าได้และสูญหาย',
employeeCheckupNotFound: 'ไม่พบการตรวจสอบพนักงาน',
provinceNotFound: 'ไม่พบจังหวัด',
employeeNotFound: 'ไม่พบพนักงาน',
employeeBadReq: 'ไม่พบพนักงาน', employeeBadReq: 'ไม่พบพนักงาน',
employeeIsUsed: 'พนักงานใช้งานอยู่',
someProvinceNotFound: 'ไม่พบจังหวัดบางส่วน',
employeeOtherNotFound: 'ไม่พบข้อมูลอื่นของพนักงาน',
employeeWorkNotFound: 'ไม่พบงานของพนักงาน',
parentMenuBadReq: 'ไม่พบเมนูหลัก', parentMenuBadReq: 'ไม่พบเมนูหลัก',
menuNotFound: 'ไม่พบเมนู',
menuBadReq: 'ไม่พบเมนู', menuBadReq: 'ไม่พบเมนู',
menuComponentNotFound: 'ไม่พบส่วนประกอบเมนู', oneOrMoreBranchMissing: 'ไม่สามารถลบสาขาหนึ่งหรือมากกว่าได้และสูญหาย',
roleMenuNotFound: 'ไม่พบเมนูบทบาท', cantMakeHQAndBranchSameTime:
userNotFound: 'ไม่พบผู้ใช้', 'ไม่สามารถทำให้เป็นสำนักงานใหญ่และสาขาพร้อมกันได้',
userIsUsed: 'ผู้ใช้ใช้งานอยู่',
unknowHowToVerify: 'ไม่ทราบวิธียืนยันตัวตน', unknowHowToVerify: 'ไม่ทราบวิธียืนยันตัวตน',
noPermission: 'คุณไม่มีสิทธิในการเข้าถึงหรือดำเนินการใดๆ กับข้อมูลนี้', noPermission: 'คุณไม่มีสิทธิในการเข้าถึงหรือดำเนินการใดๆ กับข้อมูลนี้',
noPermissionToAccess: 'คุณไม่มีสิทธิในการเข้าถึงข้อมูลนี้', noPermissionToAccess: 'คุณไม่มีสิทธิในการเข้าถึงข้อมูลนี้',
relationProvinceNotFound: 'ไม่พบจังหวัด', relationProvinceNotFound: 'ไม่พบจังหวัด',
relationDistrictNotFound: 'ไม่พบอำเภอ', relationDistrictNotFound: 'ไม่พบอำเภอ',
relationSubDistrictNotFound: 'ไม่พบตำบล', relationSubDistrictNotFound: 'ไม่พบตำบล',
relationHQNotFound: 'ไม่พบสำนักงานใหญ่', relationHQNotFound: 'ไม่พบสำนักงานใหญ่',
relationBranchNotFound: 'ไม่พบสาขา',
relationCustomerNotFound: 'ไม่พบลูกค้า', relationCustomerNotFound: 'ไม่พบลูกค้า',
relationCustomerBranchNotFound: 'ไม่พบสาขาลูกค้า', relationCustomerBranchNotFound: 'ไม่พบสาขาลูกค้า',
relationUserNotFound: 'ไม่พบผู้ใช้',
relationProductGroupNotFound: 'ไม่พบกลุ่มสินค้า',
relationProductTypeNotFound: 'ไม่พบประเภทสินค้า',
relationServiceNotFound: 'ไม่พบบริการ',
relationProductNotFound: 'ไม่พบสินค้า',
relationQuotationNotFound: 'ไม่พบใบเสนอราคา',
relationWorkerNotFound: 'ไม่พบแรงงาน',
relationWorkNotFound: 'ไม่พบงาน',
dataNotFound: 'ไม่พบข้อมูล',
employmentOfficeNotFound: 'ไม่พบสำนักงานจัดหางาน',
branchNotFound: 'ไม่พบสาขา',
productGroupNotFound: 'ไม่พบกลุ่มสินค้าและบริการ',
productNotFound: 'ไม่พบสินค้าและบริการ',
productTypeNotFound: 'ไม่พบประเภทสินค้าและบริการ',
serviceNotFound: 'ไม่พบบริการ',
workNotFound: 'ไม่พบงาน',
branchContactNotFound: 'ไม่พบผู้ติดต่อสาขา',
customerBranchNotFound: 'ไม่พบสาขาลูกค้า',
customerNotFound: 'ไม่พบลูกค้า',
employeeCheckupNotFound: 'ไม่พบการตรวจสอบพนักงาน',
provinceNotFound: 'ไม่พบจังหวัด',
employeeNotFound: 'ไม่พบพนักงาน',
someProvinceNotFound: 'ไม่พบจังหวัดบางส่วน',
employeeOtherNotFound: 'ไม่พบข้อมูลอื่นของพนักงาน',
employeeWorkNotFound: 'ไม่พบงานของพนักงาน',
menuNotFound: 'ไม่พบเมนู',
menuComponentNotFound: 'ไม่พบส่วนประกอบเมนู',
roleMenuNotFound: 'ไม่พบเมนูสิทธิ์',
userNotFound: 'ไม่พบผู้ใช้',
flowTemplateNotFound: 'ไม่พบขั้นตอนการทำงาน',
taskOrderNotFound: 'ไม่พบใบสั่งงาน',
quotationNotFound: 'ไม่พบใบเสนอราคา',
citizenNotFound: 'ไม่พบข้อมูลพลเมือง',
employeeOtherInfoNotFound: 'ไม่พบข้อมูลอื่น ๆ ของพนักงาน',
passportNotFound: 'ไม่พบหนังสือเดินทาง',
visaNotFound: 'ไม่พบวีซ่า',
workflowNotFound: 'ไม่พบขั้นตอนการทำงาน',
institutionNotFound: 'ไม่พบหน่วยงาน',
invoiceNotFound: 'ไม่พบใบแจ้งหนี้',
receiptNotFound: 'ไม่พบใบเสร็จรับเงิน',
paymentNotFound: 'ไม่พบการชำระเงิน',
requestDataNotFound: 'ไม่พบใบรายการคำขอ',
requestWorkNotFound: 'ไม่พบรายการคำขอ',
taskListNotFound: 'ไม่พบใบสั่งงาน',
creditNoteNotFound: 'ไม่พบใบลดหนี้',
debitNoteNotFound: 'ไม่พบใบเพิ่มหนี้',
productGroupIsUsed: 'กลุ่มสินค้าและบริการที่ใช้งานอยู่',
productIsUsed: 'สินค้าและบริการใช้งานอยู่',
productTypeIsUsed: 'ประเภทสินค้าและบริการใช้งานอยู่',
serviceIsUsed: 'บริการใช้งานอยู่',
workIsUsed: 'งานที่ใช้งานอยู่',
branchIsUsed: 'สาขาใช้งานอยู่',
customerBranchIsUsed: 'สาขาลูกค้าที่ใช้งานอยู่',
customerIsUsed: 'ลูกค้าใช้งานอยู่',
employeeIsUsed: 'พนักงานใช้งานอยู่',
userIsUsed: 'ผู้ใช้ใช้งานอยู่',
institutionIsUsed: 'หน่วยงานใช้งานอยู่.',
quotationIsUsed: 'ใบเสนอราคาใช้งานอยู่.',
debitNoteIsUsed: 'ใบเพิ่มหนี้ใช้งานอยู่.',
sameBranchCodeExists: 'ตัวย่อสำนักงานใหญ่นี้ถูกใช้แล้ว', sameBranchCodeExists: 'ตัวย่อสำนักงานใหญ่นี้ถูกใช้แล้ว',
productNameExists: productNameExists:
'สินค้าที่มีชื่อเดียวกันมีในระบบแล้ว หากคุณต้องการสร้างด้วยชื่อนี้โปรดเลือกรหัสอื่น', 'สินค้าที่มีชื่อเดียวกันมีในระบบแล้ว หากคุณต้องการสร้างด้วยชื่อนี้โปรดเลือกรหัสอื่น',
userExists: 'ชื่อผู้ใช้นี้มีอยู่ในระบบอยู่แล้ว',
sameNameExists: 'ชื่อนี้ถูกใช้ไปแล้ว',
validateError: 'เกิดข้อผิดพลาดจากการตรวจสอบ', validateError: 'เกิดข้อผิดพลาดจากการตรวจสอบ',
codeMisMatch: 'รหัสไม่ตรงกัน', codeMisMatch: 'รหัสไม่ตรงกัน',
userExists: 'ชื่อผู้ใช้นี้มีอยู่ในระบบอยู่แล้ว',
crossCompanyNotPermit: 'ไม่สามารถดำเนินการระหว่างสำนักงานใหญ่อื่นได้', crossCompanyNotPermit: 'ไม่สามารถดำเนินการระหว่างสำนักงานใหญ่อื่นได้',
errorOccure: errorOccure:
'เกิดข้อผิดพลาดทำให้ระบบไม่สามารถทำงานได้ กรุณาลองใหม่ในภายหลัง', 'เกิดข้อผิดพลาดทำให้ระบบไม่สามารถทำงานได้ กรุณาลองใหม่ในภายหลัง',
@ -1104,11 +1141,20 @@ export default {
authFailed: 'การยืนยันตัวตนล้มเหลว กรุณาลองใหม่ในภายหลัง', authFailed: 'การยืนยันตัวตนล้มเหลว กรุณาลองใหม่ในภายหลัง',
installmentsValidateFailed: installmentsValidateFailed:
'ข้อมูลงวดไม่ถูกต้อง กรุณาตรวจสอบและยืนยันว่าแต่ละงวดมีสินค้าอย่างน้อยหนึ่งรายการ', 'ข้อมูลงวดไม่ถูกต้อง กรุณาตรวจสอบและยืนยันว่าแต่ละงวดมีสินค้าอย่างน้อยหนึ่งรายการ',
flowTemplateNotFound: 'ไม่พบขั้นตอนการทำงาน',
taskOrderNotFound: 'ไม่พบใบสั่งงาน',
quotationNotFound: 'ไม่พบใบเสนอราคา',
sameNameExists: 'ชื่อนี้ถูกใช้ไปแล้ว',
requestWorkMustReady: 'ใบรายการคำขอต้องพร้อมดำเนินการ', requestWorkMustReady: 'ใบรายการคำขอต้องพร้อมดำเนินการ',
notValidImage: 'รูปภาพไม่ถูกต้อง',
minimumBranchNotMet: 'ต้องมีอย่างน้อยหนึ่งสาขาสำหรับผู้ใช้',
requireOneMinBranch: 'ต้องมีอย่างน้อยหนึ่งสาขาเป็นสำนักงานใหญ่',
reqMinAffilatedBranch:
'คุณต้องมีสาขาที่เกี่ยวข้องอย่างน้อยหนึ่งสาขา หรือระบุสาขาที่จะลงทะเบียน (ต้องมีสิทธิ์ระบบ)',
paymentNotSuccess: 'การชำระเงินไม่สำเร็จ',
flowAccountError: 'เกิดข้อผิดพลาดใน FlowAccount',
InvoiceReceiptIssueFailed: 'ไม่สามารถออกใบแจ้งหนี้/ใบเสร็จรับเงินได้',
QuotationWorkerExceed: 'จำนวนพนักงานเกินขีดจำกัดสูงสุดของใบเสนอราคา',
taskListNotPending:
'มีงานหนึ่งงานหรือมากกว่าที่ไม่อยู่ในสถานะรอดำเนินการ',
reqNotMet: 'ไม่ตรงกัน',
}, },
}, },