From bd8a0686fb359ef71aebed88d11f969ca8157db1 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 4 Apr 2009 21:10:35 +0000 Subject: [PATCH] Fix the year display in InsetCitation. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29095 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BiblioInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index d98fbf666e..6118dde26d 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -429,10 +429,10 @@ docstring const BiblioInfo::getYear(docstring const & key) const // let's try the crossref docstring const xref = data.getXRef(); if (xref.empty()) - return year; // no luck + return _("No year"); // no luck BiblioInfo::const_iterator const xrefit = find(xref); if (xrefit == end()) - return year; // no luck again + return _("No year"); // no luck again BibTeXInfo const & xref_data = xrefit->second; return xref_data.getYear(); return data.getYear(); -- 2.39.2