From 15a700b6b3d89cb44420865b19e81ab3124aa242 Mon Sep 17 00:00:00 2001 From: Weblate Date: Mon, 11 Jan 2021 16:15:44 +0100 Subject: [PATCH 1/3] Translated using Weblate (English) Currently translated at 100.0% (1411 of 1411 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ --- www/common/translations/messages.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/translations/messages.json b/www/common/translations/messages.json index e2d9a0533..3e94aab03 100644 --- a/www/common/translations/messages.json +++ b/www/common/translations/messages.json @@ -1506,5 +1506,6 @@ "admin_support_first": "Created on: ", "admin_support_last": "Updated on: ", "access_offline": "You are currently offline. Access management is not available.", - "share_noContactsOffline": "You are currently offline. Contacts are not available." + "share_noContactsOffline": "You are currently offline. Contacts are not available.", + "offlineError": "OFFLINE MODE NOT AVAILABLE" } From 5da03ecf31561ddfb2bf767a978dac083fbab779 Mon Sep 17 00:00:00 2001 From: Weblate Date: Mon, 11 Jan 2021 16:15:44 +0100 Subject: [PATCH 2/3] Translated using Weblate (French) Currently translated at 100.0% (1411 of 1411 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/fr/ Translated using Weblate (French) Currently translated at 100.0% (1410 of 1410 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/fr/ --- www/common/translations/messages.fr.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/translations/messages.fr.json b/www/common/translations/messages.fr.json index 7ceefbaa6..aeca9722f 100644 --- a/www/common/translations/messages.fr.json +++ b/www/common/translations/messages.fr.json @@ -1506,5 +1506,6 @@ "admin_support_closed": "Tickets fermé :", "admin_support_answered": "Tickets traité :", "admin_support_normal": "Tickets sans réponse :", - "admin_support_premium": "Tickets prime  :" + "admin_support_premium": "Tickets prime :", + "offlineError": "MODE HORS LIGNE NON DISPONIBLE" } From 7cd637624ee5d05213f02959351ee7062bcf51fa Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 11 Jan 2021 20:47:42 +0530 Subject: [PATCH 3/3] remove XXX notes --- customize.dist/loading.js | 1 - www/common/drive-ui.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/customize.dist/loading.js b/customize.dist/loading.js index 5d90f37f9..cc19d3544 100644 --- a/customize.dist/loading.js +++ b/customize.dist/loading.js @@ -321,7 +321,6 @@ button:not(.btn).primary:hover{ if (data.type === "offline") { try { isOffline = true; - Messages.offlineError = "OFFLINE MODE NOT AVAILABLE"; // XXX document.querySelector('#cp-loading-message').setAttribute('style', 'display:block;'); document.querySelector('#cp-loading-message').innerText = Messages.offlineError; } catch (e) { console.error(e); } diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index d6679e683..ca44e0164 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4377,7 +4377,7 @@ define([ if (manager.isFolder(el) && !manager.isSharedFolder(el) && !anonDrive) { // Folder // disconnected if (!APP.editable) { - return void UI.warn(Messages.error); // XXX + return void UI.warn(Messages.error); } // if folder is inside SF else if (manager.isInSharedFolder(paths[0].path)) {