Fix broken i18n.
This commit is contained in:
parent
cf68263eb3
commit
6e09355ef5
5 changed files with 21 additions and 5 deletions
|
|
@ -79,7 +79,7 @@ sub definition {
|
|||
my $i18n = WebGUI::International->new($session);
|
||||
push(@{$definition}, {
|
||||
label=>{
|
||||
defaultValue=>$i18n->get("matrix fieldtype","WebGUI")
|
||||
defaultValue=>$i18n->get("matrix fieldtype","Asset_Matrix")
|
||||
},
|
||||
});
|
||||
return $class->SUPER::definition($session, $definition);
|
||||
|
|
@ -95,7 +95,7 @@ Returns the human readable name of this control.
|
|||
|
||||
sub getName {
|
||||
my ($self, $session) = @_;
|
||||
return WebGUI::International->new($session, 'WebGUI')->get('matrix fieldtype');
|
||||
return WebGUI::International->new($session, 'Asset_Matrix')->get('matrix fieldtype');
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue