i18n patch
Clive Lin
clive@CirX.ORG
Thu, 17 Aug 2000 17:44:05 +0800
--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi, All
I've ported gpa to FreeBSD and it's in ports collection now.
I did some small patches to fit porting.
Here is the patch for gpa to handle multibytes languages properly.
I'll check other patches against the gpa cvs code in the future
and submit them.
Thanks you all for bring gpa to us :-) Thank you.
Regards,
Clive
--
CirX - This site doesnt' exist.
9c k9o h9 s1bg s1f, 7v .y xqx a sj m8r ffg1 vg5 a6 asox tmul h38 .
ant sj m8r ob ? 1fj mwby a1 tao vg5. soq df v ' .a. CirX.
--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=i18ndiff
Index: gpa.c
===================================================================
RCS file: /home/koch/cvs/gpa/src/gpa.c,v
retrieving revision 1.24
diff -u -r1.24 gpa.c
--- gpa.c 2000/07/25 11:25:28 1.24
+++ gpa.c 2000/08/17 09:36:44
@@ -132,12 +132,7 @@
set_gettext_file( PACKAGE );
#else
#ifdef ENABLE_NLS
- #ifdef HAVE_LC_MESSAGES
- setlocale( LC_TIME, "" );
- setlocale( LC_MESSAGES, "" );
- #else
- setlocale( LC_ALL, "" );
- #endif
+ gtk_set_locale ();
bindtextdomain( PACKAGE, GPA_LOCALEDIR );
textdomain( PACKAGE );
#endif
@@ -161,9 +156,9 @@
set_strusage( my_strusage );
/*log_set_name ("gpa"); not yet implemented in logging.c */
- i18n_init ();
srand (time (NULL)); /* the about dialog uses rand() */
gtk_init (&argc, &argv);
+ i18n_init ();
opt.homedir = getenv("GNUPGHOME");
if( !opt.homedir || !*opt.homedir ) {
--4Ckj6UjgE2iN1+kY--