From: Craig Small Date: Tue, 9 Nov 2004 11:25:15 +0000 (+0000) Subject: added common i18n file X-Git-Tag: v22.11~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c03ca19975dbaaa4cd32a80dc30755fa4fc44b36;p=psmisc added common i18n file --- diff --git a/src/i18n.h b/src/i18n.h new file mode 100644 index 0000000..736a487 --- /dev/null +++ b/src/i18n.h @@ -0,0 +1,19 @@ +/* i18n.h - common i18n declarations for psmisc programs. */ + +#ifndef I18N_H +#define I18N_H + +#ifdef HAVE_CONFIG_H +#include +#endif + +#ifdef ENABLE_NLS +#include +#include +#define _(String) gettext (String) +#else +#define _(String) (String) +#endif + +#endif +