]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
cleanup before unsubscribing
[lyx.git] / src / BiblioInfo.cpp
index c2761067d33e2975603791703286bc5b83dc303b..8eede65d7b26c8bc223aa4ab6cc740c160708ebc 100644 (file)
@@ -175,8 +175,8 @@ docstring convertLaTeXCommands(docstring const & str)
                        val.insert(2, from_ascii("{"));
                }
                docstring rem;
-               docstring const cnvtd = Encodings::fromLaTeXCommand(val, rem,
-                                                       Encodings::TEXT_CMD);
+               docstring const cnvtd = Encodings::fromLaTeXCommand(val,
+                               Encodings::TEXT_CMD, rem);
                if (!cnvtd.empty()) {
                        // it did, so we'll take that bit and proceed with what's left
                        ret += cnvtd;
@@ -666,7 +666,7 @@ docstring const BiblioInfo::getInfo(docstring const & key,
 {
        BiblioInfo::const_iterator it = find(key);
        if (it == end())
-               return docstring(_("BibTeX entry not found!"));
+               return docstring(_("Bibliography entry not found!"));
        BibTeXInfo const & data = it->second;
        BibTeXInfo const * xrefptr = 0;
        docstring const xref = data.getXRef();