Revision 14482,
553 bytes
checked in by ghudson, 25 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r14481,
which included commits to RCS files with non-trunk default branches.
|
Rev | Line | |
---|
[14481] | 1 | #ifndef __GTKINTL_H__ |
---|
| 2 | #define __GTKINTL_H__ |
---|
| 3 | |
---|
| 4 | #include "config.h" |
---|
| 5 | |
---|
| 6 | #ifdef ENABLE_NLS |
---|
| 7 | #include<libintl.h> |
---|
| 8 | #define _(String) dgettext("gtk+",String) |
---|
| 9 | #ifdef gettext_noop |
---|
| 10 | #define N_(String) gettext_noop(String) |
---|
| 11 | #else |
---|
| 12 | #define N_(String) (String) |
---|
| 13 | #endif |
---|
| 14 | #else /* NLS is disabled */ |
---|
| 15 | #define _(String) (String) |
---|
| 16 | #define N_(String) (String) |
---|
| 17 | #define textdomain(String) (String) |
---|
| 18 | #define gettext(String) (String) |
---|
| 19 | #define dgettext(Domain,String) (String) |
---|
| 20 | #define dcgettext(Domain,String,Type) (String) |
---|
| 21 | #define bindtextdomain(Domain,Directory) (Domain) |
---|
| 22 | #endif |
---|
| 23 | |
---|
| 24 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.