Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: Minor translation patch for citydialog
Home

[Freeciv-Dev] Re: Minor translation patch for citydialog

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Minor translation patch for citydialog
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Sat, 03 Nov 2001 04:25:37 +0000

On Thu, 1 Nov 2001, kersten@xxxxxxxxxx wrote:
> L.S.,
>
> I hereby donate a minor patch for a better translation of the new
> city dialog.

...

>    } else {
> -    my_snprintf(buf[GROWTH], sizeof(buf[GROWTH]), "%d turn%s",
> -             granaryturns, granaryturns == 1 ? "" : "s");
> +    my_snprintf(buf[GROWTH], sizeof(buf[GROWTH]),
> +        granaryturns == 1 ? _("%d turn") : _("%d turns"), granaryturns);
>    }

Looks like we have a ngettext() candidate.

--
Big Gaute                               http://www.srcf.ucam.org/~gs234/
I just bought FLATBUSH from MICKEY MANTLE!


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