mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
remove the translation context for vcs buffer info message for unimplemented features, the name of vcs info is hardcoded and ascii only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35965 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9ef7efd85a
commit
85b09e9d04
@ -437,10 +437,9 @@ void InsetInfo::updateInfo()
|
|||||||
else if (name_ == "vcs-date")
|
else if (name_ == "vcs-date")
|
||||||
itype = LyXVC::Date;
|
itype = LyXVC::Date;
|
||||||
string binfo = buffer().lyxvc().revisionInfo(itype);
|
string binfo = buffer().lyxvc().revisionInfo(itype);
|
||||||
if (binfo.empty()) {
|
if (binfo.empty())
|
||||||
docstring fmt = _("%1$s unknown[[InsetInfo]]");
|
setText(bformat(_("%1$s unknown"), from_ascii(name_)));
|
||||||
setText(bformat(fmt, from_utf8(name_)));
|
else
|
||||||
} else
|
|
||||||
setText(from_utf8(binfo));
|
setText(from_utf8(binfo));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user