new i18n api requiring $session
This commit is contained in:
parent
877bf082a0
commit
01d95a265e
141 changed files with 2266 additions and 1745 deletions
|
|
@ -51,7 +51,8 @@ sub process {
|
|||
if ($label ne "") {
|
||||
$var{'homeLink.text'} = $label;
|
||||
} else {
|
||||
$var{'homeLink.text'} = WebGUI::International::get(47,'Macro_H_homeLink');
|
||||
my $i18n = WebGUI::International->new($session,'Macro_H_homeLink');
|
||||
$var{'homeLink.text'} = $i18n->get(47);
|
||||
}
|
||||
if ($templateUrl) {
|
||||
return WebGUI::Asset::Template->newByUrl($session,$templateUrl)->process(\%var);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue