]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.cpp
Make listings dialog translatable (mostly strings from InsetListingsParams), fix...
[lyx.git] / src / insets / InsetTOC.cpp
index 801e5aa5653ebded2e66eeb0921f877ff902f582..2c74aea5f2d190b5901609c0d3e7ea913d681e46 100644 (file)
@@ -40,11 +40,11 @@ std::auto_ptr<Inset> InsetTOC::doClone() const
 }
 
 
-docstring const InsetTOC::getScreenLabel(Buffer const &) const
+docstring const InsetTOC::getScreenLabel(Buffer const & buf) const
 {
        if (getCmdName() == "tableofcontents")
-               return _("Table of Contents");
-       return _("Unknown toc list");
+               return buf.B_("Table of Contents");
+       return _("Unknown TOC type");
 }