Simplify active content warning #1257 (#1269)

This commit is contained in:
Jaifroid 2024-07-11 21:26:28 +01:00 committed by GitHub
parent 3e7f5dba7e
commit 21cf33e9f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 15 deletions

View File

@ -279,10 +279,10 @@ document.localeJson = {
"about-other-clients": "Other Kiwix clients exist on various platforms such as desktop and mobile apps for Linux, Windows, Android and iOS. We also have an offline-first, fully featured PWA based on the code in Kiwix JS: <a href=\"https://pwa.kiwix.org\" target=\"_blank\">https://pwa.kiwix.org&nbsp;<img src=\"img/Icon_External_Link.png\" /></a>.",
"about-official-download": "See the official download site: <a href=\"https://www.kiwix.org/applications/\" target=\"_blank\">https://www.kiwix.org/applications/&nbsp;<img src=\"img/Icon_External_Link.png\" /></a>.",
"about-back-contents": "↑ Back to Contents",
"alert-activecontentwarning-title": "Unable to display active content:",
"alert-activecontentwarning-part1": "This ZIM is not fully supported in Restricted mode.<br />Content may be available by clicking search button above (or type a letter of the alphabet), or else",
"alert-activecontentwarning-title": "Warning: ",
"alert-activecontentwarning-part1": "You must ",
"alert-activecontentwarning-part2": "switch to ServiceWorker mode",
"alert-activecontentwarning-part3": "if your platform supports it.",
"alert-activecontentwarning-part3": " to view all content in this ZIM.<br />Some content may still be available by searching above (or tap the search icon for a list).",
"alert-activecontentwarning-part4": "Permanently hide",
"alert-update-version": "Version",
"alert-update-available": "is ready to install. (Re-launch app to install.)",

View File

@ -279,10 +279,10 @@ document.localeJson = {
"about-other-clients": "Otros clientes de Kiwix existen en varias plataformas como aplicaciones de escritorio y móviles para Linux, Windows, Android e iOS. También tenemos una PWA con muchas funciones adicionales, y que funciona sin necesidad de conexión a Internet, basada en el código de Kiwix JS: <a href=\"https://pwa.kiwix.org\" target=\"_blank\">https://pwa.kiwix.org&nbsp;<img src=\"img/Icon_External_Link.png\" /></a>.",
"about-official-download": "Vea el sitio oficial de descargas: <a href=\"https://www.kiwix.org/applications/\" target=\"_blank\">https://www.kiwix.org/applications/&nbsp;<img src=\"img/Icon_External_Link.png\" /></a>.",
"about-back-contents": "↑ Volver al Índice",
"alert-activecontentwarning-title": "No se puede mostrar contenido activo:",
"alert-activecontentwarning-part1": "Este ZIM no es totalmente compatible con el modo Restringido.<br />El contenido puede estar disponible haciendo clic en el botón de búsqueda arriba (o escribiendo una letra del alfabeto), o bien",
"alert-activecontentwarning-part2": "cambiando al modo ServiceWorker",
"alert-activecontentwarning-part3": "si su plataforma lo soporta.",
"alert-activecontentwarning-title": "¡Advertencia!",
"alert-activecontentwarning-part1": "Usted debe ",
"alert-activecontentwarning-part2": "cambiar al modo ServiceWorker",
"alert-activecontentwarning-part3": " para ver todo el contenido en este ZIM.<br />Algunos contenidos pueden estar disponibles mediante el campo de búsqueda arriba (o pulse el icono de búsqueda para ver una lista).",
"alert-activecontentwarning-part4": "Ocultar permanentemente",
"alert-update-version": "Versión",
"alert-update-available": "está lista para instalar. (Vuelva a iniciar la aplicación para instalarla.)",

View File

@ -279,10 +279,10 @@ document.localeJson = {
"about-other-clients": "D'autres clients Kiwix existent sur plusieurs plateformes, comme les applications de bureau et mobiles pour Linux, Windows, Android et iOS. Nous avons également une PWA avec de nombreuses fonctionnalités supplémentaires, qui fonctionne hors ligne, basée sur le code de Kiwix JS&nbsp;: <a href=\"https://pwa.kiwix.org\" target=\"_blank\">https://pwa.kiwix.org&nbsp;<img src=\"img/Icon_External_Link.png\" /></a>.",
"about-official-download": "Voir le site officiel de téléchargement&nbsp;: <a href=\"https://www.kiwix.org/applications/\" target=\"_blank\">https://www.kiwix.org/applications/&nbsp;<img src=\"img/Icon_External_Link.png\" /></a>.",
"about-back-contents": "↑ Retour à l'index",
"alert-activecontentwarning-title": "Impossible d'afficher le contenu actif&nbsp;:",
"alert-activecontentwarning-part1": "Ce ZIM n'est pas entièrement pris en charge en mode Restreint.<br />Le contenu peut être disponible en cliquant sur le bouton de recherche ci-dessus (ou en tapant une lettre de l'alphabet), ou bien",
"alert-activecontentwarning-part2": "en passant au mode ServiceWorker",
"alert-activecontentwarning-part3": "si votre plateforme le prend en charge.",
"alert-activecontentwarning-title": "Avertissement&nbsp;:",
"alert-activecontentwarning-part1": "Vous devez ",
"alert-activecontentwarning-part2": "passer au mode ServiceWorker",
"alert-activecontentwarning-part3": " pour voir tout le contenu de ce ZIM.<br />Certains contenus peuvent être disponibles en recherchant ci-dessus (ou en tapant sur l'icône de recherche pour obtenir une liste).",
"alert-activecontentwarning-part4": "Masquer en permanence",
"alert-update-version": "La version",
"alert-update-available": "est prête à être installée. (Relancez l'application pour installer.)",

View File

@ -782,11 +782,10 @@
<div id="alertBoxHeader">
<div id="activeContent" style="display:none;" class="kiwix-alert alert alert-warning alert-dismissible fade show">
<button type="button" class="close" data-hide="alert">&times;</button>
<strong data-i18n="alert-activecontentwarning-title">Unable to display active content:</strong>
<span data-i18n="alert-activecontentwarning-part1">This ZIM is not fully supported in Restricted mode.<br />
Content may be available by clicking search button above (or type a letter of the alphabet), or else</span>
<strong data-i18n="alert-activecontentwarning-title">Warning: </strong>
<span data-i18n="alert-activecontentwarning-part1">You must </span>
<a id="swModeLink" data-i18n="alert-activecontentwarning-part2" href="#contentInjectionModeDiv" class="alert-link">switch to ServiceWorker mode</a>
<span data-i18n="alert-activecontentwarning-part3">if your platform supports it.</span>&nbsp;
<span data-i18n="alert-activecontentwarning-part3"> to view all content in this ZIM.<br />Some content may still be available by searching above (or tap the search icon for a list).</span>&nbsp;
[<a id="stop" data-i18n="alert-activecontentwarning-part4" href="#expertSettingsDiv" class="alert-link">Permanently hide</a>]
</div>
</div>