Notebookbar: Fix statusbar and ruler labels

They are toggles and not just on switchers

ref: 71831e2733

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If3b1af0097723ba0caf66804dbb4e4e219f79abc
This commit is contained in:
Pedro Pinto Silva 2022-01-31 13:42:11 +01:00 committed by pedropintosilva
parent 1554b05a20
commit 33aadfbcb7

View file

@ -1068,7 +1068,7 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
{
'id': 'showruler',
'type': 'menubartoolitem',
'text': _('Show Ruler'),
'text': _('Toggle Ruler'),
'command': _('Show Ruler')
}
]
@ -1079,7 +1079,7 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
{
'id': 'showstatusbar',
'type': 'menubartoolitem',
'text': _('Show Status Bar'),
'text': _('Toggle Status Bar'),
'command': _('Show Status Bar')
}
]