]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.cpp
Inset::addToToc(): change signature. Use DocIterator instead of ParConstIterator...
[lyx.git] / src / insets / InsetInfo.cpp
index 442928b7c469bfa69e6a5097a7043564a01cf867..9a86168862a433e03ee9ca35383f6b92bcbdf145 100644 (file)
@@ -208,12 +208,13 @@ void InsetInfo::updateInfo()
                vector<docstring> names;
                FuncRequest func = lyxaction.lookupFunc(name_);
                if (func.action == LFUN_UNKNOWN_ACTION) {
-                       setText(_("No menu entry for "), bp.getFont(), false);
+                       setText(bformat(_("Unknown action %1$s"), from_utf8(name_)), bp.getFont(), false);
                        break;
                }
                // iterate through the menubackend to find it
                if (!theApp()->searchMenu(func, names)) {
-                       setText(_("No menu entry for "), bp.getFont(), false);
+                       setText(bformat(_("No menu entry for action %1$s"), from_utf8(name_)),
+                               bp.getFont(), false);
                        break;
                }
                // if find, return its path.