Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2005:
[Freeciv-Dev] Re: (PR#13940) i18n bugs in Win32 version
Home

[Freeciv-Dev] Re: (PR#13940) i18n bugs in Win32 version

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#13940) i18n bugs in Win32 version
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Sun, 11 Sep 2005 11:30:50 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13940 >

On Sun, Sep 11, 2005 at 06:10:09AM -0700, Christian Knoke wrote:
> 
> > So at least for the first screenshot the problem is simply that they're 
> > not marked for translation.  I assume the others are the same.  It 
> > should be easy to fix any problem once we know exactly which text isn't 
> > translated.  Auditing the code for untranslated text is a bit harder: 
> > especially in some cases it's not obvious.  For the second screenshot:
> 
> Since nearly everything in the code is translated, maybe it is nevertheless
> possible to grep for untranslated strings and check them?

I found the following supicious lines. Attached. Incomplete.

To check the  N_() functions you can grep like
chris@karl:~/freeciv/cvs/s20/client/gui-win32$ egrep -H -n -C 2 'N_\(' *.c

Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.

connectdlg.c:694:  printf("Timer\n");
connectdlg.c:726:    printf("T2\n");
connectdlg.c:834:  my_snprintf(buf, sizeof(buf), "/%s", 
skill_level_names[aiskill]);
dialogs.c:501:  races_class = fcwin_box_add_static(hbox, "content", 0, SS_LEFT, 
TRUE, TRUE,5);
dialogs.c:506:  races_legend = fcwin_box_add_static(grp_box, "content\n\n\nc", 
SS_LEFT,
dialogs.c:722:  if (!(unit_select_main=CreateWindow("freecivunitselect","Unit 
Selection",
gotodlg.c:194:        sz_strlcat(name, "(A)");
graphics.c:419:    MessageBox(NULL, "failed reading", filename, MB_OK);
helpdlg.c-612-        get_tile_type(ptype->irrigation_result)->terrain_name,
helpdlg.c-626-        get_tile_type(ptype->mining_result)->terrain_name,
helpdlg.c-633-        get_tile_type(ptype->transform_result)->terrain_name,
helpdlg.c:636:      strcpy(buf, "n/a");

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