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-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Nonformat string marked as c-format
From: Erik Sigra <sigra@xxxxxxx>
Date: Thu, 5 Jul 2001 23:44:37 +0200
Reply-to: sigra@xxxxxxx

Thursday 05 July 2001 11:55 skrev Christian Knoke:
> 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.

That is most likely the actual reason but it is still not a valid reason. It 
shouldn't be marked as c-format.


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