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');
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -388,6 +388,11 @@ A property or value must be quoted if it contains spaces. Feel free to use the c
|
|||
lastUpdated => 1146539258,
|
||||
},
|
||||
|
||||
'no longer exists' => {
|
||||
message => q|The asset this shortcut is linked to no longer exists. You need to delete this shortcut.|,
|
||||
lastUpdated => 1243698146,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue