Fix i18n label for tab in DataTable edit form

This commit is contained in:
Colin Kuskie 2013-09-16 09:43:29 -07:00
parent 651c7c8982
commit 3061626753

View file

@ -40,6 +40,22 @@ use WebGUI::Form::DataTable;
#----------------------------------------------------------------------------
=head2 addEditSaveTabs ( form )
Add the tab for managing the table data and schema.
=cut
override addEditSaveTabs => sub {
my ( $self, $form ) = @_;
$form = super();
my $i18n = WebGUI::International->new($self->session, 'Asset_DataTable');
$form->addTab( name => "data", label => $i18n->get("tab label data") );
return $form;
};
#----------------------------------------------------------------------------
=head2 getDataJson ( )
Get the data as a JSON object with the following structure: