aboutsummaryrefslogtreecommitdiffstats
path: root/common/i18n.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-06-06 18:12:30 +0000
committerWerner Koch <[email protected]>2007-06-06 18:12:30 +0000
commit2c9791db555cc571eaedfa71444da05454bd052a (patch)
tree9566d22f85e562e0c7b35dacc1697c9a58fcff1a /common/i18n.h
parentPrint passphrase encoding info only in PEM mode. (diff)
downloadgnupg-2c9791db555cc571eaedfa71444da05454bd052a.tar.gz
gnupg-2c9791db555cc571eaedfa71444da05454bd052a.zip
First steps towards supporting W32.
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
Diffstat (limited to 'common/i18n.h')
-rw-r--r--common/i18n.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/i18n.h b/common/i18n.h
index 56c00abf6..b692feaa7 100644
--- a/common/i18n.h
+++ b/common/i18n.h
@@ -14,11 +14,9 @@
#ifndef GNUPG_COMMON_I18N_H
#define GNUPG_COMMON_I18N_H
+
#ifdef USE_SIMPLE_GETTEXT
- int set_gettext_file( const char *filename );
- const char *gettext( const char *msgid );
- const char *ngettext(const char *msgid1, const char *msgid2,
- unsigned long int n);
+# include "../jnlib/w32help.h"
# define _(a) gettext (a)
# define N_(a) (a)
#else
@@ -40,4 +38,7 @@
# endif
#endif /*!USE_SIMPLE_GETTEXT*/
+void i18n_init (void);
+
+
#endif /*GNUPG_COMMON_I18N_H*/