Add explanation for lack of option in NWJS

Former-commit-id: 84d5bd076216cada21e36d7d4c2515243dc3efef [formerly b79c7124616b207be219dc7ba3fbd2d546611c9c [formerly b1436240c91cffca126f19e99afaf5a011962993]]
Former-commit-id: bf49ba47022aeb3b825af49d654db107d4879346
Former-commit-id: 6a7ff10553ad74ac43fe9422662af9dae97d45d1
This commit is contained in:
Jaifroid 2021-09-05 23:57:17 +01:00
parent be39e18a9e
commit 4706ec3d17

View File

@ -1152,6 +1152,8 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett
if (this.checked) {
if (/UWP/.test(params.appType)) {
uiUtil.systemAlert('This option does not work in UWP apps. WORKAROUND: To save an image to disk, please select the "Add breakout link ..." option below, load the article you require, and export it to a browser window by clicking the breakout link. You will then be able to right-click or long-press images in the exported page and save them.');
} else if (window.nw) {
uiUtil.systemAlert('Unfortunately there is currently no way to save an image to disk in the NWJS version of this app. You can do this in the PWA version: please visit https://pwa.kiwix.org.');
} else if (params.contentInjectionMode === 'serviceworker') {
uiUtil.systemAlert('Please be aware that Image manipulation can interfere badly with non-Wikimedia ZIMs (particularly ZIMs that have active content). If you cannot access the articles in such a ZIM, please turn this setting off.');
} else if (/PWA/.test(params.appType)) {