fix: i18n & work name before close
This commit is contained in:
parent
17289402fd
commit
185a713ad1
7 changed files with 64 additions and 31 deletions
|
|
@ -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();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue