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

@ -118,10 +118,11 @@ function setActive(button: NotificationButton) {
function doLogout() {
dialog({
icon: 'mdi-logout-variant',
title: t('confirmLogoutTitle'),
title: t('dialog.title.confirmLogout'),
persistent: true,
color: 'negative',
message: t('confirmLogoutMessage'),
message: t('dialog.message.confirmLogout'),
actionText: t('general.logout'),
action: async () => {
logout();
},