internationalize www_edit titles
This commit is contained in:
parent
c8873ea6e2
commit
b46433ecfa
4 changed files with 8 additions and 3 deletions
|
|
@ -103,7 +103,7 @@ sub www_edit {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
||||||
$self->getAdminConsole->setHelp("redirect add/edit", "Asset_Redirect");
|
$self->getAdminConsole->setHelp("redirect add/edit", "Asset_Redirect");
|
||||||
return $self->getAdminConsole->render($self->getEditForm->print,"Edit Redirect");
|
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get('redirect add/edit title', 'Asset_Redirect'));
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -497,7 +497,7 @@ sub view {
|
||||||
sub www_edit {
|
sub www_edit {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
||||||
return $self->getAdminConsole->render($self->getEditForm->print,"Edit Rich Editor Configuration");
|
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("rich edit edit config","Asset_RichEdit"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ sub www_edit {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
return WebGUI::Privilege::insufficient() unless $self->canEdit;
|
||||||
$self->getAdminConsole->setHelp("snippet add/edit","Asset_Snippet");
|
$self->getAdminConsole->setHelp("snippet add/edit","Asset_Snippet");
|
||||||
return $self->getAdminConsole->render($self->getEditForm->print,"Edit Snippet");
|
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get('snippet add/edit title',"Asset_Snippet"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -348,6 +348,11 @@ our $I18N = {
|
||||||
lastUpdated => 1115154822,
|
lastUpdated => 1115154822,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'rich edit edit config' => {
|
||||||
|
message => q|Edit Rich Editor Configuration|,
|
||||||
|
lastUpdated => 1131398652,
|
||||||
|
},
|
||||||
|
|
||||||
'rich edit add/edit body' => {
|
'rich edit add/edit body' => {
|
||||||
message => q|<p>This Asset allows you to customize the Rich Editor used by WebGUI for WYSIWIG HTML editing and
|
message => q|<p>This Asset allows you to customize the Rich Editor used by WebGUI for WYSIWIG HTML editing and
|
||||||
to have multiple configurations available for Collaboration Assets.</p>
|
to have multiple configurations available for Collaboration Assets.</p>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue