Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] Re: patch: gtk client's locale
Home

[Freeciv-Dev] Re: patch: gtk client's locale

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: patch: gtk client's locale
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Sat, 20 May 2000 16:48:16 -0400

This points out that we seem in general to not be informing the C library
of the locale.  The attached patch includes Sawada's, and adds calls for
all clients and the server.

At 2000/05/05 02:16 , amanatto@xxxxxxxxxxxxxxxx wrote:
>
>Please merge this patch. Otherwise, Japanese character was breoken.
>
>--
>SAWADA Katsuya
>
>Index: gui_main.c
>===================================================================
>RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/gui_main.c,v
>retrieving revision 1.59
>diff -c -r1.59 gui_main.c
>*** gui_main.c 2000/04/23 23:28:02     1.59
>--- gui_main.c 2000/05/05 06:01:10
>***************
>*** 564,569 ****
>--- 564,572 ----
>  
>    parse_options(argc, argv);
>  
>+ #ifdef ENABLE_NLS
>+   gtk_set_locale();
>+ #endif
>    /* GTK withdraw gtk options */
>    /* Process GTK arguments */
>    gtk_init(&argc, &argv);
> 

Attachment: setlocale-0.diff
Description: Text document

jjm

[Prev in Thread] Current Thread [Next in Thread]