]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.cpp
Add comment.
[lyx.git] / src / insets / InsetInfo.cpp
index 0ec533b457900df49ec10082a94b8652bc59553c..2c3943effdb643f1a62aad49c19257553070885b 100644 (file)
@@ -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;
        }