5 #error "config.h must be included prior to glibintl.h"
8 G_CONST_RETURN gchar *glib_gettext (const gchar *str) G_GNUC_FORMAT(1);
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) ? (String) : "messages")
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)
32 #define bind_textdomain_codeset(Domain,Codeset)
35 /* not really I18N-related, but also a string marker macro */
36 #define I_(string) g_intern_static_string (string)
38 #endif /* __GLIBINTL_H__ */