perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: default_messages ignored?
Date Mon, 13 Dec 2004 18:36:45 GMT
>     my %messages =
>         (
>         'cz' =>
>             {
>             'Heading' => 'Hlavicka',
>             'Submit'  => undef,

You need to remove, the above line, then it will work.

Gerald




>             },
>         'en' =>
>             {
>             'Heading' => 'Heading',
>             'Submit'  => 'Submit',
>             },
>         ) ;
>         
>         push @{$r->messages}, $messages{$lang} ;
>         push @{$r->default_messages}, $messages{'en'} if 
> ($lang ne 'en') ;
> 
>     return 0;
> 
> }
>  
> 1 ;
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message