InsetInfo - on VCS error we don't want localized output in .tex output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38117 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-03-29 01:43:06 +00:00
parent aff04ce265
commit 29fc2f60be

View File

@ -448,7 +448,7 @@ void InsetInfo::updateInfo()
itype = LyXVC::Date;
string binfo = buffer().lyxvc().revisionInfo(itype);
if (binfo.empty())
setText(bformat(_("%1$s unknown"), from_ascii(name_)));
setText(from_ascii(name_) + " unknown");
else
setText(from_utf8(binfo));
break;