Fix broken i18n.

This commit is contained in:
Colin Kuskie 2009-01-23 06:19:46 +00:00
parent cf68263eb3
commit 6e09355ef5
5 changed files with 21 additions and 5 deletions

View file

@ -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');
}
#-------------------------------------------------------------------