Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: main map have gtk1.2 font problem (i18n) (PR#1606)
Home

[Freeciv-Dev] Re: main map have gtk1.2 font problem (i18n) (PR#1606)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: main map have gtk1.2 font problem (i18n) (PR#1606)
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Tue, 25 Jun 2002 20:21:24 -0700 (PDT)

I installed Japanese kterm and message files on my machine to debug i18n.

If anyone wants to see how the client is looking in ja_JP.eucJP:

<http://www.freeciv.org/~vas>

I seem to have some lousy fonts that make GtkEntrys look huge, but other
than that it seems to be much better with the latest patch.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa

On Tue, 25 Jun 2002, Vasco Alexandre Da Silva Costa wrote:

> On Tue, 25 Jun 2002, Vasco Alexandre Da Silva Costa wrote:
> > On Tue, 25 Jun 2002, Raimar Falke wrote:
> >
> > > On Tue, Jun 25, 2002 at 02:35:11PM -0700, Vasco Alexandre Da Silva Costa 
> > > wrote:
> > > > This patch adds the bind_textdomain_codeset() call. With it the text in
> > > > the GTK+ widgets should be displayed fine both in ja_JP.eucJP and
> > > > ja_JP.UTF-8. I still need to make the other changes.
> > >
> > > The patch doesn't fit this description.
> >
> > Ah yes. Well you need to look at client/gui-gtk-2.0/gui_main.c and read
> > the ui_init() function in there to see the call. When i did my previous
> > commit i added it prematurely by mistake. Oops.
>
> This patch makes freelog output text in the local charset. I moved the
> bind_textdomain_codeset call (actually ui_init) after log_init. This means
> the fprintf's to stderr done before log_init will work since the strings
> will be in the local charset.
> I hope nothing before log_init stores any strings in the local charset that
> I don't convert afterwards like player_name, metaserver and server_host.
>
> Files are still written in UTF-8 and read in the local charset. This is
> probably asking for trouble. I also need to change my_strerror().
>
> ---
> Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
>
>
>




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