diff --git a/l10n/de.js b/l10n/de.js index ff9a990a65ae05c63fb89c9d49d488ae7253357d..f3d97fcffdd6118a58c01a5165eb28cf1722d789 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -33,6 +33,7 @@ OC.L10N.register( "Unverified recovery email:": "Nicht überprüfte Wiederherstellungs-E-Mail:", "Please set a recovery email address.": "Bitte geben Sie eine Wiederherstellungs-E-Mail-Adresse an.", "The domain of this email address is blacklisted. Please provide another recovery address.": "Die Domäne dieser E-Mailadresse ist auf der Sperrliste. Bitte geben Sie eine andere E-Mailadresse an.", - "Too many verification emails.": "Zu viele Bestätigungs-E-Mails." + "Too many verification emails.": "Zu viele Bestätigungs-E-Mails.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Diese Version von Murena Workspace erlaubt nur einen minimalen Zugriff. Das bedeutet, dass einige von dir zuvor festgelegten Konfigurationen (z. B. zusätzliche E-Mail-Konten) sowie einige Funktionen (z. B. Dateien, PGP) möglicherweise nicht vorhanden sind. Du wirst sie wiederfinden, wenn alles wieder normal läuft." }, "nplurals=2; plural=n != 1;"); diff --git a/l10n/de.json b/l10n/de.json index c2cfc90bdcf340b5c0f9c1361726028673d56a82..b96b52da53b388d26f84864c9ddbb079e7c720db 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -31,6 +31,7 @@ "Unverified recovery email:": "Nicht überprüfte Wiederherstellungs-E-Mail:", "Please set a recovery email address.": "Bitte geben Sie eine Wiederherstellungs-E-Mail-Adresse an.", "The domain of this email address is blacklisted. Please provide another recovery address.": "Die Domäne dieser E-Mailadresse ist auf der Sperrliste. Bitte geben Sie eine andere E-Mailadresse an.", - "Too many verification emails.": "Zu viele Bestätigungs-E-Mails." + "Too many verification emails.": "Zu viele Bestätigungs-E-Mails.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Diese Version von Murena Workspace erlaubt nur einen minimalen Zugriff. Das bedeutet, dass einige von dir zuvor festgelegten Konfigurationen (z. B. zusätzliche E-Mail-Konten) sowie einige Funktionen (z. B. Dateien, PGP) möglicherweise nicht vorhanden sind. Du wirst sie wiederfinden, wenn alles wieder normal läuft." },"pluralForm" :"nplurals=2; plural=n != 1;" } \ No newline at end of file diff --git a/l10n/de_DE.js b/l10n/de_DE.js index ff9a990a65ae05c63fb89c9d49d488ae7253357d..8d14855f20c2baf9dd47c58294accd1d0fe1524b 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -33,6 +33,7 @@ OC.L10N.register( "Unverified recovery email:": "Nicht überprüfte Wiederherstellungs-E-Mail:", "Please set a recovery email address.": "Bitte geben Sie eine Wiederherstellungs-E-Mail-Adresse an.", "The domain of this email address is blacklisted. Please provide another recovery address.": "Die Domäne dieser E-Mailadresse ist auf der Sperrliste. Bitte geben Sie eine andere E-Mailadresse an.", - "Too many verification emails.": "Zu viele Bestätigungs-E-Mails." + "Too many verification emails.": "Zu viele Bestätigungs-E-Mails.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Diese Version von Murena Workspace erlaubt nur einen minimalen Zugriff. Das bedeutet, dass einige von Ihnen zuvor festgelegten Konfigurationen (z. B. zusätzliche E-Mail-Konten) sowie einige Funktionen (z. B. Dateien, PGP) möglicherweise nicht vorhanden sind. Sie werden sie wiederfinden, wenn alles wieder normal läuft." }, "nplurals=2; plural=n != 1;"); diff --git a/l10n/de_DE.json b/l10n/de_DE.json index c2cfc90bdcf340b5c0f9c1361726028673d56a82..f91465169820eeb96f1cda45ff9fe10c6cde81b0 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -31,6 +31,7 @@ "Unverified recovery email:": "Nicht überprüfte Wiederherstellungs-E-Mail:", "Please set a recovery email address.": "Bitte geben Sie eine Wiederherstellungs-E-Mail-Adresse an.", "The domain of this email address is blacklisted. Please provide another recovery address.": "Die Domäne dieser E-Mailadresse ist auf der Sperrliste. Bitte geben Sie eine andere E-Mailadresse an.", - "Too many verification emails.": "Zu viele Bestätigungs-E-Mails." + "Too many verification emails.": "Zu viele Bestätigungs-E-Mails.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Diese Version von Murena Workspace erlaubt nur einen minimalen Zugriff. Das bedeutet, dass einige von Ihnen zuvor festgelegten Konfigurationen (z. B. zusätzliche E-Mail-Konten) sowie einige Funktionen (z. B. Dateien, PGP) möglicherweise nicht vorhanden sind. Sie werden sie wiederfinden, wenn alles wieder normal läuft." },"pluralForm" :"nplurals=2; plural=n != 1;" } \ No newline at end of file diff --git a/l10n/en.js b/l10n/en.js index 00b1f85bd541e7160b7114f4778575885448e804..f8174ea5f42220ffe395a2717ca348940effa26a 100644 --- a/l10n/en.js +++ b/l10n/en.js @@ -30,6 +30,7 @@ OC.L10N.register( "VERIFY RECOVERY EMAIL NOW": "VERIFY RECOVERY EMAIL NOW", "Please set a recovery email address.": "Please set a recovery email address.", "The domain of this email address is blacklisted. Please provide another recovery address.": "The domain of this email address is blacklisted. Please provide another recovery address.", - "Too many verification emails.": "Too many verification emails." + "Too many verification emails.": "Too many verification emails.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal." }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/en.json b/l10n/en.json index cea2af76c0f418e189d6038e89d2b5a4d4372514..239b92c7132848c25b91e75063ffa25dabd3791b 100644 --- a/l10n/en.json +++ b/l10n/en.json @@ -31,7 +31,8 @@ "VERIFY RECOVERY EMAIL NOW": "VERIFY RECOVERY EMAIL NOW", "Please set a recovery email address.": "Please set a recovery email address.", "The domain of this email address is blacklisted. Please provide another recovery address.": "The domain of this email address is blacklisted. Please provide another recovery address.", - "Too many verification emails.": "Too many verification emails." + "Too many verification emails.": "Too many verification emails.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal." }, "pluralForm": "nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/es.js b/l10n/es.js index 0d05bd8fe24db2c8383cf1c833cb85f96d924972..45eccc5f02e90404129d4b42d873417e417728ee 100644 --- a/l10n/es.js +++ b/l10n/es.js @@ -33,6 +33,7 @@ OC.L10N.register( "Unverified recovery email:": "Correo electrónico de recuperación no verificado:", "Please set a recovery email address.": "Por favor configura un correo electrónico para recuperación.", "The domain of this email address is blacklisted. Please provide another recovery address.": "El dominio de esta dirección de correo electrónico está en lista negra. Por favor, proporciona otra dirección de recuperación.", - "Too many verification emails.": "Demasiados correos electrónicos de verificación." + "Too many verification emails.": "Demasiados correos electrónicos de verificación.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "EEsta versión de Murena Workspace sólo te permite un acceso mínimo. Esto significa que algunas configuraciones que hayas hecho anteriormente (por ejemplo, cuentas de correo adicionales) así como algunas funcionalidades (por ejemplo, Archivos, PGP) no estarán disponibles. Recuperarás todas tus funciones cuando todo vuelva a la normalidad." }, "nplurals=2; plural=n != 1;"); diff --git a/l10n/es.json b/l10n/es.json index 819dd12e0c7c80ba7d5258c4346ec2b506e6d8eb..b078c42a8abd36e907f1c0c3f747a36ebba3a0e6 100644 --- a/l10n/es.json +++ b/l10n/es.json @@ -31,7 +31,7 @@ "Unverified recovery email:": "Correo electrónico de recuperación no verificado:", "Please set a recovery email address.": "Por favor configura un correo electrónico para recuperación.", "The domain of this email address is blacklisted. Please provide another recovery address.": "El dominio de esta dirección de correo electrónico está en lista negra. Por favor, proporciona otra dirección de recuperación.", - "Too many verification emails.": "Demasiados correos electrónicos de verificación." - + "Too many verification emails.": "Demasiados correos electrónicos de verificación.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Esta versión de Murena Workspace sólo te permite un acceso mínimo. Esto significa que algunas configuraciones que hayas hecho anteriormente (por ejemplo, cuentas de correo adicionales) así como algunas funcionalidades (por ejemplo, Archivos, PGP) no estarán disponibles. Recuperarás todas tus funciones cuando todo vuelva a la normalidad." },"pluralForm" :"nplurals=2; plural=n != 1;" } \ No newline at end of file diff --git a/l10n/fr.js b/l10n/fr.js index 30855998927abd9c5274b044768204fe5a78df2c..7fa0cc03d2c4142acd03054c20a45ce2823f6626 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -33,6 +33,7 @@ OC.L10N.register( "Unverified recovery email:": "E-mail de récupération non vérifié :", "Please set a recovery email address.": "Merci d'ajouter une adresse e-mail de récupération.", "The domain of this email address is blacklisted. Please provide another recovery address.": "Le domain de cette adresse e-mail est sur liste noire. Merci de bien vouloir fournir une autre adresse de récupération.", - "Too many verification emails.": "Trop de courriels de vérification." + "Too many verification emails.": "Trop de courriels de vérification.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Cette version de Murena Workspace permet uniquement un accès minimal. Cela signifie que certaines configurations que vous avez définies précédemment (comme des comptes de messagerie supplémentaires) ainsi que certaines fonctionnalités (comme Fichiers, PGP) peuvent ne pas être présentes. Vous les retrouverez lorsque tout reviendra à la normale." }, "nplurals=2; plural=n > 1;"); diff --git a/l10n/fr.json b/l10n/fr.json index 55ec89497c7947ed479d9f2ad613515a2a36646c..d660d412f7c53ee74c9e654261f7c72df2994d79 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -31,7 +31,7 @@ "Unverified recovery email:": "E-mail de récupération non vérifié :", "Please set a recovery email address.": "Merci d'ajouter une adresse e-mail de récupération.", "The domain of this email address is blacklisted. Please provide another recovery address.": "Le domain de cette adresse e-mail est sur liste noire. Merci de bien vouloir fournir une autre adresse de récupération.", - "Too many verification emails.": "Too many verification emails." - + "Too many verification emails.": "Too many verification emails.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Cette version de Murena Workspace permet uniquement un accès minimal. Cela signifie que certaines configurations que vous avez définies précédemment (comme des comptes de messagerie supplémentaires) ainsi que certaines fonctionnalités (comme Fichiers, PGP) peuvent ne pas être présentes. Vous les retrouverez lorsque tout reviendra à la normale." },"pluralForm" :"nplurals=2; plural=n > 1;" } \ No newline at end of file diff --git a/l10n/it.js b/l10n/it.js index ebc19398064af9721ac9d84c0adf9acc2ab85bd0..af51b4109610213b6fb1bdfc0dbc85b15f2eed81 100644 --- a/l10n/it.js +++ b/l10n/it.js @@ -33,6 +33,7 @@ OC.L10N.register( "Unverified recovery email:": "E-mail di recovery non verificata:", "Please set a recovery email address.": "Imposta un indirizzo e-mail di recovery.", "The domain of this email address is blacklisted. Please provide another recovery address.": "Il dominio cui appartiene questo indirizzo e-mail è contenuto in una black list. Inserisci un indirizzo di recovery differente.", - "Too many verification emails.": "Troppe e-mail di verifica." + "Too many verification emails.": "Troppe e-mail di verifica.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Questa versione di Murena Workspace consente l'accesso con alcune restrizioni. Ciò significa che alcune configurazioni impostate in precedenza (ad esempio, account di posta aggiuntivi) ed alcune funzionalità (ad esempio File, PGP) potrebbero non essere disponibili. Verranno riattivate quando tutto tornerà alla normalità." }, "nplurals=2; plural=n != 1;"); diff --git a/l10n/it.json b/l10n/it.json index 665127d62679a60c0709665a50d1859e8eb1e969..84fd9e6d8cfd79dab0bffd5fe7da88ec4a19e6c6 100644 --- a/l10n/it.json +++ b/l10n/it.json @@ -31,6 +31,7 @@ "Unverified recovery email:": "E-mail di recovery non verificata:", "Please set a recovery email address.": "Imposta un indirizzo e-mail di recovery.", "The domain of this email address is blacklisted. Please provide another recovery address.": "Il dominio cui appartiene questo indirizzo e-mail è contenuto in una black list. Inserisci un indirizzo di recovery differente.", - "Too many verification emails.": "Too many verification emails." + "Too many verification emails.": "Too many verification emails.", + "This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You'll find them back when everything goes back to normal.": "Questa versione di Murena Workspace consente l'accesso con alcune restrizioni. Ciò significa che alcune configurazioni impostate in precedenza (ad esempio, account di posta aggiuntivi) ed alcune funzionalità (ad esempio File, PGP) potrebbero non essere disponibili. Verranno riattivate quando tutto tornerà alla normalità." },"pluralForm" :"nplurals=2; plural=n != 1;" } \ No newline at end of file diff --git a/src/email-recovery.js b/src/email-recovery.js index bc4c284d5f3a638446d8a01bd69754a42d348f9c..360649853c04f059710cb08d67be525b8ad4ff5a 100644 --- a/src/email-recovery.js +++ b/src/email-recovery.js @@ -9,12 +9,12 @@ document.addEventListener('DOMContentLoaded', function() { contentDiv.id = 'recovery-email-banner-container' const img = createImageElement(APPLICATION_NAME) const textNode = createTextNode(APPLICATION_NAME) - const link = createLinkElement(APPLICATION_NAME) + // const link = createLinkElement(APPLICATION_NAME) contentDiv.appendChild(img) contentDiv.appendChild(textNode) newDiv.appendChild(contentDiv) - newDiv.appendChild(link) + // newDiv.appendChild(link) insertIntoDOM(newDiv) // Measure the height after the element is inserted into the DOM const banner = document.getElementById('recovery-email-banner') @@ -152,27 +152,12 @@ function createTextNode(appName) { if (unverifiedRecoveryEmail !== '') { labelText = t(appName, 'Please verify your recovery email address to fully enjoy your murena.io account.') } + labelText = t(appName, 'This version of Murena Workspace allows a minimal access only. This means some configuration you set previously (e.g. additional mail accounts) as well as some functionalities (e.g. Files, PGP) may not be there. You\'ll find them back when everything goes back to normal.') const text = document.createTextNode(labelText) p.appendChild(text) return p } -/** - * - * @param appName - */ -function createLinkElement(appName) { - const link = document.createElement('a') - let labelText = t(appName, 'SET RECOVERY EMAIL NOW') - if (unverifiedRecoveryEmail !== '') { - labelText = t(appName, 'VERIFY RECOVERY EMAIL NOW') - } - link.textContent = labelText - link.href = OC.getRootPath() + '/settings/user/security#recovery-email-div' - link.style.display = 'block' - return link -} - /** * * @param element