Fix broken i18n.
This commit is contained in:
parent
cf68263eb3
commit
6e09355ef5
5 changed files with 21 additions and 5 deletions
|
|
@ -67,8 +67,8 @@ sub editSettingsForm {
|
||||||
name => "userAccountLayoutTemplateId",
|
name => "userAccountLayoutTemplateId",
|
||||||
value => $self->getLayoutTemplateId,
|
value => $self->getLayoutTemplateId,
|
||||||
namespace => "Account/Layout",
|
namespace => "Account/Layout",
|
||||||
label => $i18n->get("layout template label"),
|
label => $i18n->get("user layout template label"),
|
||||||
hoverHelp => $i18n->get("layout template hoverHelp")
|
hoverHelp => $i18n->get("user layout template hoverHelp")
|
||||||
);
|
);
|
||||||
$f->raw(q{<tr><td class="formDescription" colspan="2"> </td></tr>});
|
$f->raw(q{<tr><td class="formDescription" colspan="2"> </td></tr>});
|
||||||
$f->readOnly (
|
$f->readOnly (
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ sub definition {
|
||||||
my $i18n = WebGUI::International->new($session);
|
my $i18n = WebGUI::International->new($session);
|
||||||
push(@{$definition}, {
|
push(@{$definition}, {
|
||||||
label=>{
|
label=>{
|
||||||
defaultValue=>$i18n->get("matrix fieldtype","WebGUI")
|
defaultValue=>$i18n->get("matrix fieldtype","Asset_Matrix")
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
return $class->SUPER::definition($session, $definition);
|
return $class->SUPER::definition($session, $definition);
|
||||||
|
|
@ -95,7 +95,7 @@ Returns the human readable name of this control.
|
||||||
|
|
||||||
sub getName {
|
sub getName {
|
||||||
my ($self, $session) = @_;
|
my ($self, $session) = @_;
|
||||||
return WebGUI::International->new($session, 'WebGUI')->get('matrix fieldtype');
|
return WebGUI::International->new($session, 'Asset_Matrix')->get('matrix fieldtype');
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,16 @@ our $I18N = {
|
||||||
lastUpdated => 1119068809
|
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' => {
|
'inbox message confirm template label' => {
|
||||||
message => q|Inbox Message Confirm Template|,
|
message => q|Inbox Message Confirm Template|,
|
||||||
lastUpdated => 1119068809
|
lastUpdated => 1119068809
|
||||||
|
|
|
||||||
|
|
@ -755,6 +755,11 @@ selectBox.</p>|
|
||||||
message => q|Matrix Asset Template Variables|,
|
message => q|Matrix Asset Template Variables|,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'matrix fieldtype' => {
|
||||||
|
lastUpdated => 0,
|
||||||
|
message => q|Matrix Fieldtype|,
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,10 @@ package WebGUI::i18n::English::Form_MatrixCompare;
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
our $I18N = {
|
our $I18N = {
|
||||||
'topicName' => {
|
'matrix compare' => {
|
||||||
message => q|Matrix Compare|,
|
message => q|Matrix Compare|,
|
||||||
lastUpdated => 0,
|
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' => {
|
'no' => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue