diff options
author | ewt <ewt> | 1998-10-22 18:32:50 +0000 |
---|---|---|
committer | ewt <ewt> | 1998-10-22 18:32:50 +0000 |
commit | 6b1586fa8cd633bf286e8d9daee3601e4b3686dc (patch) | |
tree | e60507d56df8309ac810ea93a407cefc92a2b6c0 /poptint.h | |
parent | daa8c41cf8677067a07e58dc65e076ee1447758c (diff) | |
download | libpopt-6b1586fa8cd633bf286e8d9daee3601e4b3686dc.tar.gz |
added i18n support
Diffstat (limited to 'poptint.h')
-rw-r--r-- | poptint.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -43,4 +43,22 @@ struct poptContext_s { char * otherHelp; }; +#ifdef HAVE_LIBINTL_H +#include <libintl.h> +#endif + +#ifdef HAVE_GETTEXT +#define _(foo) gettext(foo) +#else +#define _(foo) (foo) +#endif + +#ifdef HAVE_DGETTEXT +#define POPT_(foo) dgettext("popt", foo) +#else +#define POPT_(foo) (foo) +#endif + +#define N_(foo) (foo) + #endif |