fix: i18n & work name before close

This commit is contained in:
puriphatt 2024-08-28 18:05:01 +07:00
parent 17289402fd
commit 185a713ad1
7 changed files with 64 additions and 31 deletions

View file

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