diff --git a/browser/src/control/Control.Menubar.js b/browser/src/control/Control.Menubar.js index 81b10467c..724372e35 100644 --- a/browser/src/control/Control.Menubar.js +++ b/browser/src/control/Control.Menubar.js @@ -1639,6 +1639,7 @@ L.Control.Menubar = L.Control.extend({ } else { // eslint-disable-next-line no-lonely-if if (type === 'unocommand') { // disable all uno commands $(aItem).addClass('disabled'); + aItem.title = _('Read-only mode'); } else if (type === 'action') { // disable all except allowedViewModeActions var found = false; for (var i in self.options.allowedViewModeActions) { @@ -1651,6 +1652,7 @@ L.Control.Menubar = L.Control.extend({ found = false; if (!found) { $(aItem).addClass('disabled'); + aItem.title = _('Read-only mode'); } else { $(aItem).removeClass('disabled'); }