]> git.lyx.org Git - lyx.git/blobdiff - src/gettext.C
hopefully fix tex2lyx linking.
[lyx.git] / src / gettext.C
index ec1ea632521d3bcb71b921bfc3281cb502d0a160..925e433363d50ab80972a4c4c70d3f5df129db64 100644 (file)
 #include "gettext.h"
 #include "messages.h"
 #include "support/environment.h"
-#include "support/docstring.h"
+
+
+namespace lyx {
 
 #ifdef HAVE_LOCALE_H
 #  include <locale.h>
 #endif
 
-using lyx::support::setEnv;
-using lyx::docstring;
+using support::setEnv;
 
 using std::string;
 
 
 namespace {
 
-Messages & getLyXMessages()
+static Messages & getLyXMessages()
 {
        static Messages lyx_messages;
 
@@ -65,3 +66,6 @@ void locale_init()
 }
 
 #endif
+
+
+} // namespace lyx