Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2001:
[Freeciv-Dev] Re: Nonformat string marked as c-format
Home

[Freeciv-Dev] Re: Nonformat string marked as c-format

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Nonformat string marked as c-format
From: Christian Knoke <ChrisK@xxxxxxxx>
Date: Thu, 5 Jul 2001 11:55:53 +0200

Am Donnerstag,  5. Juli 2001 11:47 schrieben Sie:
> from the freeciv.pot:
>
> #: server/stdinhand.c:549
> #, c-format
> msgid ""
> "A Diplomat or Spy acting against a city which has one or more
> defending " "Diplomats or Spies has a diplchance (percent) chance to
> defeat each such " "defender.  Also, the chance of a Spy returning
> from a successful mission is " "diplchance percent.  (Diplomats never
> return.)  Also, a basic chance of " "success for Diplomats and Spies.
>  Defending Spys are generally twice as " "capable as Diplomats,
> veteran units 50% more capable than non-veteran ones." msgstr ""
>
>
> Why is it marked as c-format when no substitutions should be done? It
> bothers msgfmt -c. Not only for sv.po.

I guess, the reason is that the percent sign isn't doubled.

Christian

-- 
* Christian Knoke                           +49 4852 92248 *
* D-25541 Brunsbuettel                  Wurtleutetweute 49 *
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



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