Revision 22512,
554 bytes
checked in by ghudson, 18 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r22511,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | #ifndef GE_NLS_H |
---|
2 | #define GE_NLS_H |
---|
3 | |
---|
4 | #ifdef HAVE_CONFIG_H |
---|
5 | # include <gaim-encryption-config.h> |
---|
6 | #endif |
---|
7 | |
---|
8 | #ifdef ENABLE_NLS |
---|
9 | |
---|
10 | #ifdef _ |
---|
11 | # undef _ |
---|
12 | #endif |
---|
13 | |
---|
14 | #ifdef N_ |
---|
15 | # undef N_ |
---|
16 | #endif |
---|
17 | |
---|
18 | # include <locale.h> |
---|
19 | # include <libintl.h> |
---|
20 | # define _(x) dgettext(ENC_PACKAGE, x) |
---|
21 | # ifdef gettext_noop |
---|
22 | # define N_(String) gettext_noop (String) |
---|
23 | # else |
---|
24 | # define N_(String) (String) |
---|
25 | # endif |
---|
26 | #else |
---|
27 | # include <locale.h> |
---|
28 | # define N_(String) (String) |
---|
29 | # define _(x) (x) |
---|
30 | # define ngettext(Singular, Plural, Number) ((Number == 1) ? (Singular) : (Plural)) |
---|
31 | #endif |
---|
32 | |
---|
33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.