mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
correct the gettext format of the displayed error message for unknown vcs buffer-info insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35960 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dd47d55f27
commit
81b0f275a8
@ -437,9 +437,10 @@ void InsetInfo::updateInfo()
|
||||
else if (name_ == "vcs-date")
|
||||
itype = LyXVC::Date;
|
||||
string binfo = buffer().lyxvc().revisionInfo(itype);
|
||||
if (binfo.empty())
|
||||
setText(bformat(_("[[%1$s unknown]]"), from_utf8(name_)));
|
||||
else
|
||||
if (binfo.empty()) {
|
||||
docstring fmt = _("%1$s unknown[[InsetNote]]");
|
||||
setText(bformat(fmt, from_utf8(name_)));
|
||||
} else
|
||||
setText(from_utf8(binfo));
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user