From c928714b0b9dc63b6b7ecb7ba38a6569a45d766d Mon Sep 17 00:00:00 2001 From: Yuriy Skalko Date: Fri, 23 Oct 2020 09:24:53 +0300 Subject: [PATCH] Unify naming of menu items --- src/frontends/qt/Menus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt/Menus.cpp b/src/frontends/qt/Menus.cpp index afe43c70f1..bbfe5d919a 100644 --- a/src/frontends/qt/Menus.cpp +++ b/src/frontends/qt/Menus.cpp @@ -989,7 +989,7 @@ void MenuDefinition::expandDocuments() Buffer * first = theBufferList().first(); if (!first) { - add(MenuItem(MenuItem::Info, qt_(""))); + add(MenuItem(MenuItem::Info, qt_("(No Documents Open)"))); return; } @@ -1055,7 +1055,7 @@ void MenuDefinition::expandBookmarks() } } if (empty) - add(MenuItem(MenuItem::Info, qt_(""))); + add(MenuItem(MenuItem::Info, qt_("(No Bookmarks Saved Yet)"))); } @@ -1243,7 +1243,7 @@ void MenuDefinition::expandFlexInsert( } // FIXME This is a little clunky. if (items_.empty() && type == InsetLayout::CUSTOM && !buf->hasReadonlyFlag()) - add(MenuItem(MenuItem::Help, qt_("No Custom Insets Defined!"))); + add(MenuItem(MenuItem::Help, qt_("(No Custom Insets Defined)"))); }