[Po4a-devel] Use of uninitialized value in pattern match ?

Dongsheng Song dongsheng.song at gmail.com
Tue Mar 3 02:08:28 UTC 2009


2009/3/2 Nicolas François <nicolas.francois at centraliens.net>:
> On Mon, Mar 02, 2009 at 01:50:53PM +0800, dongsheng.song at gmail.com wrote:
>> PS: I use Po4a 0.36-dev(2009-03-01).
>
> Thanks, I wasn't sure you were using the CVS version.
>
>> 2009/3/2 Dongsheng Song <dongsheng.song at gmail.com>:
>> > When I use Po4a in docbook, I got warning:
>> >
>> > Use of uninitialized value in pattern match (m//) at
>> > tools/po4a/lib//Locale/Po4a/Xml.pm line 1688.
>
> This should now be fixed in CVS.
>
> Best Regards,
> --
> Nekral
>

Thank you, but I have some question now:

1. cvs up; make clean; LC_ALL=C make
...
Discard blib/man/ja/man3/Locale::Po4a::Xml.3pm.pod (109 of 157 strings; only
69.42% translated; need 80%).
Discard blib/man/pl/man3/Locale::Po4a::Xml.3pm.pod (109 of 157 strings; only
69.42% translated; need 80%).
XX Update po/bin/po4a.pot
../../lib/Locale/Po4a/Xml.pm:164: invalid variable interpolation at "$"
Died at /home/dongsheng/var/cvs/po4a/_build/lib/My/Builder.pm line 51.
make: *** [all] Error 1

2.  When I use option 'untranslated' , the po file no effect
PERLLIB=tools/po4a/lib/ tools/po4a/po4a-updatepo -M UTF-8 -f docbook
-o doctype='docbook' -o untranslated='<programlisting> <screen>' \
                -m en/appa-quickstart.xml \
                -m en/appb-svn-for-cvs-users.xml \
                -m en/appc-webdav.xml \
                -m en/book.xml \
                -m en/ch00-preface.xml \
                -m en/ch01-fundamental-concepts.xml \
                -m en/ch02-basic-usage.xml \
                -m en/ch03-advanced-topics.xml \
                -m en/ch04-branching-and-merging.xml \
                -m en/ch05-repository-admin.xml \
                -m en/ch06-server-configuration.xml \
                -m en/ch07-customizing-svn.xml \
                -m en/ch08-embedding-svn.xml \
                -m en/ch09-reference.xml \
                -m en/copyright.xml \
                -m en/foreword.xml \
                -p po/zh.po

These tags(<programlisting>, <screen>) stil in zh.po.

Thanks,
---
Dongsheng Song



More information about the Po4a-devel mailing list