From c03ca19975dbaaa4cd32a80dc30755fa4fc44b36 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Tue, 9 Nov 2004 11:25:15 +0000 Subject: [PATCH] added common i18n file --- src/i18n.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/i18n.h 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 + -- 2.40.0