refactor: i18n
This commit is contained in:
parent
ac9fb0501e
commit
4bccd91e1a
1 changed files with 3 additions and 3 deletions
|
|
@ -157,10 +157,10 @@ async function deleteBranchById(id: string) {
|
||||||
dialog({
|
dialog({
|
||||||
color: 'negative',
|
color: 'negative',
|
||||||
icon: 'mdi-alert',
|
icon: 'mdi-alert',
|
||||||
title: t('deleteConfirmTitle'),
|
title: t('dialog.title.confirmDelete'),
|
||||||
actionText: t('ok'),
|
actionText: t('general.delete'),
|
||||||
persistent: true,
|
persistent: true,
|
||||||
message: t('deleteConfirmMessage'),
|
message: t('dialog.message.confirmDelete'),
|
||||||
action: async () => {
|
action: async () => {
|
||||||
await customerStore.deleteBranchById(id);
|
await customerStore.deleteBranchById(id);
|
||||||
await fetchList();
|
await fetchList();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue