]> git.lyx.org Git - lyx.git/blobdiff - src/gettext.C
add comment
[lyx.git] / src / gettext.C
index 55b2ef80821f79cd55665386522d35198d16868f..46053cfc59e5407e4e66316470accbf6ed59e26d 100644 (file)
@@ -29,21 +29,9 @@ using support::setEnv;
 using std::string;
 
 
-namespace {
-
-static Messages & getLyXMessages()
-{
-       static Messages lyx_messages;
-
-       return lyx_messages;
-}
-
-} // anon namespace
-
-
 docstring const _(string const & str)
 {
-       return getLyXMessages().get(str);
+       return getGuiMessages().get(str);
 }