]> git.lyx.org Git - lyx.git/blobdiff - src/gettext.C
Fixes for/in insettabular/text.
[lyx.git] / src / gettext.C
index 1bed23dce01f1873db42d1911578456e0fbd123f..ef13c283eaf6b25d2f6f9e2b3441e8fc0da79eab 100644 (file)
@@ -3,6 +3,7 @@
 #include "LString.h"
 #include "gettext.h"
 
+#ifdef ENABLE_NLS
 
 char const * _(char const * str)
 {
@@ -16,7 +17,9 @@ string const _(string const & str)
        char * tmp = new char[s + 1];
        str.copy(tmp, s);
        tmp[s] = '\0';
-       string ret(_(tmp));
+       string ret(gettext(tmp));
        delete [] tmp;
        return ret;
 }
+
+#endif