Fix missing i18n messages.

This commit is contained in:
Martin Kamerbeek 2010-12-22 10:40:53 +01:00
parent 1d35a471e8
commit e209e0104a
3 changed files with 8 additions and 2 deletions

View file

@ -57,7 +57,7 @@ sub crud_definition {
my $class = shift; my $class = shift;
my $session = shift; my $session = shift;
my $definition = $class->SUPER::crud_definition( $session ); my $definition = $class->SUPER::crud_definition( $session );
my $i18n = WebGUI::International->new( $session, 'Registration_Step_Homepage' ); my $i18n = WebGUI::International->new( $session, 'RegistrationStep_MailingSubscribe' );
tie my %mailings, 'Tie::IxHash', ( tie my %mailings, 'Tie::IxHash', (
map { $_->getId => $_->getTitle } map { $_->getId => $_->getTitle }
@ -71,7 +71,7 @@ sub crud_definition {
$definition->{ dynamic }->{ includeMailings } = { $definition->{ dynamic }->{ includeMailings } = {
fieldType => 'checkList', fieldType => 'checkList',
label => 'Include newsletters', label => $i18n->get('Include newsletters'),
options => \%mailings, options => \%mailings,
vertical => 1, vertical => 1,
}; };

View file

@ -9,6 +9,9 @@ our $I18N = {
'Subscribe to this mailing' => { 'Subscribe to this mailing' => {
message => 'Abonneer op deze nieuwsbrief', message => 'Abonneer op deze nieuwsbrief',
}, },
'Include newsletters' => {
message => 'Selecteerbare nieuwsbrieven',
},
}; };
1; 1;

View file

@ -9,6 +9,9 @@ our $I18N = {
'Subscribe to this mailing' => { 'Subscribe to this mailing' => {
message => 'Subscribe to this mailing', message => 'Subscribe to this mailing',
}, },
'Include newsletters' => {
message => 'Include newsletters',
},
}; };
1; 1;