diff options
Diffstat (limited to 'plugins/common.h')
-rw-r--r-- | plugins/common.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/plugins/common.h b/plugins/common.h index 21facfc..2456c41 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -156,7 +156,14 @@ enum { | |||
156 | * | 156 | * |
157 | */ | 157 | */ |
158 | 158 | ||
159 | #define _(String) (String) | 159 | #if ENABLE_NLS |
160 | #define N_(String) String | 160 | # include "gettext.h" |
161 | #define textdomain(Domain) | 161 | # define _(String) gettext (String) |
162 | #define bindtextdomain(Package, Directory) | 162 | # define gettext_noop(String) String |
163 | # define N_(String) gettext_noop String | ||
164 | #else | ||
165 | # define _(String) (String) | ||
166 | # define N_(String) String | ||
167 | # define textdomain(Domain) | ||
168 | # define bindtextdomain(Package, Directory) | ||
169 | #endif | ||