new i18n api requiring $session
This commit is contained in:
parent
877bf082a0
commit
01d95a265e
141 changed files with 2266 additions and 1745 deletions
|
|
@ -47,7 +47,8 @@ sub process {
|
|||
my $storage = WebGUI::Storage->get($asset->get("storageId"));
|
||||
return $storage->getUrl($asset->get("filename"));
|
||||
} else {
|
||||
return WebGUI::International::get('invalid url', 'Macro_FileUrl');
|
||||
my $i18n = WebGUI::International->new($session, 'Macro_FileUrl');
|
||||
return $i18n->get('invalid url');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue