diff options
author | Werner Koch <[email protected]> | 1999-09-15 14:26:39 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1999-09-15 14:26:39 +0000 |
commit | dcaaa9223e2d1e0af80ddc2d3d70232cbac60d55 (patch) | |
tree | ea3c225eda906d79540f9ec5e4b43d18323e2993 /include/i18n.h | |
parent | See ChangeLog: Mon Sep 13 10:55:14 CEST 1999 Werner Koch (diff) | |
download | gnupg-1-0-2.tar.gz gnupg-1-0-2.zip |
See ChangeLog: Wed Sep 15 16:22:17 CEST 1999 Werner KochV1-0-4V1-0-3V1-0-2V1-0-1-ePit-1
Diffstat (limited to 'include/i18n.h')
-rw-r--r-- | include/i18n.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/i18n.h b/include/i18n.h index 105a64328..5caf86e92 100644 --- a/include/i18n.h +++ b/include/i18n.h @@ -21,6 +21,14 @@ #ifndef G10_I18N_H #define G10_I18N_H +#ifdef USE_SIMPLE_GETTEXT + int set_gettext_file( const char *filename ); + const char *gettext( const char *msgid ); + + #define _(a) gettext (a) + #define N_(a) (a) + +#else #ifdef HAVE_LOCALE_H #include <locale.h> /* suggested by Ernst Molitor */ #endif @@ -37,5 +45,6 @@ #define _(a) (a) #define N_(a) (a) #endif +#endif /* !USE_SIMPLE_GETTEXT */ #endif /*G10_I18N_H*/ |