diff --git a/src/main/menu.main.ts b/src/main/menu.main.ts index cb9278b7..ca270295 100644 --- a/src/main/menu.main.ts +++ b/src/main/menu.main.ts @@ -212,7 +212,8 @@ export class MenuMain { click: () => { const result = dialog.showMessageBox(this.main.windowMain.win, { title: this.main.i18nService.t('changeMasterPass'), - message: this.main.i18nService.t('changeMasterPasswordConfirmation'), + message: this.main.i18nService.t('changeMasterPass'), + detail: this.main.i18nService.t('changeMasterPasswordConfirmation'), buttons: [this.main.i18nService.t('yes'), this.main.i18nService.t('no')], cancelId: 1, defaultId: 0, @@ -229,7 +230,8 @@ export class MenuMain { click: () => { const result = dialog.showMessageBox(this.main.windowMain.win, { title: this.main.i18nService.t('changeEmail'), - message: this.main.i18nService.t('changeEmailConfirmation'), + message: this.main.i18nService.t('changeEmail'), + detail: this.main.i18nService.t('changeEmailConfirmation'), buttons: [this.main.i18nService.t('yes'), this.main.i18nService.t('no')], cancelId: 1, defaultId: 0, @@ -246,7 +248,8 @@ export class MenuMain { click: () => { const result = dialog.showMessageBox(this.main.windowMain.win, { title: this.main.i18nService.t('twoStepLogin'), - message: this.main.i18nService.t('twoStepLoginConfirmation'), + message: this.main.i18nService.t('twoStepLogin'), + detail: this.main.i18nService.t('twoStepLoginConfirmation'), buttons: [this.main.i18nService.t('yes'), this.main.i18nService.t('no')], cancelId: 1, defaultId: 0, @@ -264,7 +267,8 @@ export class MenuMain { click: () => { const result = dialog.showMessageBox(this.main.windowMain.win, { title: this.main.i18nService.t('logOut'), - message: this.main.i18nService.t('logOutConfirmation'), + message: this.main.i18nService.t('logOut'), + detail: this.main.i18nService.t('logOutConfirmation'), buttons: [this.main.i18nService.t('logOut'), this.main.i18nService.t('cancel')], cancelId: 1, defaultId: 0, diff --git a/src/services/desktopPlatformUtils.service.ts b/src/services/desktopPlatformUtils.service.ts index ba9d55be..35df4ed2 100644 --- a/src/services/desktopPlatformUtils.service.ts +++ b/src/services/desktopPlatformUtils.service.ts @@ -140,7 +140,8 @@ export class DesktopPlatformUtilsService implements PlatformUtilsService { const result = remote.dialog.showMessageBox(remote.getCurrentWindow(), { type: type, title: title, - message: text, + message: title, + detail: text, buttons: buttons, cancelId: buttons.length === 2 ? 1 : null, defaultId: 0,