]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/gettext.C
* support/qstring_helpers.h: erase ucs4_to_qstring() method.
[lyx.git] / src / tex2lyx / gettext.C
index 22a98a9953e5d59ef467bcb8a3d491107ca82413..5758fc1b98a2f8ab8e07584883ee26908624eddb 100644 (file)
@@ -1,23 +1,30 @@
 /**
- * \file gettext.C
+ * \file tex2lyx/gettext.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
 #include "gettext.h"
 
-string const _(string const & str)
+
+namespace lyx {
+
+
+docstring const _(std::string const & str)
 {
-       return str;
+       return from_ascii(str);
 }
 
 
 void locale_init()
 {}
+
+
+} // namespace lyx