Skip Menu |

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

Report information
The Basics
Id: 80678
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Locale-PO

People
Owner: cosimo [...] cpan.org
Requestors: Xavier (no email address)
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.22
Fixed in: (no value)



Subject: Handling of indented msgstr
Hi, In Debian, we use this patch to avoid handling of indented msgstr : diff --git a/PO.pm b/PO.pm index f9ddd4b..c7d5247 100644 --- a/PO.pm +++ b/PO.pm @@ -426,10 +426,10 @@ sub _load_file { $buffer{msgstr_n}{$1} = $self->dequote($2); $last_buffer = \$buffer{msgstr_n}{$1}; } - elsif (/^(?:#~\s+)?"/) { + elsif (/^(?:#~\s+)?\s*(".*)/) { # contined string - $$last_buffer .= $self->dequote($_); + $$last_buffer .= $self->dequote($1); } else { warn "Strange line at $file line $line_number: $_\n";
Sorry, it's a 0.21 bug, fixed in 0.22
I believe we can close this then.