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: 14629
Status: resolved
Priority: 0/
Queue: Locale-Maketext-Lexicon

People
Owner: Nobody in particular
Requestors: asaterceiro [...] inf.ufrgs.br
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.49
Fixed in: 0.61



Subject: quotes and backslashes are scaped twice in Locale::Maketext::Extract
This is in I noted that both _to_gettext and _format scape quotes and backslashes. The result is that if I have a translatable string as in: maketext("Testing \"quotes\""); The PO file ends with: msgid "Testing \\\"quotes\\\""
From: asatercerio [...] inf.ufrgs.br
[guest - Sat Sep 17 11:04:36 2005]: Show quoted text
> I noted that both _to_gettext and _format scape quotes and > backslashes. The result is that if I have a translatable string as > in:
It _seems_ that just removing the scaping in _to_gettext solves.
From: bricas [...] cpan.org
On Sat Sep 17 11:08:32 2005, guest wrote: Show quoted text
> [guest - Sat Sep 17 11:04:36 2005]: >
> > I noted that both _to_gettext and _format scape quotes and > > backslashes. The result is that if I have a translatable string as > > in:
> > It _seems_ that just removing the scaping in _to_gettext solves.
I concur that this bug still exists in version 0.54. In particular, the statements around line 426 of Extract.pm are causing the problem. -Brian