diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-07 00:49:24 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-07 00:49:24 +0200 |
commit | 77992072b7963d9a96c11a3913f553c820cc21da (patch) | |
tree | f83db2a926e66d8ab6bdc3527f501cf47a5fb14e /lib/JWebmail/Controller/Webmail.pm | |
parent | 6ac91b3bc730ad8d3476288911e596bbfd2b8880 (diff) |
added localization via Locale::Maketext
Diffstat (limited to 'lib/JWebmail/Controller/Webmail.pm')
-rw-r--r-- | lib/JWebmail/Controller/Webmail.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/JWebmail/Controller/Webmail.pm b/lib/JWebmail/Controller/Webmail.pm index bdd7176..c61c493 100644 --- a/lib/JWebmail/Controller/Webmail.pm +++ b/lib/JWebmail/Controller/Webmail.pm @@ -34,7 +34,7 @@ sub auth { my ($pw, $ch) = $self->session_passwd; unless ($user && $pw) { - $self->flash(message => $self->l('no_session')); + $self->flash(message => $self->l('No active session.')); $self->res->code(401); $self->redirect_to('logout'); return 0; @@ -95,7 +95,7 @@ sub login { else { $self->render( status => 401, - warning => $self->l('login') . ' ' . $self->l('failed') . '!', + warning => $self->l('Login failed!'), ); } } |