When I specify message_loc to constraint no maketext parameters are passed to
the string and this way [_1] and others are ignored.

I am using Controller::HTML::FormFu and I18N Catalyst plugin and specified
options:

Controller::HTML::FormFu:
  languages_from_context: 1
  localize_from_context: 1

Test is attached to the mail.

-- 
vti -- Viacheslav Tikhanovskii

Attachment: loc_minlength.t
Description: Troff document

    package I18N;

    use base 'Locale::Maketext';

    sub localize {
        my $s = shift;

        $s->maketext(@_);
    }

    1;
    package I18N::en;

    use base 'I18N';

    our %Lexicon = (
        'formx_constraint_minlength' => 'At least [_1] characters long'
    );

    1;
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to