Skip Menu |

This queue is for tickets about the Form-Processor CPAN distribution.

Report information
The Basics
Id: 78319
Status: resolved
Priority: 0/
Queue: Form-Processor

People
Owner: Nobody in particular
Requestors: PHRED [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.30
Fixed in: (no value)



There is an error message in Field.pm that needs to use placeholders so it can be localized with Locale::Maketext. Thanks! [fred@dev4 Form-Processor-0.30]$ diff -u Field.pm lib/Form/Processor/Field.pm --- Field.pm 2012-07-11 14:17:57.201845773 -0700 +++ lib/Form/Processor/Field.pm 2012-07-11 14:18:04.876245649 -0700 @@ -721,7 +721,7 @@ for my $value ( ref $input eq 'ARRAY' ? @$input : ($input) ) { unless ( $options{$value} ) { - $self->add_error( "'$value' is not a valid value" ); + $self->add_error( "'[_1]' is not a valid value", $value ); return; } }
On it's way to CPAN now.
Subject: Re: [rt.cpan.org #78319] String not correctly localized
Date: Wed, 11 Jul 2012 21:49:52 -0700
To: bug-Form-Processor [...] rt.cpan.org
From: Fred Moyer <fred [...] redhotpenguin.com>
Thanks! On Wed, Jul 11, 2012 at 9:49 PM, Bill Moseley via RT <bug-Form-Processor@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=78319 > > > On it's way to CPAN now.