diff --git a/plugins/common.h b/plugins/common.h
index 4877eee78b79d4b0c4c1c9cfeb329fb759b6e004..91b454dbe2ea23750e435f3684fba748001f5ede 100644 (file)
--- a/plugins/common.h
+++ b/plugins/common.h
MAX_INPUT_BUFFER = 1024, /* max size of most buffers we use */
MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */
};
+
+/*
+ *
+ * Internationalization
+ *
+ */
+
+#if ENABLE_NLS
+# include "gettext.h"
+# define _(String) gettext (String)
+# define S_(String) gettext (String)
+# define gettext_noop(String) String
+# define N_(String) gettext_noop String
+#else
+# define _(String) (String)
+# define S_(String) (String)
+# define N_(String) String
+# define textdomain(Domain)
+# define bindtextdomain(Package, Directory)
+#endif