refactor(01): dialog before submit (abbreviation alert) & i18n

This commit is contained in:
puriphatt 2024-08-09 06:17:57 +00:00
parent 10a54647af
commit e38c76e7d3
6 changed files with 53 additions and 20 deletions

View file

@ -82,4 +82,6 @@ export default {
relationCustomerNotFound: 'Customer cannot be found.',
relationCustomerBranchNotFound: 'Customer Branch cannot be found.',
sameBranchCodeExists: 'This Head Office Abbreviation is already in use.',
};

View file

@ -110,6 +110,10 @@ export default {
unsave:
'You have unsaved changes. Are you sure you want to close this window?',
},
info: {
cantChange:
'The {field} cannot be changed later. Do you want to use "{name}"',
},
},
customer: {
employer: 'Employer',
@ -147,4 +151,7 @@ export default {
attachment: 'Attachment',
},
},
backend: {
sameBranchCodeExists: 'This Head Office Abbreviation is already in use.',
},
};

View file

@ -81,4 +81,6 @@ export default {
relationCustomerNotFound: 'ไม่พบลูกค้า',
relationCustomerBranchNotFound: 'ไม่พบสาขาลูกค้า',
sameBranchCodeExists: 'ตัวย่อสำนักงานใหญ่นี้ถูกใช้แล้ว',
};

View file

@ -111,6 +111,10 @@ export default {
unsave:
'คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก คุณต้องการปิดหน้าต่างนี้หรือไม่',
},
info: {
cantChange:
'{field} ไม่สามารถแก้ไขภายหลังได้ คุณต้องการใช้ "{name}" ใช่หรือไม่',
},
},
customer: {
employer: 'นายจ้าง',
@ -150,4 +154,7 @@ export default {
attachment: 'เอกสารเพิ่มเติม',
},
},
backend: {
sameBranchCodeExists: 'ตัวย่อสำนักงานใหญ่นี้ถูกใช้แล้ว',
},
};