Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Stricter gettext error checking (adding -c to msgfmt param
Home

[Freeciv-Dev] Stricter gettext error checking (adding -c to msgfmt param

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv Developers ML <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Stricter gettext error checking (adding -c to msgfmt parameters)
From: Davide Pagnin <nightmare@xxxxxxxxxx>
Date: 03 Oct 2002 18:53:12 +0200

        Hi all!

This is an update.

As some of you may remember, the introduction on 1.11.4 and above,
gettext, of stricter header checking, has suggested me to propose the
adoption (by default) of a more stricter message format checking on the
various po files.

The solution that can keep the work of all translators and let introduce
the stricter -c parameter, is to add a 'fuzzy' marker to any conflicting
entry, so that the work of appropriately fix the problem is left to the
various tranlators team, and the adoption of the -c parameter will not
break cvs compilation.

On a sidenote, I think that all translator have to be urged to start
using the newer version of gettext (at least 1.11.5) because some errors
are found and you get a proper warning, only with that version.
(i.e. mismatch in % parameter type and number in plural strings)

Note also that all translator has to be warned to put appropriate
strings in the headers of they po files, with a particular attention of
rules for plurals and charset choice.

Last, but not least, I suggest all translators to keep 'clean' their po
file, so, after a make xx.pox, remember to delete all the spurious entry
that you can found at the end of the new file (i.e. ~ starting strings).

Comment/Review/Commit are Welcomed! :-)

        Ciao, Davide

Attachment: full-po.patch
Description: Text Data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Stricter gettext error checking (adding -c to msgfmt parameters), Davide Pagnin <=