summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-07-26 04:17:17 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-07-26 04:17:17 +0000
commit33a6787f51503d1b24f42e57cf365a48378dd56e (patch)
treeed1f566f37269e6928ad733301b9529022f9c4cd /plugins/common.h
parent35d8e3500946289de2638596bc0f93b044acc42c (diff)
downloadmonitoring-plugins-33a6787f51503d1b24f42e57cf365a48378dd56e.tar.gz
checkins for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@598 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 21facfc4..2456c417 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