From c6ff42f374ef416e569b61342c30750a6fac8f67 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Tue, 8 Aug 2023 15:48:31 +0100 Subject: [PATCH] Update shim-init-node.js --- packages/lib/shim-init-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/shim-init-node.js b/packages/lib/shim-init-node.js index 7f98e22fb..0bc6b8fec 100644 --- a/packages/lib/shim-init-node.js +++ b/packages/lib/shim-init-node.js @@ -208,7 +208,7 @@ function shimInit(options = null) { if (canResize) { if (resizeLargeImages === 'alwaysAsk') { const Yes = 0, No = 1, Cancel = 2; - const userAnswer = shim.showMessageBox(`${_('You are about to attach a large image (%dx%d pixels). Would you like to resize it down to %d pixels before attaching it?', size.width, size.height, maxDim)}\n\n${_('(You may this disable this prompt in the options)')}`, { + const userAnswer = shim.showMessageBox(`${_('You are about to attach a large image (%dx%d pixels). Would you like to resize it down to %d pixels before attaching it?', size.width, size.height, maxDim)}\n\n${_('(You may disable this prompt in the options)')}`, { buttons: [_('Yes'), _('No'), _('Cancel')], }); if (userAnswer === Yes) return await saveResizedImage();