diff --git a/l10n/de.js b/l10n/de.js index 7463cfca3307e3ffd9a70fb208427684c518b53b..3d929c2f0d0a97feaa5c30e26689cb53abb241f1 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -37,6 +37,7 @@ OC.L10N.register( "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.", "The email could not be verified. Please try again later.": "Die E-Mail konnte nicht verifiziert werden. Bitte versuchen Sie es später noch einmal.", "The email address is disposable. Please provide another recovery address." : "Die E-Mail-Adresse ist eine Wegwerfadresse. Bitte geben Sie eine andere Wiederherstellungsadresse an.", - "The email address is not deliverable. Please provide another recovery address.": "Die E-Mail Adresse ist nicht zustellbar. Bitte geben Sie eine andere Wiederherstellungsadresse an." + "The email address is not deliverable. Please provide another recovery address.": "Die E-Mail Adresse ist nicht zustellbar. Bitte geben Sie eine andere Wiederherstellungsadresse an.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace wird bald wieder vollständig verfügbar sein! Bitte lies diesen Leitfaden, um mehr zu erfahren." }, "nplurals=2; plural=n != 1;"); diff --git a/l10n/de.json b/l10n/de.json index 5fd1977e03f4a92fd73844f9708dcb4f42240662..de390368c1395f406d10b554d95f7351918a5e4d 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -35,6 +35,7 @@ "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.", "The email could not be verified. Please try again later.": "Die E-Mail konnte nicht verifiziert werden. Bitte versuchen Sie es später noch einmal.", "The email address is disposable. Please provide another recovery address." : "Die E-Mail-Adresse ist eine Wegwerfadresse. Bitte geben Sie eine andere Wiederherstellungsadresse an.", - "The email address is not deliverable. Please provide another recovery address.": "Die E-Mail Adresse ist nicht zustellbar. Bitte geben Sie eine andere Wiederherstellungsadresse an." + "The email address is not deliverable. Please provide another recovery address.": "Die E-Mail Adresse ist nicht zustellbar. Bitte geben Sie eine andere Wiederherstellungsadresse an.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace wird bald wieder vollständig verfügbar sein! Bitte lies diesen Leitfaden, um mehr zu erfahren." },"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 b228711dca76464ab459d605eebd85c7d1ccd8fc..d1363ceb3cdfbf8301bf289b917eb935cc7b22e9 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -37,6 +37,7 @@ OC.L10N.register( "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.", "The email could not be verified. Please try again later.": "Die E-Mail konnte nicht verifiziert werden. Bitte versuchen Sie es später noch einmal.", "The email address is disposable. Please provide another recovery address." : "Die E-Mail-Adresse ist eine Wegwerfadresse. Bitte geben Sie eine andere Wiederherstellungsadresse an.", - "The email address is not deliverable. Please provide another recovery address.": "Die E-Mail Adresse ist nicht zustellbar. Bitte geben Sie eine andere Wiederherstellungsadresse an." + "The email address is not deliverable. Please provide another recovery address.": "Die E-Mail Adresse ist nicht zustellbar. Bitte geben Sie eine andere Wiederherstellungsadresse an.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace wird bald wieder vollständig verfügbar sein! Bitte lesen Sie diesen Leitfaden, um mehr zu erfahren." }, "nplurals=2; plural=n != 1;"); diff --git a/l10n/de_DE.json b/l10n/de_DE.json index 45ba9a578e047fd9cc8631a874ac959838be8202..2fab9d82073e1cf6b740b9f2b969c57a83963206 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -35,6 +35,7 @@ "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.", "The email could not be verified. Please try again later.": "Die E-Mail konnte nicht verifiziert werden. Bitte versuchen Sie es später noch einmal.", "The email address is disposable. Please provide another recovery address." : "Die E-Mail-Adresse ist eine Wegwerfadresse. Bitte geben Sie eine andere Wiederherstellungsadresse an.", - "The email address is not deliverable. Please provide another recovery address.": "Die E-Mail Adresse ist nicht zustellbar. Bitte geben Sie eine andere Wiederherstellungsadresse an." + "The email address is not deliverable. Please provide another recovery address.": "Die E-Mail Adresse ist nicht zustellbar. Bitte geben Sie eine andere Wiederherstellungsadresse an.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace wird bald wieder vollständig verfügbar sein! Bitte lesen Sie diesen Leitfaden, um mehr zu erfahren." },"pluralForm" :"nplurals=2; plural=n != 1;" } \ No newline at end of file diff --git a/l10n/en.js b/l10n/en.js index 3ef0c606891805a9f73027178eaab56e99fc26c8..6dd74001917168a391976ac5f4c4bbb49d0b2ef7 100644 --- a/l10n/en.js +++ b/l10n/en.js @@ -34,6 +34,7 @@ OC.L10N.register( "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.", "The email could not be verified. Please try again later.": "The email could not be verified. Please try again later.", "The email address is disposable. Please provide another recovery address." : "The email address is disposable. Please provide another recovery address.", - "The email address is not deliverable. Please provide another recovery address.": "The email address is not deliverable. Please provide another recovery address." + "The email address is not deliverable. Please provide another recovery address.": "The email address is not deliverable. Please provide another recovery address.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace will be back fully soon! Please read this guide to know more." }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/en.json b/l10n/en.json index 6ca785f042e9b49f64ae3e68cd88aaee94197136..8eb70e0510db8877b28981b61021fd12bac6db81 100644 --- a/l10n/en.json +++ b/l10n/en.json @@ -35,7 +35,8 @@ "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.", "The email could not be verified. Please try again later.": "The email could not be verified. Please try again later.", "The email address is disposable. Please provide another recovery address." : "The email address is disposable. Please provide another recovery address.", - "The email address is not deliverable. Please provide another recovery address.": "The email address is not deliverable. Please provide another recovery address." + "The email address is not deliverable. Please provide another recovery address.": "The email address is not deliverable. Please provide another recovery address.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace will be back fully soon! Please read this guide to know more." }, "pluralForm": "nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/es.js b/l10n/es.js index 66500df2102383c9c3f43928daa7f9a41eb5990e..c178271b6871ab6e6c534726281892e4844e7831 100644 --- a/l10n/es.js +++ b/l10n/es.js @@ -37,6 +37,7 @@ OC.L10N.register( "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.", "The email could not be verified. Please try again later.": "No se ha podido verificar el correo electrónico. Inténtelo de nuevo más tarde.", "The email address is disposable. Please provide another recovery address." : "La dirección de correo electrónico es desechable. Por favor, proporcione otra dirección de recuperación.", - "The email address is not deliverable. Please provide another recovery address.": "La dirección de correo electrónico no se puede entregar. Por favor, proporcione otra dirección de recuperación." + "The email address is not deliverable. Please provide another recovery address.": "La dirección de correo electrónico no se puede entregar. Por favor, proporcione otra dirección de recuperación.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "¡Murena Workspace estará de vuelta al 100% pronto! Por favor lee esta guía para saber más." }, "nplurals=2; plural=n != 1;"); diff --git a/l10n/es.json b/l10n/es.json index 74af0bcd001d0b9049a5d60d048a76bbb3dd6d16..02999c6262a0ecef95175539e16d766c9d51d378 100644 --- a/l10n/es.json +++ b/l10n/es.json @@ -35,6 +35,7 @@ "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.", "The email could not be verified. Please try again later.": "No se ha podido verificar el correo electrónico. Inténtelo de nuevo más tarde.", "The email address is disposable. Please provide another recovery address." : "La dirección de correo electrónico es desechable. Por favor, proporcione otra dirección de recuperación.", - "The email address is not deliverable. Please provide another recovery address.": "La dirección de correo electrónico no se puede entregar. Por favor, proporcione otra dirección de recuperación." + "The email address is not deliverable. Please provide another recovery address.": "La dirección de correo electrónico no se puede entregar. Por favor, proporcione otra dirección de recuperación.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "¡Murena Workspace estará de vuelta al 100% pronto! Por favor lee esta guía para saber más." },"pluralForm" :"nplurals=2; plural=n != 1;" } \ No newline at end of file diff --git a/l10n/fr.js b/l10n/fr.js index 8a5e027b8cb3497cb1ea662c33a26e46731deebe..b38c854c1881cbec37d5afcbe175dcbbd45ad6b3 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -37,6 +37,7 @@ OC.L10N.register( "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.", "The email could not be verified. Please try again later.": "L'e-mail n'a pas pu être vérifié. Veuillez réessayer plus tard.", "The email address is disposable. Please provide another recovery address." : "L'adresse électronique est jetable. Veuillez fournir une autre adresse de récupération.", - "The email address is not deliverable. Please provide another recovery address.": "L'adresse électronique ne peut être délivrée. Veuillez fournir une autre adresse de recouvrement." + "The email address is not deliverable. Please provide another recovery address.": "L'adresse électronique ne peut être délivrée. Veuillez fournir une autre adresse de recouvrement.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace sera bientôt complètement de retour ! Veuillez lire ce guide pour en savoir plus." }, "nplurals=2; plural=n > 1;"); diff --git a/l10n/fr.json b/l10n/fr.json index ed352922bacb3e159bf444bbcafab5ddf806e9b3..399c6933b10b6651973852d21a1b2c564c5a2821 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -35,6 +35,7 @@ "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.", "The email could not be verified. Please try again later.": "L'e-mail n'a pas pu être vérifié. Veuillez réessayer plus tard.", "The email address is disposable. Please provide another recovery address." : "L'adresse électronique est jetable. Veuillez fournir une autre adresse de récupération.", - "The email address is not deliverable. Please provide another recovery address.": "L'adresse électronique ne peut être délivrée. Veuillez fournir une autre adresse de recouvrement." + "The email address is not deliverable. Please provide another recovery address.": "L'adresse électronique ne peut être délivrée. Veuillez fournir une autre adresse de recouvrement.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace sera bientôt complètement de retour ! Veuillez lire ce guide pour en savoir plus." },"pluralForm" :"nplurals=2; plural=n > 1;" } \ No newline at end of file diff --git a/l10n/it.js b/l10n/it.js index 53f5fa64b921e69485d3358bc5af96ec1d300859..19a5c1af3ee0ebb1d7a9f61eb69995399391420a 100644 --- a/l10n/it.js +++ b/l10n/it.js @@ -37,6 +37,7 @@ OC.L10N.register( "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à.", "The email could not be verified. Please try again later.": "Non è stato possibile verificare l'e-mail. Si prega di riprovare più tardi.", "The email address is disposable. Please provide another recovery address." : "L'indirizzo e-mail è monouso. Si prega di fornire un altro indirizzo di recupero.", - "The email address is not deliverable. Please provide another recovery address.": "The email address is not deliverable. Please provide another recovery address." + "The email address is not deliverable. Please provide another recovery address.": "The email address is not deliverable. Please provide another recovery address.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace tornerà presto completamente operativo! Si prega di leggere questa guida per saperne di più." }, "nplurals=2; plural=n != 1;"); diff --git a/l10n/it.json b/l10n/it.json index 5e9165fc0ff6c7d6e0a4d6f258350a31c68fb0b6..58af65394daf5b1f24bc00ce21e754df58a3ad6b 100644 --- a/l10n/it.json +++ b/l10n/it.json @@ -35,6 +35,7 @@ "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à.", "The email could not be verified. Please try again later.": "Non è stato possibile verificare l'e-mail. Si prega di riprovare più tardi.", "The email address is disposable. Please provide another recovery address." : "L'indirizzo e-mail è monouso. Si prega di fornire un altro indirizzo di recupero.", - "The email address is not deliverable. Please provide another recovery address.": "The email address is not deliverable. Please provide another recovery address." + "The email address is not deliverable. Please provide another recovery address.": "The email address is not deliverable. Please provide another recovery address.", + "Murena Workspace will be back fully soon! Please read this guide to know more.": "Murena Workspace tornerà presto completamente operativo! Si prega di leggere questa guida per saperne di più." },"pluralForm" :"nplurals=2; plural=n != 1;" } \ No newline at end of file diff --git a/scss/email-recovery.scss b/scss/email-recovery.scss index aa010b6bdfb16990e034b0c495dc6b325ceeca8a..facc5c2a9cfb2bce13362bbbd7dc37be2ddaa9b3 100644 --- a/scss/email-recovery.scss +++ b/scss/email-recovery.scss @@ -7,7 +7,7 @@ box-sizing: border-box; justify-content: center; align-items: center; - background: #333333; + background: var(--color-primary-element); color: #ffffff; font-size: 16px; font-weight: 400; diff --git a/src/email-recovery.js b/src/email-recovery.js index dfb7364f59f02577bc470fa0a62ee95b99b66ae1..53d1aff3f55adae9f90b3b0bb733ba560f81451d 100644 --- a/src/email-recovery.js +++ b/src/email-recovery.js @@ -1,4 +1,3 @@ -import { generateUrl } from '@nextcloud/router' import { loadState } from '@nextcloud/initial-state' const unverifiedRecoveryEmail = loadState('email-recovery', 'unverifiedRecoveryEmail') @@ -7,11 +6,9 @@ document.addEventListener('DOMContentLoaded', function() { const newDiv = createNewDiv('recovery-email-banner') const contentDiv = document.createElement('div') contentDiv.id = 'recovery-email-banner-container' - const img = createImageElement(APPLICATION_NAME) const textNode = createTextNode(APPLICATION_NAME) // const link = createLinkElement(APPLICATION_NAME) - contentDiv.appendChild(img) contentDiv.appendChild(textNode) newDiv.appendChild(contentDiv) // newDiv.appendChild(link) @@ -135,16 +132,6 @@ function createNewDiv(className) { return div } -/** - * - * @param appName - */ -function createImageElement(appName) { - const img = document.createElement('img') - img.src = generateUrl('/custom_apps/' + appName + '/img/warning.svg') - return img -} - /** * * @param appName @@ -155,9 +142,8 @@ 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) + labelText = '📢 ' + t(appName, "Murena Workspace will be back fully soon! Please read this guide to know more.") + p.innerHTML = labelText return p }