X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetInfo.cpp;h=2c3943effdb643f1a62aad49c19257553070885b;hb=f5123ccfa82215030c70561af881175d92244492;hp=0ec533b457900df49ec10082a94b8652bc59553c;hpb=17b3e303351d5701b31cee377d1c9452b1d30c4d;p=lyx.git diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index 0ec533b457..2c3943effd 100644 --- a/src/insets/InsetInfo.cpp +++ b/src/insets/InsetInfo.cpp @@ -437,10 +437,9 @@ void InsetInfo::updateInfo() else if (name_ == "vcs-date") itype = LyXVC::Date; string binfo = buffer().lyxvc().revisionInfo(itype); - if (binfo.empty()) { - docstring fmt = _("%1$s unknown[[InsetInfo]]"); - setText(bformat(fmt, from_utf8(name_))); - } else + if (binfo.empty()) + setText(bformat(_("%1$s unknown"), from_ascii(name_))); + else setText(from_utf8(binfo)); break; }