From 7aee04217d33604f6bfcd2c8e7422dc7520ed193 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Sat, 3 Dec 2011 22:24:44 +0000 Subject: [PATCH 1/1] 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 --- src/BiblioInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2