]> git.lyx.org Git - lyx.git/blobdiff - src/gettext.h
ws change
[lyx.git] / src / gettext.h
index ebd358a739535c0e7af6b69a36b54a242f80db9d..002d2bc563e818a58e51eb2394e452fd58fa5548 100644 (file)
  *   Panic/fatal (that should not happen) messages need not be translated
  */
 
-#ifdef ENABLE_NLS
-
 #include "LString.h"
 
+#ifdef ENABLE_NLS
+
 ///
 char const * _(char const *);
 ///
 string const _(string const &);
-///
-void locale_init();
-///
-void gettext_init(string const & localedir);
 
-#else
+#else // ENABLE_NLS
+
 ///
 #  define _(str) (str)
 ///
 #  define S_(str) (str)
-///
-#  define locale_init()
-///
-#  define gettext_init(package, localedir)
 
 #endif
 
 #  define N_(str) (str)              // for detecting static strings
 
+///
+void locale_init();
+///
+void gettext_init(string const & localedir);
+
 #endif