[Po4a-devel]Line counting

Denis Barbier barbier@linuxfr.org
Sat, 6 Nov 2004 00:33:05 +0100


On Fri, Nov 05, 2004 at 11:42:48PM +0100, Nicolas Fran=E7ois wrote:
[...]
>  * fix the documentation
>    almost finished
>    The changes mostly consist in removing the mention of the nested fon=
t
>    modifiers issue and updating of the stats of the man module.
>      =3D> this should not require a lot of work for the translators

If there is no objection, I would like to upload 0.19 ASAP, almost
all reported bugs have been fixed.
In order to give time to translators, please commit these changes first,
other items do not require l10n work.

[...]
> Regarding the 'po4a-normalize -M', here is a patch that should do the
> trick.
> (It was tested with the testsuite, but I would prefer that somebody hav=
e
> a look at it)

One small question: why is utf_mode set?
As said above, please do not waste your time on this question if you do
not know, documentation is more important and I will try to figure the
answer out.

> @@ -144,6 +147,8 @@
>  -e $filename || die sprintf(gettext("File %s does not exist."),$filena=
me)."\n";
> =20
>  $parser->read($filename);
> +$parser->{TT}{utf_mode} =3D 1;
> +$parser->{TT}{file_in_charset} =3D $mastchar;
>  $parser->parse();
>  $parser->write('po4a-normalize.output');
>  $parser->writepo('po4a-normalize.po');

Denis