fix: update i18n warning messages for unsaved actions

This commit is contained in:
puriphatt 2025-01-06 16:44:27 +07:00
parent 26a8761d33
commit 2aa397678d
3 changed files with 4 additions and 4 deletions

View file

@ -1002,8 +1002,8 @@ export default {
'Employee is under 15 years old, cannot record information.',
youngWorker18: 'Employees under the age of 18, do you wish to proceed?',
confirmLogout: 'Do you want to Logout?',
headquartersNotEstablished: 'Headoffice not established',
warningClose: 'Incomplte edit data, Do you want to close?',
headquartersNotEstablished: 'Head office not established',
warningClose: 'There are unsaved actions. Do you want to close?',
close: 'Do you want to close this window?',
confirmChangeStatus: 'Do you want to change your status?',
confirmSavingStatus:

View file

@ -989,7 +989,7 @@ export default {
youngWorker18: 'ลูกจ้างอายุต่ำกว่า 18 ปี คุณต้องการจะดำเนินการต่อหรือไม่',
confirmLogout: 'คุณต้องการออกจากระบบใช่หรือไม่',
headquartersNotEstablished: 'ยังไม่ได้สร้างสำนักงานใหญ่',
warningClose: 'มีการแก้ไขที่ยังไม่ได้บันทึก คุณต้องการปิดใช่หรือไม่',
warningClose: 'มีการดำเนินการที่ยังไม่ได้บันทึก คุณต้องการปิดใช่หรือไม่',
warningSelectDeliveryStaff: 'คุณยังไม่ได้เลือกพนักงานส่งเอกสาร',
close: 'คุณต้องการปิดหน้าต่างนี้ใช่หรือไม่',
confirmChangeStatus: 'คุณต้องการเปลี่ยนสถานะใช่หรือไม่',

View file

@ -61,7 +61,7 @@ export function dialogWarningClose(
color: 'warning',
icon: 'mdi-alert',
title: t('form.warning.title'),
actionText: t('dialog.action.ok'),
actionText: t('dialog.action.close'),
message: opts.message || t('dialog.message.warningClose'),
action: async () => {
if (opts.action) opts.action();