Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: [PATCH] spelling fixes (PR#1526)
Home

[Freeciv-Dev] Re: [PATCH] spelling fixes (PR#1526)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Thanasis Kinias <tkinias@xxxxxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] spelling fixes (PR#1526)
From: Daniel L Speyer <dspeyer@xxxxxxxxxxx>
Date: Mon, 3 Jun 2002 11:17:40 -0400 (EDT)

On Mon, 3 Jun 2002, Thanasis Kinias wrote:

> scripsit Arnaldo Carvalho de Melo:
> > Hi,
> > 
> >     Please consider applying, this is the one we're using in Conectiva
> > Linux.
> > 
> > - Arnaldo
> 
> If you're patching, I would recommend following the usage of the Chicago
> Manual of Style, which is 1st, 2d, 3d, 4th, etc.  This isn't the most
> common in popular writing, but (for American English at least) is the
> preferred style for formal writing.  
> 

In the beginning there was Unix, and Unix spoke, and it said "Hello
world!".  It did not say "Hello United States of America" nor "Hello
English speakers."...

Seriously, though, we should try to handle this generally enough to
support at least all the languages we're currently translated
to.  Hardcoding english's quirks seems like a very bad move.

--Daniel Speyer
If you *don't* consider sharing information to be morally equivalent to 
kidnapping and murder on the high seas, you probably shouldn't use the
phrase "software piracy."

> (The Chicago Manual of Style is the `bible' for questions like this in
> American English.  I don't know if there's an equivalent reference book
> for Commonwealth English.)
> 
> Therefore 
> 
> if ((num % 10) == 1 && num != 11)
>   my_snprintf(buf, sizeof(buf), fmt, num, _("st"));
> else if ((num % 10) == 2 && (num % 10) == 3 && num != 12 && num != 13)
>   my_snprintf(buf, sizeof(buf), fmt, num, _("d"));
> else 
>   my_snprintf(buf, sizeof(buf), fmt, num, _("th"));
> 
> -- 
> Thanasis Kinias
> Web Developer, Information Technology
> Graduate Student, Department of History
> Arizona State University
> Tempe, Arizona, U.S.A.
> 
> Ash nazg durbatulūk, ash nazg gimbatul,
> Ash nazg thrakatulūk agh burzum-ishi krimpatul
> 
> 
> 



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