diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-07-26 04:17:17 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-07-26 04:17:17 (GMT) |
commit | 33a6787f51503d1b24f42e57cf365a48378dd56e (patch) | |
tree | ed1f566f37269e6928ad733301b9529022f9c4cd /plugins/common.h | |
parent | 35d8e3500946289de2638596bc0f93b044acc42c (diff) | |
download | monitoring-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.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 | ||