Hello,
On Sat, May 23, 2015 at 10:34:30PM +0200, Martin Quinson wrote:
On Fri, May 22, 2015 at 05:14:20PM -0400, David Prévot wrote:
Even if disruptive changes in the gettext/po4a toolchain (and underlined Perl handling) are always painful (one has to make sure every contributor is using the “right” version, the amount of changes in the PO files to cope with the upgrade can be huge), with my Debian packager hat on, I’d say that now (early in the development cycle) is exactly the right moment to make such change if it’s an improvement worthing the disruption.
About this change, now. My current feeling is that it should be an optional behavior. It is very possible to pass options to the PO4A modules, so that users may choose how to handle tbl macros. David, do you think that it would do the trick?
Ok. I found some time to dig into this issue, and implemented an option to choose between the old and new behavior. But I'm not sure I want to commit it. Robert's change is a great improvement. I tested on a chunk of ps.1 Here is the 0.46 version:
msgid "%cpu %CPU" msgstr ""
msgid "" "cpu utilization of the process in "##.#" format. It is the CPU time\n" "used divided by the time the process has been running (cputime/realtime\n" "ratio), expressed as a percentage. It will not add up to 100% unless you\n" "are lucky. (alias\ B<pcpu>).\n" msgstr ""
And now the 0.45 version:
msgid "%cpu %CPU T{\n" msgstr ""
msgid "cpu utilization of the process in "##.#" format. It is the CPU time\n" msgstr ""
msgid "used divided by the time the process has been running (cputime/realtime\n" msgstr ""
msgid "ratio), expressed as a percentage. It will not add up to 100% unless you\n" msgstr ""
msgid "are lucky. (alias\ B<pcpu>).\n" msgstr ""
msgid "T}\n" msgstr ""
Who on the earth would choose the second version? I think, David, that we have here what you call an improvement worthing the disruption. Do you agree, or would you insist on having an option?
In any cases, many thanks to Robert. New translators will certainly love the new version of the thing.
Bye, Mt.