From: Julien Rioux Date: Sat, 3 Dec 2011 22:24:44 +0000 (+0000) Subject: Give a visual feedback that the BibTeX key could not be found. X-Git-Tag: 2.1.0beta1~2293 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7aee04217d33604f6bfcd2c8e7422dc7520ed193;p=lyx.git Give a visual feedback that the BibTeX key could not be found. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40349 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index 7d64a9aec8..c2761067d3 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -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();