diff --git a/package-lock.json b/package-lock.json index 6ca65c98..1214c06f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "marktext", - "version": "0.11.42", + "version": "0.12.25", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/main/actions/file.js b/src/main/actions/file.js index da5e2352..1aa255f6 100644 --- a/src/main/actions/file.js +++ b/src/main/actions/file.js @@ -66,7 +66,7 @@ const showUnsavedFilesMessage = (win, files) => { return new Promise((resolve, reject) => { dialog.showMessageBox(win, { type: 'warning', - buttons: ['Save', 'Cancel', 'Delete'], + buttons: ['Save', 'Cancel', 'Don\'t save'], defaultId: 0, message: `Do you want to save the changes you made to ${files.length} ${files.length === 1 ? 'file' : 'files'}?\n\n${files.map(f => f.filename).join('\n')}`, detail: `Your changes will be lost if you don't save them.`,