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

@ -67,8 +67,8 @@ sub editSettingsForm {
name => "userAccountLayoutTemplateId",
value => $self->getLayoutTemplateId,
namespace => "Account/Layout",
label => $i18n->get("layout template label"),
hoverHelp => $i18n->get("layout template hoverHelp")
label => $i18n->get("user layout template label"),
hoverHelp => $i18n->get("user layout template hoverHelp")
);
$f->raw(q{<tr><td class="formDescription" colspan="2">&nbsp</td></tr>});
$f->readOnly (

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

View file

@ -49,6 +49,16 @@ our $I18N = {
lastUpdated => 1119068809
},
'inbox send message template label' => {
message => q|Send Message Template|,
lastUpdated => 1119068809,
},
'inbox send message template hoverHelp' => {
message => q|Choose the template for sending a message|,
lastUpdated => 1119068809,
},
'inbox message confirm template label' => {
message => q|Inbox Message Confirm Template|,
lastUpdated => 1119068809

View file

@ -755,6 +755,11 @@ selectBox.</p>|
message => q|Matrix Asset Template Variables|,
},
'matrix fieldtype' => {
lastUpdated => 0,
message => q|Matrix Fieldtype|,
},
};
1;

View file

@ -2,9 +2,10 @@ package WebGUI::i18n::English::Form_MatrixCompare;
use strict;
our $I18N = {
'topicName' => {
'matrix compare' => {
message => q|Matrix Compare|,
lastUpdated => 0,
context => q|Name of this form control. With regard to a set of features, this control lets you choose if the listing has the feature, does not have the feature, if it is free, or for pay. Matrix Feature Comparison List.|,
},
'no' => {