27 #define CWIDGET_DOMAIN "libcwidget3"
33 #ifndef HAVE_SETLOCALE
34 inline void setlocale(
int,
const char *)
42 # define _(Text) dgettext (CWIDGET_DOMAIN, Text)
43 # define W_(Text) transcode ( _(Text) )
44 # define N_(Text) Text
50 __attribute__ ((format_arg(1)))
52 inline const char *P_(
const char *Text)
54 const char *
const translation = dgettext(CWIDGET_DOMAIN, Text);
55 const char *
const stripto = strchr(translation,
'|');
64 # undef bindtextdomain
65 # define bindtextdomain(Domain, Directory)
67 # define textdomain(Domain)
69 # define N_(Text) Text
70 inline const char *P_(
const char *Text)
72 const char *
const stripto = strchr(Text,
'|');
75 # define gettext(Text) Text
76 # define dgettext(Domain, Text) Text