Fix missing i18n messages.
This commit is contained in:
parent
1d35a471e8
commit
e209e0104a
3 changed files with 8 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ sub crud_definition {
|
|||
my $class = shift;
|
||||
my $session = shift;
|
||||
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', (
|
||||
map { $_->getId => $_->getTitle }
|
||||
|
|
@ -71,7 +71,7 @@ sub crud_definition {
|
|||
|
||||
$definition->{ dynamic }->{ includeMailings } = {
|
||||
fieldType => 'checkList',
|
||||
label => 'Include newsletters',
|
||||
label => $i18n->get('Include newsletters'),
|
||||
options => \%mailings,
|
||||
vertical => 1,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ our $I18N = {
|
|||
'Subscribe to this mailing' => {
|
||||
message => 'Abonneer op deze nieuwsbrief',
|
||||
},
|
||||
'Include newsletters' => {
|
||||
message => 'Selecteerbare nieuwsbrieven',
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ our $I18N = {
|
|||
'Subscribe to this mailing' => {
|
||||
message => 'Subscribe to this mailing',
|
||||
},
|
||||
'Include newsletters' => {
|
||||
message => 'Include newsletters',
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue