[Po4a-devel]Re: [Po4a-commits] po4a po4a-normalize,1.17,1.18
by Martin Quinson
On Sat, Nov 06, 2004 at 09:29:03AM +0000, Jordi Vilalta wrote:
> Update of /cvsroot/po4a/po4a
> In directory haydn:/tmp/cvs-serv26756
>
> Modified Files:
> po4a-normalize
> Log Message:
> Added the -M option to po4a-normalize
>
>
> Index: po4a-normalize
> ===================================================================
> RCS file: /cvsroot/po4a/po4a/po4a-normalize,v
> retrieving revision 1.17
> retrieving revision 1.18
> diff -u -d -r1.17 -r1.18
> --- po4a-normalize 19 Jul 2004 10:21:12 -0000 1.17
> +++ po4a-normalize 6 Nov 2004 09:29:01 -0000 1.18
[..]
> @@ -144,6 +151,8 @@
> -e $filename || die sprintf(gettext("File %s does not exist."),$filename)."\n";
>
> $parser->read($filename);
> +$parser->{TT}{utf_mode} = 1;
> +$parser->{TT}{file_in_charset} = $mastchar;
> $parser->parse();
> $parser->write('po4a-normalize.output');
> $parser->writepo('po4a-normalize.po');
What about a function in transtractor allowing to set the mastchar ? I'd
prefer to leave the modification of the {TT} internals to the library code,
not the binaries one.
Thanks, Mt.
20 years
[Po4a-devel]Re: [Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.47,1.48
by Denis Barbier
On Thu, Nov 04, 2004 at 08:58:45PM +0000, Nicolas FRAN??OIS wrote:
> Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
> In directory haydn:/tmp/cvs-serv18290/lib/Locale/Po4a
>
> Modified Files:
> Man.pm
> Log Message:
> Move code which split arguments of requests from parse to the splitargs
> subroutine, for future re-use and code readability.
Nicolas, please always write debian/changelog entries to document your
changes. Note also that per Debian policy this file has to be UTF-8
encoded.
Denis
20 years