From 22c74eae38aba22257526a42a764ea614e677ef9 Mon Sep 17 00:00:00 2001 From: Phie Date: Fri, 31 May 2024 17:59:28 +0200 Subject: [PATCH 1/9] warn users to enable webassembly in passwords app --- apps/passwords/img/warning.png | Bin 0 -> 479 bytes apps/passwords/js/Static/compatibility.js | 76 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 apps/passwords/img/warning.png create mode 100644 apps/passwords/js/Static/compatibility.js diff --git a/apps/passwords/img/warning.png b/apps/passwords/img/warning.png new file mode 100644 index 0000000000000000000000000000000000000000..7ca55733b0dc3de8adf09412f16b604ce66d8029 GIT binary patch literal 479 zcmV<50U-W~P) z@LTyj*ErlDkW)ha$aUFd!2`Q+$&hBaQ>R=x3G_XEV-3H71dhu~eT@5N@l;0|XbH+he|2WlV(zyLQovU+ZtFIS?h>29WqtcGYtG)0MQm%axg z8^cOnDr{n;&bZ7EyC0mDvKo>AKWu2z3R;UGL!?BflqKrM)<$5T%?Z1V' + + '

Your Browser is outdated

' + + '
Your browser is outdated and does not provide the necessary functionality to display this page.' + + '
Please check if an update is available for your browser or choose a modern and compatible browser from the list below.' + + '
' + + 'Firefox' + + 'Vivaldi' + + 'Tor Browser' + + '
'; + container.setAttribute('class', ''); + + throw new Error('Browser does not suport ECMAScript 2017 / ES2017'); +} + +function showWebAssemblyCompatibilityWarning() { + + var imgpath = OC.generateUrl('themes/eCloud/apps/passwords/img/warning.png'), + container = document.getElementById('main'); + container.innerHTML = + '
' + + '
To view this website properly, please enable Javascript JIT.' + + '
' + + '

How to enable it

' + + '

JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration.


' + + '

Steps: You can always enable Javascript JIT in the settings. To do it, click on the 3 dots icon at the top left corner and go to:' + + '

Settings > Site settings
' + + 'Then, enable Javascript JIT at the bottom of the list.' + + '

'; + container.setAttribute('class', ''); + + throw new Error('Browser does not suport ECMAScript 2017 / ES2017'); +} + +function isWebAssemblyEnable(){ + if(!window.hasOwnProperty('WebAssembly') || typeof window.WebAssembly.instantiate !== "function") { + console.error('WebAssembly not supported'); + return false; + } +} + +function checkSystem() { + if(!isWebAssemblyEnable()) showWebAssemblyCompatibilityWarning(); + else if(!isCompatibleBrowser()) showBrowserCompatibilityWarning(); +} + +window.addEventListener('DOMContentLoaded', checkSystem, false); -- GitLab From 4a240982b0a164415f5371c1fc05c063f509093d Mon Sep 17 00:00:00 2001 From: Phie Date: Fri, 31 May 2024 18:01:38 +0200 Subject: [PATCH 2/9] forgotten css --- core/css/server.css | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/core/css/server.css b/core/css/server.css index 41a99550..8a0bc2ba 100644 --- a/core/css/server.css +++ b/core/css/server.css @@ -1798,4 +1798,36 @@ textarea { .unified-search__result .unified-search__result-icon,.unified-search__result .unified-search__result-icon img,.v-popper__popper .icon-filter { filter :var(--inactive-icon-filter); -} \ No newline at end of file +} + + +/* Nextcloud passwords compatibility error style */ + +.passwords-info { + max-width: 400px; + margin: auto; + color: var(--color-main-text); + padding: 0px 24px 24px 24px; +} + +.passwords-quote { + padding: 8px 8px 8px 8px; + background: #D0D0D036; + margin-top: 8px; + margin-bottom: 8px; +} +.passwords-title{ + color: var(--color-main-text); + font-weight: bold; + font-size: 20px; +} + +.passwords-warning{ + margin-right: 4px; + height: 24px; +} + +.password-message{ + display: flex; + justify-content: center; +} -- GitLab From eb5457882d33d317eda0f1685fb381666ba17d75 Mon Sep 17 00:00:00 2001 From: Phie Date: Fri, 7 Jun 2024 13:51:31 +0200 Subject: [PATCH 3/9] adapt to upstream pull request --- apps/passwords/js/Static/compatibility.js | 31 ++++++++++------------- core/css/server.css | 10 ++++---- core/l10n/en.js | 3 ++- core/l10n/en.json | 5 ++-- core/l10n/fr.js | 4 ++- 5 files changed, 27 insertions(+), 26 deletions(-) diff --git a/apps/passwords/js/Static/compatibility.js b/apps/passwords/js/Static/compatibility.js index 7b56ea88..1be07a59 100644 --- a/apps/passwords/js/Static/compatibility.js +++ b/apps/passwords/js/Static/compatibility.js @@ -42,30 +42,27 @@ function showBrowserCompatibilityWarning() { throw new Error('Browser does not suport ECMAScript 2017 / ES2017'); } +function isWebAssemblyEnable(){ + if(!window.hasOwnProperty('WebAssembly') || typeof window.WebAssembly.instantiate !== "function") { + console.error('WebAssembly not supported'); + return false; + } +} + function showWebAssemblyCompatibilityWarning() { var imgpath = OC.generateUrl('themes/eCloud/apps/passwords/img/warning.png'), container = document.getElementById('main'); container.innerHTML = - '
' + - '
To view this website properly, please enable Javascript JIT.' + - '
' + - '

How to enable it

' + - '

JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration.


' + - '

Steps: You can always enable Javascript JIT in the settings. To do it, click on the 3 dots icon at the top left corner and go to:' + - '

Settings > Site settings
' + - 'Then, enable Javascript JIT at the bottom of the list.' + - '

'; + '
' + + '
'+OC.L10N.translate('passwords', 'To view this website properly, please enable Javascript JIT.') + + '
' + + '

' + OC.L10N.translate('passwords', 'How to enable it') + '

' + + '

' + OC.L10N.translate('passwords', 'JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.') + '


' + + '
'; container.setAttribute('class', ''); - throw new Error('Browser does not suport ECMAScript 2017 / ES2017'); -} - -function isWebAssemblyEnable(){ - if(!window.hasOwnProperty('WebAssembly') || typeof window.WebAssembly.instantiate !== "function") { - console.error('WebAssembly not supported'); - return false; - } + throw new Error('Browser does not suport WebAssembly'); } function checkSystem() { diff --git a/core/css/server.css b/core/css/server.css index 8a0bc2ba..2ea85253 100644 --- a/core/css/server.css +++ b/core/css/server.css @@ -1803,31 +1803,31 @@ textarea { /* Nextcloud passwords compatibility error style */ -.passwords-info { +.passwords-jit-compatibility .info { max-width: 400px; margin: auto; color: var(--color-main-text); padding: 0px 24px 24px 24px; } -.passwords-quote { +.passwords-jit-compatibility .quote { padding: 8px 8px 8px 8px; background: #D0D0D036; margin-top: 8px; margin-bottom: 8px; } -.passwords-title{ +.passwords-jit-compatibility .howto{ color: var(--color-main-text); font-weight: bold; font-size: 20px; } -.passwords-warning{ +.passwords-jit-compatibility .warning-icon{ margin-right: 4px; height: 24px; } -.password-message{ +.passwords-jit-compatibility .message{ display: flex; justify-content: center; } diff --git a/core/l10n/en.js b/core/l10n/en.js index 4e81c0d4..543fcd44 100755 --- a/core/l10n/en.js +++ b/core/l10n/en.js @@ -31,6 +31,7 @@ OC.L10N.register( "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?": "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact Murena Cloud at helpdesk@murena.com before you continue. Do you really want to continue?", "Password cannot be changed. Please contact your administrator.": "Password cannot be changed. Please contact Murena Cloud at helpdesk@murena.com.", "If it is not there ask your local administrator.": "", - "Due to encryption the search is only done on files' name.": "Due to encryption the search is only done on files' name." + "Due to encryption the search is only done on files' name.": "Due to encryption the search is only done on files' name.", + }, "nplurals=2; plural=(n != 1);"); diff --git a/core/l10n/en.json b/core/l10n/en.json index a2485551..0ec555e7 100755 --- a/core/l10n/en.json +++ b/core/l10n/en.json @@ -30,7 +30,8 @@ "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?": "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact Murena Cloud at helpdesk@murena.com before you continue. Do you really want to continue?", "Password cannot be changed. Please contact your administrator.": "Password cannot be changed. Please contact Murena Cloud at helpdesk@murena.com.", "If it is not there ask your local administrator.": "", - "Due to encryption the search is only done on files' name.": "Due to encryption the search is only done on files' name." + "Due to encryption the search is only done on files' name.": "Due to encryption the search is only done on files' name.", + "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "

Steps: You can always enable Javascript JIT in the settings. To do it, click on the 3 dots icon at the top left corner and go to:

Settings > Site settings
Then, enable Javascript JIT at the bottom of the list.

" }, "pluralForm": "nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/core/l10n/fr.js b/core/l10n/fr.js index 7b140616..8c9f0752 100644 --- a/core/l10n/fr.js +++ b/core/l10n/fr.js @@ -31,6 +31,8 @@ OC.L10N.register( "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?": "Vos fichiers sont cryptés. Il n'y aura aucun moyen de récupérer vos données après la réinitialisation de votre mot de passe. Si vous n'êtes pas sûr de ce que vous devez faire, veuillez contacter Murena Cloud au helpdesk@murena.com avant de continuer. Voulez-vous vraiment continuer?", "Password cannot be changed. Please contact your administrator.": "Le mot de passe ne peut pas être modifié. Veuillez contacter Murena Cloud à helpdesk@murena.com.", "If it is not there ask your local administrator.": "", - "Due to encryption the search is only done on files' name.": "Les fichiers étant chiffrés, la recherche n'est effectuée que sur le nom des fichiers." + "Due to encryption the search is only done on files' name.": "Les fichiers étant chiffrés, la recherche n'est effectuée que sur le nom des fichiers.", + "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "

Steps: You can always enable Javascript JIT in the settings. To do it, click on the 3 dots icon at the top left corner and go to:

Settings > Site settings
Then, enable Javascript JIT at the bottom of the list.

" + }, "nplurals=2; plural=(n != 1);"); -- GitLab From 7942f4c864d8e7da8693f1e6740b36cabbedf763 Mon Sep 17 00:00:00 2001 From: Phie Date: Fri, 7 Jun 2024 20:07:25 +0200 Subject: [PATCH 4/9] update translations --- apps/passwords/l10n/en.js | 6 ++++++ apps/passwords/l10n/en.json | 6 ++++++ apps/passwords/l10n/fr.js | 6 ++++++ apps/passwords/l10n/fr.json | 6 ++++++ 4 files changed, 24 insertions(+) create mode 100755 apps/passwords/l10n/en.js create mode 100755 apps/passwords/l10n/en.json create mode 100755 apps/passwords/l10n/fr.js create mode 100755 apps/passwords/l10n/fr.json diff --git a/apps/passwords/l10n/en.js b/apps/passwords/l10n/en.js new file mode 100755 index 00000000..122fe64d --- /dev/null +++ b/apps/passwords/l10n/en.js @@ -0,0 +1,6 @@ +OC.L10N.register( + "passwords", + { + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings.

Steps for eOS browser: Click on the 3 dots icon at the top left corner and go to:

Settings > Site settings
Then, enable Javascript JIT at the bottom of the list.

" + }, +"nplurals=2; plural=(n != 1);"); diff --git a/apps/passwords/l10n/en.json b/apps/passwords/l10n/en.json new file mode 100755 index 00000000..d6b1c1c7 --- /dev/null +++ b/apps/passwords/l10n/en.json @@ -0,0 +1,6 @@ +{ + "translations": { + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings.

Steps for eOS browser: Click on the 3 dots icon at the top left corner and go to:

Settings > Site settings
Then, enable Javascript JIT at the bottom of the list.

" + }, + "pluralForm": "nplurals=2; plural=(n != 1);" +} diff --git a/apps/passwords/l10n/fr.js b/apps/passwords/l10n/fr.js new file mode 100755 index 00000000..a31a0b2f --- /dev/null +++ b/apps/passwords/l10n/fr.js @@ -0,0 +1,6 @@ +OC.L10N.register( + "passwords", + { + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT est désactivé par défaut sur le navigateur pour de manière plus sécurisée. Vous pouvez toujours réactiver JavaScript JIT dans les paramètres.

Étapes pour le navigateur eOS: Appuyez sur l'icone à 3 points en haut à gauche puis:

Paramètres > paramètres Site
Puis, activez Javascript JIT en bas de la liste.

" + }, +"nplurals=2; plural=(n != 1);"); diff --git a/apps/passwords/l10n/fr.json b/apps/passwords/l10n/fr.json new file mode 100755 index 00000000..8ee80a6b --- /dev/null +++ b/apps/passwords/l10n/fr.json @@ -0,0 +1,6 @@ +{ + "translations": { + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT est désactivé par défaut sur le navigateur pour de manière plus sécurisée. Vous pouvez toujours réactiver JavaScript JIT dans les paramètres.

Étapes pour le navigateur eOS: Appuyez sur l'icone à 3 points en haut à gauche puis:

Paramètres > paramètres Site
Puis, activez Javascript JIT en bas de la liste.

" + }, + "pluralForm": "nplurals=2; plural=(n != 1);" +} -- GitLab From d29b67e9bd74343f965c3e7a2afa1a350eca220a Mon Sep 17 00:00:00 2001 From: Phie Date: Tue, 18 Jun 2024 15:46:00 +0200 Subject: [PATCH 5/9] add translations for browser outdated + switch to t method --- apps/passwords/js/Static/compatibility.js | 16 ++++++++-------- apps/passwords/l10n/fr.js | 5 +++++ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/apps/passwords/js/Static/compatibility.js b/apps/passwords/js/Static/compatibility.js index 1be07a59..c7970f56 100644 --- a/apps/passwords/js/Static/compatibility.js +++ b/apps/passwords/js/Static/compatibility.js @@ -29,9 +29,9 @@ function showBrowserCompatibilityWarning() { container = document.getElementById('main'); container.innerHTML = '
' + - '

Your Browser is outdated

' + - '
Your browser is outdated and does not provide the necessary functionality to display this page.' + - '
Please check if an update is available for your browser or choose a modern and compatible browser from the list below.' + + '

'+t('passwords', 'Your Browser is outdated')+'

' + + '
'+t('passwords', 'Your browser is outdated and does not provide the necessary functionality to display this page.') + + '
'+t('passwords', 'Please check if an update is available for your browser or choose a modern and compatible browser from the list below.') + '
' + 'Firefox' + 'Vivaldi' + @@ -55,10 +55,10 @@ function showWebAssemblyCompatibilityWarning() { container = document.getElementById('main'); container.innerHTML = '
' + - '
'+OC.L10N.translate('passwords', 'To view this website properly, please enable Javascript JIT.') + + '
'+t('passwords', 'To view this website properly, please enable Javascript JIT.') + '
' + - '

' + OC.L10N.translate('passwords', 'How to enable it') + '

' + - '

' + OC.L10N.translate('passwords', 'JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.') + '


' + + '

' + t('passwords', 'How to enable it') + '

' + + '

' + t('passwords', 'JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.') + '


' + '
'; container.setAttribute('class', ''); @@ -66,8 +66,8 @@ function showWebAssemblyCompatibilityWarning() { } function checkSystem() { - if(!isWebAssemblyEnable()) showWebAssemblyCompatibilityWarning(); - else if(!isCompatibleBrowser()) showBrowserCompatibilityWarning(); + // if(!isWebAssemblyEnable()) showWebAssemblyCompatibilityWarning(); + if(!isCompatibleBrowser()) showBrowserCompatibilityWarning(); } window.addEventListener('DOMContentLoaded', checkSystem, false); diff --git a/apps/passwords/l10n/fr.js b/apps/passwords/l10n/fr.js index a31a0b2f..b765652d 100755 --- a/apps/passwords/l10n/fr.js +++ b/apps/passwords/l10n/fr.js @@ -1,6 +1,11 @@ OC.L10N.register( "passwords", { + "Your Browser is outdated": "Votre navigateur n'est pas à jour", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Votre navigateur n'est pas assez récent et ne fourni pas les fonctionnalités nécessaires pour afficher cette page.", + "To view this website properly, please enable Javascript JIT.": "Pour afficher ce site correctement, veuillez activer Javascript JIT.", + "How to enable it": "Comment l'activer", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Vérifiez si des mise à jours sont disponibles ou choisissez un navigateur moderne et compatible dans la liste ci-dessous", "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT est désactivé par défaut sur le navigateur pour de manière plus sécurisée. Vous pouvez toujours réactiver JavaScript JIT dans les paramètres.

Étapes pour le navigateur eOS: Appuyez sur l'icone à 3 points en haut à gauche puis:

Paramètres > paramètres Site
Puis, activez Javascript JIT en bas de la liste.

" }, "nplurals=2; plural=(n != 1);"); -- GitLab From 0ace7ec64b6ea086636d0b6717d85258f0011f84 Mon Sep 17 00:00:00 2001 From: Phie Date: Tue, 18 Jun 2024 17:01:40 +0200 Subject: [PATCH 6/9] new translations for es de it --- apps/passwords/l10n/de.js | 11 +++++++++++ apps/passwords/l10n/de.json | 11 +++++++++++ apps/passwords/l10n/es.js | 11 +++++++++++ apps/passwords/l10n/es.json | 11 +++++++++++ apps/passwords/l10n/fr.json | 5 +++++ apps/passwords/l10n/it.js | 11 +++++++++++ apps/passwords/l10n/it.json | 11 +++++++++++ 7 files changed, 71 insertions(+) create mode 100644 apps/passwords/l10n/de.js create mode 100644 apps/passwords/l10n/de.json create mode 100644 apps/passwords/l10n/es.js create mode 100644 apps/passwords/l10n/es.json create mode 100644 apps/passwords/l10n/it.js create mode 100644 apps/passwords/l10n/it.json diff --git a/apps/passwords/l10n/de.js b/apps/passwords/l10n/de.js new file mode 100644 index 00000000..04553f95 --- /dev/null +++ b/apps/passwords/l10n/de.js @@ -0,0 +1,11 @@ +OC.L10N.register( + "passwords", + { + "Your Browser is outdated": "Ihr Browser ist veraltet", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Ihr Browser ist veraltet und bietet nicht die notwendigen Funktionen, um diese Seite anzuzeigen.", + "To view this website properly, please enable Javascript JIT.": "Um diese Website korrekt anzuzeigen, aktivieren Sie bitte Javascript JIT.", + "How to enable it": "Wie man sie aktiviert", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Bitte prüfen Sie, ob ein Update für Ihren Browser verfügbar ist, oder wählen Sie einen modernen und kompatiblen Browser aus der untenstehenden Liste.", + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "Javascript JIT ist im Browser standardmäßig deaktiviert, um Webinhalte in einer sichereren Konfiguration zu rendern. Sie können Javascript JIT jederzeit in den Einstellungen aktivieren.

Schritte für den eOS-Browser: Klicken Sie auf das 3-Punkte-Symbol in der oberen linken Ecke und gehen Sie zu:

Einstellungen > Website-Einstellungen
Aktivieren Sie dann Javascript JIT am Ende der Liste.

" + }, +"nplurals=2; plural=(n != 1);"); diff --git a/apps/passwords/l10n/de.json b/apps/passwords/l10n/de.json new file mode 100644 index 00000000..bfd120c3 --- /dev/null +++ b/apps/passwords/l10n/de.json @@ -0,0 +1,11 @@ +{ + "translations": { + "Your Browser is outdated": "Ihr Browser ist veraltet", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Ihr Browser ist veraltet und bietet nicht die notwendigen Funktionen, um diese Seite anzuzeigen.", + "To view this website properly, please enable Javascript JIT.": "Um diese Website korrekt anzuzeigen, aktivieren Sie bitte Javascript JIT.", + "How to enable it": "Wie man sie aktiviert", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Bitte prüfen Sie, ob ein Update für Ihren Browser verfügbar ist, oder wählen Sie einen modernen und kompatiblen Browser aus der untenstehenden Liste.", + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "Javascript JIT ist im Browser standardmäßig deaktiviert, um Webinhalte in einer sichereren Konfiguration zu rendern. Sie können Javascript JIT jederzeit in den Einstellungen aktivieren.

Schritte für den eOS-Browser: Klicken Sie auf das 3-Punkte-Symbol in der oberen linken Ecke und gehen Sie zu:

Einstellungen > Website-Einstellungen
Aktivieren Sie dann Javascript JIT am Ende der Liste.

" + }, + "pluralForm": "nplurals=2; plural=(n != 1);" +} diff --git a/apps/passwords/l10n/es.js b/apps/passwords/l10n/es.js new file mode 100644 index 00000000..cbcef283 --- /dev/null +++ b/apps/passwords/l10n/es.js @@ -0,0 +1,11 @@ +OC.L10N.register( + "passwords", + { + "Your Browser is outdated": "Su navegador está anticuado", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Su navegador no está actualizado y no ofrece la funcionalidad necesaria para mostrar esta página.", + "To view this website properly, please enable Javascript JIT.": "Para ver correctamente este sitio web, active Javascript JIT.", + "How to enable it": "Cómo activarlo", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Por favor, compruebe si hay una actualización disponible para su navegador o elija un navegador moderno y compatible de la siguiente lista.", + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT está desactivado por defecto en el navegador para mostrar el contenido web en una configuración más segura. You can always enable Javascript JIT in the settings.

Pasos para el navegador eOS: Haga clic en el icono de los 3 puntos en la esquina superior izquierda y vaya a

Configuración > Configuración del sitio
A continuación, active Javascript JIT en la parte inferior de la lista.

" + }, +"nplurals=2; plural=(n != 1);"); diff --git a/apps/passwords/l10n/es.json b/apps/passwords/l10n/es.json new file mode 100644 index 00000000..e3f9439e --- /dev/null +++ b/apps/passwords/l10n/es.json @@ -0,0 +1,11 @@ +{ + "translations": { + "Your Browser is outdated": "Su navegador está anticuado", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Su navegador no está actualizado y no ofrece la funcionalidad necesaria para mostrar esta página.", + "To view this website properly, please enable Javascript JIT.": "Para ver correctamente este sitio web, active Javascript JIT.", + "How to enable it": "Cómo activarlo", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Por favor, compruebe si hay una actualización disponible para su navegador o elija un navegador moderno y compatible de la siguiente lista.", + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT está desactivado por defecto en el navegador para mostrar el contenido web en una configuración más segura. You can always enable Javascript JIT in the settings.

Pasos para el navegador eOS: Haga clic en el icono de los 3 puntos en la esquina superior izquierda y vaya a

Configuración > Configuración del sitio
A continuación, active Javascript JIT en la parte inferior de la lista.

" + }, + "pluralForm": "nplurals=2; plural=(n != 1);" +} diff --git a/apps/passwords/l10n/fr.json b/apps/passwords/l10n/fr.json index 8ee80a6b..1bc2b38f 100755 --- a/apps/passwords/l10n/fr.json +++ b/apps/passwords/l10n/fr.json @@ -1,5 +1,10 @@ { "translations": { + "Your Browser is outdated": "Votre navigateur n'est pas à jour", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Votre navigateur n'est pas assez récent et ne fourni pas les fonctionnalités nécessaires pour afficher cette page.", + "To view this website properly, please enable Javascript JIT.": "Pour afficher ce site correctement, veuillez activer Javascript JIT.", + "How to enable it": "Comment l'activer", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Vérifiez si des mise à jours sont disponibles ou choisissez un navigateur moderne et compatible dans la liste ci-dessous", "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT est désactivé par défaut sur le navigateur pour de manière plus sécurisée. Vous pouvez toujours réactiver JavaScript JIT dans les paramètres.

Étapes pour le navigateur eOS: Appuyez sur l'icone à 3 points en haut à gauche puis:

Paramètres > paramètres Site
Puis, activez Javascript JIT en bas de la liste.

" }, "pluralForm": "nplurals=2; plural=(n != 1);" diff --git a/apps/passwords/l10n/it.js b/apps/passwords/l10n/it.js new file mode 100644 index 00000000..e287a43f --- /dev/null +++ b/apps/passwords/l10n/it.js @@ -0,0 +1,11 @@ +OC.L10N.register( + "passwords", + { + "Your Browser is outdated": "Il browser è obsoleto", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Il vostro browser è obsoleto e non fornisce le funzionalità necessarie per visualizzare questa pagina.", + "To view this website properly, please enable Javascript JIT.": "Per visualizzare correttamente questo sito web, abilitare Javascript JIT.", + "How to enable it": "Come attivarlo", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Verificate se è disponibile un aggiornamento per il vostro browser o scegliete un browser moderno e compatibile dall'elenco seguente.", + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. È sempre possibile attivare Javascript JIT nelle impostazioni.

Passi per il browser eOS: Fare clic sull'icona con i tre puntini in alto a sinistra e andare su:

Impostazioni > Impostazioni del sito
Quindi, attivate Javascript JIT in fondo all'elenco.

" + }, +"nplurals=2; plural=(n != 1);"); diff --git a/apps/passwords/l10n/it.json b/apps/passwords/l10n/it.json new file mode 100644 index 00000000..2fcdd44e --- /dev/null +++ b/apps/passwords/l10n/it.json @@ -0,0 +1,11 @@ +{ + "translations": { + "Your Browser is outdated": "Il browser è obsoleto", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Il vostro browser è obsoleto e non fornisce le funzionalità necessarie per visualizzare questa pagina.", + "To view this website properly, please enable Javascript JIT.": "Per visualizzare correttamente questo sito web, abilitare Javascript JIT.", + "How to enable it": "Come attivarlo", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Verificate se è disponibile un aggiornamento per il vostro browser o scegliete un browser moderno e compatibile dall'elenco seguente.", + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. È sempre possibile attivare Javascript JIT nelle impostazioni.

Passi per il browser eOS: Fare clic sull'icona con i tre puntini in alto a sinistra e andare su:

Impostazioni > Impostazioni del sito
Quindi, attivate Javascript JIT in fondo all'elenco.

" + }, + "pluralForm": "nplurals=2; plural=(n != 1);" +} -- GitLab From 3b45b6562801fd69d8728ab97f7dbceefa28b842 Mon Sep 17 00:00:00 2001 From: Phie Date: Wed, 19 Jun 2024 14:59:58 +0200 Subject: [PATCH 7/9] translations are in app folder --- core/l10n/en.js | 3 +-- core/l10n/en.json | 5 ++--- core/l10n/fr.js | 4 +--- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/core/l10n/en.js b/core/l10n/en.js index 543fcd44..4e81c0d4 100755 --- a/core/l10n/en.js +++ b/core/l10n/en.js @@ -31,7 +31,6 @@ OC.L10N.register( "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?": "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact Murena Cloud at helpdesk@murena.com before you continue. Do you really want to continue?", "Password cannot be changed. Please contact your administrator.": "Password cannot be changed. Please contact Murena Cloud at helpdesk@murena.com.", "If it is not there ask your local administrator.": "", - "Due to encryption the search is only done on files' name.": "Due to encryption the search is only done on files' name.", - + "Due to encryption the search is only done on files' name.": "Due to encryption the search is only done on files' name." }, "nplurals=2; plural=(n != 1);"); diff --git a/core/l10n/en.json b/core/l10n/en.json index 0ec555e7..a2485551 100755 --- a/core/l10n/en.json +++ b/core/l10n/en.json @@ -30,8 +30,7 @@ "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?": "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact Murena Cloud at helpdesk@murena.com before you continue. Do you really want to continue?", "Password cannot be changed. Please contact your administrator.": "Password cannot be changed. Please contact Murena Cloud at helpdesk@murena.com.", "If it is not there ask your local administrator.": "", - "Due to encryption the search is only done on files' name.": "Due to encryption the search is only done on files' name.", - "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "

Steps: You can always enable Javascript JIT in the settings. To do it, click on the 3 dots icon at the top left corner and go to:

Settings > Site settings
Then, enable Javascript JIT at the bottom of the list.

" + "Due to encryption the search is only done on files' name.": "Due to encryption the search is only done on files' name." }, "pluralForm": "nplurals=2; plural=(n != 1);" -} +} \ No newline at end of file diff --git a/core/l10n/fr.js b/core/l10n/fr.js index 8c9f0752..7b140616 100644 --- a/core/l10n/fr.js +++ b/core/l10n/fr.js @@ -31,8 +31,6 @@ OC.L10N.register( "Your files are encrypted. There will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?": "Vos fichiers sont cryptés. Il n'y aura aucun moyen de récupérer vos données après la réinitialisation de votre mot de passe. Si vous n'êtes pas sûr de ce que vous devez faire, veuillez contacter Murena Cloud au helpdesk@murena.com avant de continuer. Voulez-vous vraiment continuer?", "Password cannot be changed. Please contact your administrator.": "Le mot de passe ne peut pas être modifié. Veuillez contacter Murena Cloud à helpdesk@murena.com.", "If it is not there ask your local administrator.": "", - "Due to encryption the search is only done on files' name.": "Les fichiers étant chiffrés, la recherche n'est effectuée que sur le nom des fichiers.", - "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "

Steps: You can always enable Javascript JIT in the settings. To do it, click on the 3 dots icon at the top left corner and go to:

Settings > Site settings
Then, enable Javascript JIT at the bottom of the list.

" - + "Due to encryption the search is only done on files' name.": "Les fichiers étant chiffrés, la recherche n'est effectuée que sur le nom des fichiers." }, "nplurals=2; plural=(n != 1);"); -- GitLab From e1f01b6462a65e143e7f8b5bd856a75df005e9aa Mon Sep 17 00:00:00 2001 From: Phie Date: Wed, 19 Jun 2024 15:02:41 +0200 Subject: [PATCH 8/9] forgotten sentence --- apps/passwords/l10n/it.js | 2 +- apps/passwords/l10n/it.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/passwords/l10n/it.js b/apps/passwords/l10n/it.js index e287a43f..05945c0f 100644 --- a/apps/passwords/l10n/it.js +++ b/apps/passwords/l10n/it.js @@ -6,6 +6,6 @@ OC.L10N.register( "To view this website properly, please enable Javascript JIT.": "Per visualizzare correttamente questo sito web, abilitare Javascript JIT.", "How to enable it": "Come attivarlo", "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Verificate se è disponibile un aggiornamento per il vostro browser o scegliete un browser moderno e compatibile dall'elenco seguente.", - "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. È sempre possibile attivare Javascript JIT nelle impostazioni.

Passi per il browser eOS: Fare clic sull'icona con i tre puntini in alto a sinistra e andare su:

Impostazioni > Impostazioni del sito
Quindi, attivate Javascript JIT in fondo all'elenco.

" + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT è disabilitato per impostazione predefinita nel browser, al fine di eseguire il rendering dei contenuti web in una configurazione più sicura. È sempre possibile attivare Javascript JIT nelle impostazioni.

Passi per il browser eOS: Fare clic sull'icona con i tre puntini in alto a sinistra e andare su:

Impostazioni > Impostazioni del sito
Quindi, attivate Javascript JIT in fondo all'elenco.

" }, "nplurals=2; plural=(n != 1);"); diff --git a/apps/passwords/l10n/it.json b/apps/passwords/l10n/it.json index 2fcdd44e..127430c9 100644 --- a/apps/passwords/l10n/it.json +++ b/apps/passwords/l10n/it.json @@ -5,7 +5,7 @@ "To view this website properly, please enable Javascript JIT.": "Per visualizzare correttamente questo sito web, abilitare Javascript JIT.", "How to enable it": "Come attivarlo", "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Verificate se è disponibile un aggiornamento per il vostro browser o scegliete un browser moderno e compatibile dall'elenco seguente.", - "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. È sempre possibile attivare Javascript JIT nelle impostazioni.

Passi per il browser eOS: Fare clic sull'icona con i tre puntini in alto a sinistra e andare su:

Impostazioni > Impostazioni del sito
Quindi, attivate Javascript JIT in fondo all'elenco.

" + "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT è disabilitato per impostazione predefinita nel browser, al fine di eseguire il rendering dei contenuti web in una configurazione più sicura. È sempre possibile attivare Javascript JIT nelle impostazioni.

Passi per il browser eOS: Fare clic sull'icona con i tre puntini in alto a sinistra e andare su:

Impostazioni > Impostazioni del sito
Quindi, attivate Javascript JIT in fondo all'elenco.

" }, "pluralForm": "nplurals=2; plural=(n != 1);" } -- GitLab From 967f32400a837921a2f92648ceb194a7e599a45a Mon Sep 17 00:00:00 2001 From: Phie Date: Thu, 20 Jun 2024 16:33:58 +0200 Subject: [PATCH 9/9] add translations strings in en also --- apps/passwords/l10n/en.js | 7 ++++++- apps/passwords/l10n/en.json | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/passwords/l10n/en.js b/apps/passwords/l10n/en.js index 122fe64d..5f4edd33 100755 --- a/apps/passwords/l10n/en.js +++ b/apps/passwords/l10n/en.js @@ -1,6 +1,11 @@ OC.L10N.register( "passwords", { + "Your Browser is outdated": "Your Browser is outdated", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Your browser is outdated and does not provide the necessary functionality to display this page.", + "To view this website properly, please enable Javascript JIT.": "To view this website properly, please enable Javascript JIT", + "How to enable it": "How to enable it", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.", "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings.

Steps for eOS browser: Click on the 3 dots icon at the top left corner and go to:

Settings > Site settings
Then, enable Javascript JIT at the bottom of the list.

" - }, + }, "nplurals=2; plural=(n != 1);"); diff --git a/apps/passwords/l10n/en.json b/apps/passwords/l10n/en.json index d6b1c1c7..4956bbca 100755 --- a/apps/passwords/l10n/en.json +++ b/apps/passwords/l10n/en.json @@ -1,5 +1,10 @@ { "translations": { + "Your Browser is outdated": "Your Browser is outdated", + "Your browser is outdated and does not provide the necessary functionality to display this page.": "Your browser is outdated and does not provide the necessary functionality to display this page.", + "To view this website properly, please enable Javascript JIT.": "To view this website properly, please enable Javascript JIT", + "How to enable it": "How to enable it", + "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.": "Please check if an update is available for your browser or choose a modern and compatible browser from the list below.", "JavaScript JIT might be disabled in your browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings, depending on your web browser.": "JavaScript JIT is disabled by default in the browser in order to render web content in a more secure configuration. You can always enable Javascript JIT in the settings.

Steps for eOS browser: Click on the 3 dots icon at the top left corner and go to:

Settings > Site settings
Then, enable Javascript JIT at the bottom of the list.

" }, "pluralForm": "nplurals=2; plural=(n != 1);" -- GitLab