On Tue, Sep 24, 2013 at 09:01:37PM +0400, Max V. Stotsky wrote: > The simplest way to reproduce the problem: > > % ls > test.tt > % cat test.tt > > [% c.loc("first") %] > [% c.l("second") %] > [% l("third") %] > [% loc("fourth") %] > > % xgettext.pl --directory=. > % ls > messages.po test.tt > % cat messages.po > # ... po headers ... > > #: test.tt:5 > msgid "fourth" > msgstr "" > > #: test.tt:3 > msgid "second" > msgstr "" > > #: test.tt:4 > msgid "third" > msgstr ""
this is interesting - thanks a lot for the example. For me, xgettext.pl extracts all four msgids when libtemplate-perl is *not* installed, using the Perl plugin. When Template is installed, though, the TT2 plugin is used and only three strings are extracted. Even though the POD claims "l and loc are interchangeable", c.loc does not seem to be supported. I'll forward this upstream, in the hope that they're willing to add support for c.loc. Florian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org