Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Re: Minor bugs
Home

[Freeciv-Dev] Re: Minor bugs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Minor bugs
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Mon, 14 Feb 2000 13:17:32 -0500

At 2000/02/14 11:34 , Pascal Audoux wrote:
>* With the Xaw client (I don't try with the GTK one) in the
>"Choose-technology-to-search window" , there is stg strange :
>It's written "Help : No" but if I click on, it changes in "Help : Oui"
>and if I click again "Help : Non" which is the correct translation...
>So why the first time it writes "No" instead of "Non" ??
>
>An other pb is the year : it writes "BC"
>or "AD" and we can't change it. (it's harcoded, it seems)
>
>it seems that (in common/shared.c), you should change this function :
>
>char *textyear(int year)
>{
>  static char y[10];
>  if (year<0)
>    my_snprintf(y, sizeof(y), "%d BC", -year);
>  else
>    my_snprintf(y, sizeof(y), "%d AD", year);
>  return y;
>}    
>
>Warning : y[10] may be too short in french...

The attached patch fixes these two problems.

Attachment: two-i18n-bugs-0.diff
Description: Text document

jjm

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