diff --git a/README.md b/README.md index 762e8c48a..84b822282 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ extensions running locally block (by design) a lot of dynamic content such as in with some modern dynamic content, and in particular, it won't work with Zimit-based archives (if you open one of these in this mode, you will be thrown back to Restricted mode in order to view static content). However, this mode is useful if you cannot access the offline-first PWA, and should work with most official Kiwix ZIM archives; -- "Safe" mode prevents running attached scripts in the iframe, and so is useful for checking the contents of a ZIM before deciding it is safe +- "Restricted" mode prevents running attached scripts in the iframe, and so is useful for checking the contents of a ZIM before deciding it is safe to run. This mode also works in browsers that do not support Service Workers. It parses the DOM to find the HTML tags of the dependencies and modifies them to point to content we extract from the ZIM. This mode is compatible with any browser, but becuase it cannot run JavaScript inside the ZIM file, does not work well (if at all) with ZIMs that depend on dynamic content. If you open a dynamic (including Zimit) archive diff --git a/i18n/en.jsonp.js b/i18n/en.jsonp.js index b43e9c390..10b47472e 100644 --- a/i18n/en.jsonp.js +++ b/i18n/en.jsonp.js @@ -201,7 +201,7 @@ document.localeJson = { "dialog-sourceverification-alert": "Is this ZIM archive from a trusted source?\n If not, you can still read the ZIM file in Restricted Mode. Closing this window also opens the file in Restricted Mode. This option can be disabled in Expert Settings.", "dialog-sourceverification-title": "Security alert!", "dialog-sourceverification-trust-button": "Trust Source", - "dialog-sourceverification-safe-mode-button": "Open in Restricted Mode", + "dialog-sourceverification-restricted-mode-button": "Open in Restricted Mode", "dialog-unsupported-archivetype-message": "

You are attempting to open a Zimit-style archive, which is not supported by your browser in ServiceWorker(Local) mode.

We have temporarily switched you to Restricted mode so you can view static content, but a lot of content is non-functional in this configuration.

", "dialog-unsupported-archivetype-title": "Unsupported archive type!", "dialog-warning": "Warning", diff --git a/i18n/es.jsonp.js b/i18n/es.jsonp.js index c78571bd7..07e42a9e9 100644 --- a/i18n/es.jsonp.js +++ b/i18n/es.jsonp.js @@ -201,7 +201,7 @@ document.localeJson = { "dialog-sourceverification-alert": "¿Proviene este archivo ZIM de una fuente de confianza?\nDe no ser así, aún puede leer el archivo en modo Restringido. Al cerrar esta ventana también se abre el archivo en modo Restringido. Esta verificación puede desactivarse en Opciones avanzadas.", "dialog-sourceverification-title": "¡Alerta de seguridad!", "dialog-sourceverification-trust-button": "Fuente de confianza", - "dialog-sourceverification-safe-mode-button": "Abrir en modo Restringido", + "dialog-sourceverification-restricted-mode-button": "Abrir en modo Restringido", "dialog-unsupported-archivetype-message": "

Está intentando abrir un archivo Zimit, lo cual no es compatible con su navegador en modo ServiceWorker(Local).

Le hemos cambiado temporalmente al modo Restringido para que pueda ver el contenido estático, pero gran parte del contenido no es funcional con esta configuración.

", "dialog-unsupported-archivetype-title": "¡Tipo de archivo no compatible!", "dialog-warning": "¡Aviso!", diff --git a/i18n/fr.jsonp.js b/i18n/fr.jsonp.js index f101fda1b..0f6fec12c 100644 --- a/i18n/fr.jsonp.js +++ b/i18n/fr.jsonp.js @@ -201,7 +201,7 @@ document.localeJson = { "dialog-sourceverification-alert": "Cette archive ZIM provient-elle d'une source fiable ? Si ce n'est pas le cas, vous pouvez toujours lire le fichier ZIM en mode Restreint. La fermeture de cette fenêtre ouvre également le fichier en mode Restreint. Cette option peut être désactivée dans Options avancées.", "dialog-sourceverification-title": "Alerte de sécurité!", "dialog-sourceverification-trust-button": "Source de confiance", - "dialog-sourceverification-safe-mode-button": "Ouvrir en mode Restreint", + "dialog-sourceverification-restricted-mode-button": "Ouvrir en mode Restreint", "dialog-unsupported-archivetype-message": "

Vous essayez d'ouvrir une archive de type Zimit, ce qui n'est pas pris en charge par votre navigateur en mode ServiceWorker(Local).

Nous vous avons temporairement basculé en mode Restreint afin que vous puissiez afficher le contenu statique, mais une grande partie du contenu n'est pas fonctionnelle avec cette configuration.

", "dialog-unsupported-archivetype-title": "Type d'archive non pris en charge !", "dialog-warning": "Avertissement", diff --git a/www/js/app.js b/www/js/app.js index 0ab3ad532..029bcbf6d 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -699,7 +699,7 @@ async function verifyLoadedArchive (archive) { verificationBody.outerHTML, translateUI.t('dialog-sourceverification-title') || 'Security alert!', true, - translateUI.t('dialog-sourceverification-safe-mode-button') || 'Open in Restricted Mode', + translateUI.t('dialog-sourceverification-restricted-mode-button') || 'Open in Restricted Mode', translateUI.t('dialog-sourceverification-trust-button') || 'Trust Source' );