diff --git a/customize.dist/loading.js b/customize.dist/loading.js index 72ebeda8b..819e0d89d 100644 --- a/customize.dist/loading.js +++ b/customize.dist/loading.js @@ -333,7 +333,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 3cec98027..972675487 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4368,7 +4368,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)) { 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" } 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" }