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:
Colin Kuskie 2011-11-23 17:21:58 -08:00
parent 288adcfd17
commit ce15690523
2 changed files with 40 additions and 6 deletions

View file

@ -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 ( )