aboutsummaryrefslogtreecommitdiff
path: root/plugins/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h
index baed12eb..31cc33f1 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -218,6 +218,12 @@ enum {
*/
#include "gettext.h"
#define _(String) gettext (String)
+#if ! ENABLE_NLS
+# undef textdomain
+# define textdomain(Domainname) /* empty */
+# undef bindtextdomain
+# define bindtextdomain(Domainname, Dirname) /* empty */
+#endif
/* For non-GNU compilers to ignore __attribute__ */
#ifndef __GNUC__