Internationalize the shortcut no longer exists message.
This commit is contained in:
parent
398f5203f4
commit
d9e2590623
2 changed files with 7 additions and 1 deletions
|
|
@ -653,7 +653,8 @@ sub isDashlet {
|
|||
sub notLinked {
|
||||
my $self = shift;
|
||||
$self->session->errorHandler->warn("Shortcut ".$self->getId." is linked to an asset ".$self->get("shortcutToAssetId").", which no longer exists.");
|
||||
return "The asset this shortcut is linked to no longer exists. You need to delete this shortcut.";
|
||||
my $i18n = WebGUI::International->new($self->session, 'Asset_Shortcut');
|
||||
return $i18n->get('no longer exists');
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue