]> git.lyx.org Git - lyx.git/commitdiff
Give a visual feedback that the BibTeX key could not be found.
authorJulien Rioux <jrioux@lyx.org>
Sat, 3 Dec 2011 22:24:44 +0000 (22:24 +0000)
committerJulien Rioux <jrioux@lyx.org>
Sat, 3 Dec 2011 22:24:44 +0000 (22:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40349 a592a061-630c-0410-9148-cb99ea01b6c8

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();