X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetInfo.cpp;h=2c3943effdb643f1a62aad49c19257553070885b;hb=f5123ccfa82215030c70561af881175d92244492;hp=6fee48de2fb71c7934e56339d75fea24c2995ea3;hpb=81b0f275a88f820f50569f9c869ab8a7f5173970;p=lyx.git diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index 6fee48de2f..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[[InsetNote]]"); - setText(bformat(fmt, from_utf8(name_))); - } else + if (binfo.empty()) + setText(bformat(_("%1$s unknown"), from_ascii(name_))); + else setText(from_utf8(binfo)); break; }