]> git.ipfire.org Git - thirdparty/newt.git/blob - nls.h
0.52.24
[thirdparty/newt.git] / nls.h
1
2
3 #ifndef LOCALEDIR
4 #define LOCALEDIR "/usr/share/locale"
5 #endif
6
7 # include <locale.h>
8
9 #ifdef ENABLE_NLS
10 # include <libintl.h>
11 # define _(Text) gettext (Text)
12 #else
13 # define _(Text) (Text)
14 # define dgettext(Package, String) (String)
15 #endif
16
17 # ifdef gettext_noop
18 # define N_(String) gettext_noop (String)
19 # else
20 # define N_(String) (String)
21 # endif
22