]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.cpp
* Fix merging of cells (multicolumn, multirow) when the first cell in the selection...
[lyx.git] / src / insets / InsetInfo.cpp
index e28832ef4e3c92ba75ceef7d9202a151baa3e584..d78793dd8313f56be328aa26c9886e9f6a81bc32 100644 (file)
@@ -39,6 +39,7 @@
 #include "support/filetools.h"
 #include "support/gettext.h"
 #include "support/lstrings.h"
+#include "support/Translator.h"
 
 #include <sstream>
 
@@ -421,7 +422,7 @@ void InsetInfo::updateInfo()
                        break;
                }
                if (name_ == "path") {
-                       setText(from_utf8(buffer().filePath()));
+                       setText(from_utf8(os::latex_path(buffer().filePath())));
                        break;
                }
                if (name_ == "class") {
@@ -448,7 +449,7 @@ void InsetInfo::updateInfo()
                        itype = LyXVC::Date;
                string binfo = buffer().lyxvc().revisionInfo(itype);
                if (binfo.empty())
-                       setText(bformat(_("%1$s unknown"), from_ascii(name_)));
+                       setText(from_ascii(name_) + " unknown");
                else
                        setText(from_utf8(binfo));
                break;