diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 4008a0873..233c24bef 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -3,7 +3,7 @@ - fix: Various potential bugs in WebGUI::DateTime due to inheritence from DateTime. - fix: SQL Report: Paginate After - + - fix: Incomplete asset cause manage Trash to fail 7.3.9 - fix: SQL Form and big table imports diff --git a/lib/WebGUI/Asset/Wobject/SQLForm.pm b/lib/WebGUI/Asset/Wobject/SQLForm.pm index 50cc08f79..948fe2697 100644 --- a/lib/WebGUI/Asset/Wobject/SQLForm.pm +++ b/lib/WebGUI/Asset/Wobject/SQLForm.pm @@ -954,9 +954,11 @@ sub definition { my $session = shift; my $definition = shift; + my $i18n = WebGUI::International->new($session, 'Asset_SQLForm'); push(@{$definition}, { tableName=>'SQLForm', className=>'WebGUI::Asset::Wobject::SQLForm', + name=>$i18n->get('assetName'), icon=>'sqlform.gif', properties=>{ formId => { @@ -1210,20 +1212,6 @@ sub getIndexerParams { #------------------------------------------------------------------- -=head2 getName ( ) - -Return the internationalized name of the SQLForm. - -=cut - -sub getName { - my $self = shift; - my $i18n = WebGUI::International->new($self->session, 'Asset_SQLForm'); - return $i18n->get('assetName'); -} - -#------------------------------------------------------------------- - =head2 processPropertiesFromFormPost ( ) Processes the data in the edit form of the SQLForm asset. In WebGUI 6.8.x there's no way to feed back any errors on diff --git a/lib/WebGUI/i18n/English/Asset_SQLForm.pm b/lib/WebGUI/i18n/English/Asset_SQLForm.pm index 9c40d639f..25e3c7092 100644 --- a/lib/WebGUI/i18n/English/Asset_SQLForm.pm +++ b/lib/WebGUI/i18n/English/Asset_SQLForm.pm @@ -930,12 +930,12 @@ delete and restore but not purge records.

|, }, 'assetName' => { - message => q|SQLForm|, + message => q|SQL Form|, lastUpdated => 0, }, 'edit sqlform' => { - message => q|SQLForm, Add/Edit|, + message => q|SQL Form, Add/Edit|, lastUpdated => 0, },