[Po4a-devel] Support for the fortunes format in po4a.

Nicolas François nicolas.francois at centraliens.net
Tue Mar 25 23:49:18 UTC 2008


Hi,

You can find attached the new version of the Text.pm module for po4a, with
support for the fortunes format.

You can use it by replacing your
   /usr/share/perl5/Locale/Po4a/Text.pm

Or just put the file in <one directory>/Locale/Po4a/Text.pm
and run po4a by preceding the command with PERLLIB=<one directory>/

You will have to add "-o fortunes" to the po4a commands to specify that
you want to use the fortunes format.


The support is still limited, but should be sufficient for the Debian
hints fortunes. I would like to add support comments and for references,
like in:

Packages should build-depend on what they should build-depend.
                -- Santiago Vila on debian-devel



I will wait at least for po4a to enter testing (in 1 or 2 days), and I
will release a new version.

It would be useful if you could test it to check if it looks OK.



Note: if you add a newline before the URL of hint #9 in the German
hints-de, you will be able to reuse the German translation using:

PERLLIB=<one directory>/ po4a-gettextize -f text -o fortunes \
-m hints -l hints-de -p hints.de.po -L UTF-8

Best Regards,
-- 
Nekral
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Text.pm
Type: text/x-perl
Size: 8274 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20080326/1523b2e1/attachment.pm 


More information about the Po4a-devel mailing list