1 #ifndef __INTL_H__
2 #define __INTL_H__
3 
4 #ifdef HAVE_CONFIG_H
5 #include "config.h"
6 #endif /* Def: HAVE_CONFIG_H */
7 
8 #ifdef ENABLE_NLS
9 #include <libintl.h>
10 #define _(String) dgettext(PACKAGE,String)
11 #define N_(String) (String)
12 #else /* NLS is disabled */
13 #define _(String) (String)
14 #define N_(String) (String)
15 #define textdomain(String) (String)
16 #define gettext(String) (String)
17 #define dgettext(Domain,String) (String)
18 #define dcgettext(Domain,String,Type) (String)
19 #define bindtextdomain(Domain,Directory) (Domain)
20 #endif
21 
22 #endif
23