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: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] spelling fixes (PR#1526)
From: Thanasis Kinias <tkinias@xxxxxxxxxxxxx>
Date: Mon, 3 Jun 2002 07:39:16 -0700

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.  

(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]