X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgettext.h;h=002d2bc563e818a58e51eb2394e452fd58fa5548;hb=dab43e77955e5b21fa556f53143d42e09e439f40;hp=ebd358a739535c0e7af6b69a36b54a242f80db9d;hpb=7d09a8c0e72b879c36587a884fd404f31234ba18;p=lyx.git diff --git a/src/gettext.h b/src/gettext.h index ebd358a739..002d2bc563 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -30,31 +30,29 @@ * 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