]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
Give a visual feedback that the BibTeX key could not be found.
[lyx.git] / src / BiblioInfo.cpp
index 7d64a9aec8d6b7d7678be6c4fb9fd754d88f9fa6..c2761067d33e2975603791703286bc5b83dc303b 100644 (file)
@@ -666,7 +666,7 @@ docstring const BiblioInfo::getInfo(docstring const & key,
 {
        BiblioInfo::const_iterator it = find(key);
        if (it == end())
-               return docstring();
+               return docstring(_("BibTeX entry not found!"));
        BibTeXInfo const & data = it->second;
        BibTeXInfo const * xrefptr = 0;
        docstring const xref = data.getXRef();