refactor: i18n

This commit is contained in:
puriphatt 2024-08-27 11:47:09 +07:00
parent ac9fb0501e
commit 4bccd91e1a

View file

@ -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();