new i18n api requiring $session
This commit is contained in:
parent
877bf082a0
commit
01d95a265e
141 changed files with 2266 additions and 1745 deletions
|
|
@ -134,7 +134,8 @@ sub getErrorMessage {
|
|||
my $errorCode = $_[0] || $self->{_error};
|
||||
return "" unless $errorCode;
|
||||
my $i18nCode = "LDAPLink_".$errorCode;
|
||||
return WebGUI::International::get($i18nCode,"AuthLDAP");
|
||||
my $i18n = WebGUI::International->new($self->session,"AuthLDAP");
|
||||
return $i18n->get($i18nCode);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue