]> git.lyx.org Git - lyx.git/blobdiff - src/gettext.h
hopefully fix tex2lyx linking.
[lyx.git] / src / gettext.h
index a53042c1006e2d21765b4c34bd93ef758ab170a1..0783413b5eb6bd6a9ac8823201707180de15b480 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file gettext.h
+ * \file src/gettext.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
 #ifndef GETTEXT_H
 #define GETTEXT_H
 
-#include <string>
+#include "support/docstring.h"
+
+
+namespace lyx {
 
 /*
  * Native Language Support
@@ -47,7 +50,7 @@
 //#ifdef ENABLE_NLS
 
 ///
-std::string const _(std::string const &);
+docstring const _(std::string const &);
 
 //#else // ENABLE_NLS
 
@@ -61,4 +64,7 @@ std::string const _(std::string const &);
 ///
 void locale_init();
 
+
+} // namespace lyx
+
 #endif