new i18n api requiring $session
This commit is contained in:
parent
877bf082a0
commit
01d95a265e
141 changed files with 2266 additions and 1745 deletions
|
|
@ -40,8 +40,9 @@ The namespace to pull the label from.
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
my $self = shift;
|
||||
return WebGUI::International::get(shift,shift);
|
||||
my ($self, $session, $key, $namespace) = @_;
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
return $i18n->get($key, $namespace);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue