Revision 18159,
699 bytes
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18158,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | #ifndef __GLIBINTL_H__ |
---|
2 | #define __GLIBINTL_H__ |
---|
3 | |
---|
4 | #ifndef SIZEOF_CHAR |
---|
5 | #error "config.h must be included prior to glibintl.h" |
---|
6 | #endif |
---|
7 | |
---|
8 | #ifdef ENABLE_NLS |
---|
9 | |
---|
10 | gchar *_glib_gettext (const gchar *str) G_GNUC_FORMAT (1); |
---|
11 | |
---|
12 | #include <libintl.h> |
---|
13 | #define _(String) _glib_gettext(String) |
---|
14 | |
---|
15 | #ifdef gettext_noop |
---|
16 | #define N_(String) gettext_noop(String) |
---|
17 | #else |
---|
18 | #define N_(String) (String) |
---|
19 | #endif |
---|
20 | #else /* NLS is disabled */ |
---|
21 | #define _(String) (String) |
---|
22 | #define N_(String) (String) |
---|
23 | #define textdomain(String) (String) |
---|
24 | #define gettext(String) (String) |
---|
25 | #define dgettext(Domain,String) (String) |
---|
26 | #define dcgettext(Domain,String,Type) (String) |
---|
27 | #define bindtextdomain(Domain,Directory) (Domain) |
---|
28 | #endif |
---|
29 | |
---|
30 | #endif /* __GLIBINTL_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.