On Friday 21 September 2007 14:40:11 Jean-Marc Lasgouttes wrote:
> Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
> > Jean-Marc Lasgouttes wrote:
> >> Juergen, can I apply that to 1.5 too? It is only a maintainer tool.
> >
> > Sure.
>
> Jose, now that I try it, it seems that it does not work at all :)
>
> pegase: python postats.py fr.po
> <?php
> // The current version
> \$lyx_version = "1.6.0svn";
> // The branch tag
> \$branch_tag = "trunk";
>
> // The data itself
> \$podata = array (
> array ( 'langcode' => 'fr', "date" => "2007-07-18",
> "msg_tr" => 0, "msg_fu" => 0, "msg_nt" => 0,
> "translator" => "Adrien Rebollo", "email" => "[EMAIL PROTECTED]")
> )?>
>
> First, why these '\$' instead of '$'?

  That was a direct cut and paste. Fixed.

> Second, all numbers are set to 0...

This is what I get:

[EMAIL PROTECTED] po]$ python postats.py fr.po
<?php
// The current version
$lyx_version = "1.6.0svn";
// The branch tag
$branch_tag = "trunk";

// The data itself
$podata = array (
array ( 'langcode' => 'fr', "date" => "2007-07-18",
"msg_tr" => 2402, "msg_fu" => 728, "msg_nt" => 487,
"translator" => "Adrien Rebollo", "email" => "[EMAIL PROTECTED]")
)?>


> Did you actually test it?
>
> JMarc



-- 
José Abílio

Reply via email to