5 #error "config.h must be included prior to glibintl.h"
8 G_CONST_RETURN gchar *glib_gettext (const gchar *str);
13 #define _(String) glib_gettext(String)
14 /* Split out this in the code, but keep it in the same domain for now */
15 #define P_(String) glib_gettext(String)
18 #define N_(String) gettext_noop(String)
20 #define N_(String) (String)
22 #else /* NLS is disabled */
23 #define _(String) (String)
24 #define N_(String) (String)
25 #define P_(String) (String)
26 #define textdomain(String) (String)
27 #define gettext(String) (String)
28 #define dgettext(Domain,String) (String)
29 #define dcgettext(Domain,String,Type) (String)
30 #define dngettext(Domain,String1,String2,N) ((N) == 1 ? (String1) : (String2))
31 #define bindtextdomain(Domain,Directory) (Domain)
34 /* not really I18N-related, but also a string marker macro */
35 #define I_(string) g_intern_static_string (string)
37 #endif /* __GLIBINTL_H__ */