[Freeciv-Dev] [bug #14751] configure fails to detect SDL_mixer
Update of bug #14751 (project freeciv): Assigned to:None = cazfi Planned Release:None = 2.1.10 ___ Reply to this item at: http://gna.org/bugs/?14751 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] [bug #14750] Translation issue in 2.1.10. %%
but why is a _c-format_ means format string (so 2 '%' needed) used here? bye Joe --- Den fre 13/11/09 skrev pepeto no-reply.invalid-addr...@gna.org: Fra: pepeto no-reply.invalid-addr...@gna.org Emne: [bug #14750] Translation issue in 2.1.10. %% Til: pepeto pepet...@gmail.com, Joe Hansen joedalt...@yahoo.dk, freeciv-dev@gna.org Dato: fredag 13. november 2009 00.26 Follow-up Comment #1, bug #14750 (project freeciv): Normal strings needs only 1 '%'. However, string used as printf-style format, must have 2 '%' to don't interpret the '%' as the start of an escape sentence. See '$ man 3 printf' for more explanation. In the po files, you can guess the normal number of '%' thanks to the format information: * _no-c-format_ means normal string (so '%' needed). * _c-format_ means format string (so 2 '%' needed). Is that enough as explanation? ___ Reply to this item at: http://gna.org/bugs/?14750 ___ Message posté via/par Gna! http://gna.org/ Trænger du til at se det store billede? Kelkoo giver dig gode tilbud på LCD TV! Se her http://dk.yahoo.com/r/pat/lcd ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #14750] Translation issue in 2.1.10. %%
Follow-up Comment #2, bug #14750 (project freeciv): Joe Dalton wrote: but why is a _c-format_ means format string (so 2 '%' needed) used here? Most of lines really don't need c-format. However, for example, #: client/helpdata.c:1010 #, c-format msgid * The discovery of %s reduces the risk to 25%%.\n msgstr * Opdagelsen af %s reducerer risikoen til 25%%.\n have to be c-format due to inclusion of %s. My guess is that early these lines were one big message. -- Thanks, evyscr ___ Reply to this item at: http://gna.org/bugs/?14750 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #14750] Translation issue in 2.1.10. %%
Follow-up Comment #3, bug #14750 (project freeciv): Joe Dalton wrote: but why is a c-format means format string (so 2 '%' needed) used here? Because those strings are passed as argument to a function which interpret them as formats... Note that some of the strings you are pointing are no more passed to such functions and have now only 1 '%' in trunk. ___ Reply to this item at: http://gna.org/bugs/?14750 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev