]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.cpp
Allow automatic text direction in Painter::text()
[lyx.git] / src / mathed / InsetMathSize.cpp
index a638f43851d368fbdfde456c37edda9185b57c0c..dc79652fad105a311e99eafcfa531baaee9253ff 100644 (file)
 #include "output_xhtml.h"
 
 #include "support/convert.h"
+#include "support/gettext.h"
+#include "support/lstrings.h"
 
 #include <string>
 #include <ostream>
 
+using namespace lyx::support;
 using namespace std;
 
 namespace lyx {
@@ -101,7 +104,7 @@ void InsetMathSize::normalize(NormalStream & os) const
 
 void InsetMathSize::infoize(odocstream & os) const
 {
-       os << "Size: " << key_->name;
+       os << bformat(_("Size: %1$s"), key_->name);
 }