I18n the RSS tab for the RSS Feed role. Provide a way for additional tabs to be i18n'ed, like Subscribable.
This commit is contained in:
parent
288adcfd17
commit
ce15690523
2 changed files with 40 additions and 6 deletions
|
|
@ -121,7 +121,23 @@ These methods are available from this class:
|
|||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
=head2 addEditSaveTabs ( form )
|
||||
|
||||
Add the tab for the RSS feed configuration data.
|
||||
|
||||
=cut
|
||||
|
||||
override addEditSaveTabs => sub {
|
||||
my ( $self, $form ) = @_;
|
||||
$form = super();
|
||||
my $i18n = WebGUI::International->new($self->session, 'Role_RssFeed');
|
||||
$form->addTab( name => "rss", label => $i18n->get("RSS tab") );
|
||||
return $form;
|
||||
};
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 dispatch ( )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue