Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Locale-Maketext-Lexicon CPAN distribution.

Report information
The Basics
Id: 14689
Status: resolved
Priority: 0/
Queue: Locale-Maketext-Lexicon

People
Owner: Nobody in particular
Requestors: steve.hay [...] uk.radan.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.49
Fixed in: (no value)



Subject: xgettext doesn't handle concatenated strings
Download (untitled) / with headers
text/plain 853b
I'm running perl-5.8.7 on Windows XP. If I place the following in "foo.pm": print loc('String one'); print loc('String' . ' two'); and then run the command: xgettext foo.pm then a "messages.po" file containing these msgid/msgstr pairs is created: #: foo.pm:2 #. ( . ' two') msgid "String" msgstr "" #: foo.pm:1 msgid "String one" msgstr "" Clearly this is not what I wanted. Personally, I always wrap long lines at 80 characters, which often means breaking up a long text string into several concatenated pieces, so this failure renders xgettext just about unusable on my code. I have a workaround -- use Cygwin's xgettext.exe instead -- but I would prefer to use the Perl one if possible because Cygwin's version needs more arguments to work and I don't always have Cygwin available anyway: \cygwin\bin\xgettext -L perl --keyword=loc foo.pm
Download (untitled) / with headers
text/plain 369b
Show quoted text
> > I have a workaround -- use Cygwin's xgettext.exe instead -- but I > would prefer to use the Perl one if possible because Cygwin's > version needs more arguments to work and I don't always have Cygwin > available anyway: > > \cygwin\bin\xgettext -L perl --keyword=loc foo.pm
This bug has finally been resolved, in version 0.74 sorry for the delay Clint


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.