Bug#724495: [liblocale-maketext-lexicon-perl] xgettext.pl should extract 'c.loc' from .tt/.tt2 files

Max V. Stotsky ms at pereslavl.ru
Tue Sep 24 09:55:34 UTC 2013


Package: liblocale-maketext-lexicon-perl
Version: 0.96-1
Severity: normal

--- Please enter the report below this line. ---
Hello!

I'm developing a web application using libcatalyst-perl and
libtemplate-perl packages. I try to use the I18N catalyst plugin.

http://search.cpan.org/~bobtfish/Catalyst-Plugin-I18N-0.10/lib/Catalyst/Plugin/I18N/Manual.pod

The docs says that I should use '[% c.loc(…) %]' for template files. But
xgettext.pl extracts (thanks to Locale::Maketext::Extract::Plugin::TT2)
only '[% l(…) %]', '[% c.l(…) %]' and '[% loc(…) %]' strings.

I can't use 'l', 'c.l' or 'loc' functions because it undefined in the
templates.

I think that xgettext.pl should extract '[% c.loc(…) %]' strings from
the template files.

--- System information. ---
Architecture: i386
Kernel:       Linux 3.10-2-686-pae

Debian Release: jessie/sid
  990 testing         debian.botik.ru 
  500 unstable        debian.botik.ru 
  500 stable          debian.botik.ru 
  500 stable          deb.opera.com 
  500 maverick        ppa.launchpad.net 
    1 experimental    debian.botik.ru 

--- Package information. ---
Depends      (Version) | Installed
======================-+-===========
perl         (>= 5.14) | 5.14.2-21


Package's Recommends field is empty.

Suggests                 (Version) | Installed
==================================-+-===========
libtemplate-perl                   | 2.24-1.1
libyaml-perl                       | 0.84-1
libhtml-parser-perl                | 3.71-1
libppi-perl                        | 1.215-1


-- 
Max V. Stotsky <ms at pereslavl.ru>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130924/7420f2d5/attachment.sig>


More information about the pkg-perl-maintainers mailing list