From a4ae1dbc0b013d165307f0ef80acd82214cf04ca Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 12 May 2014 19:03:44 +0200 Subject: [PATCH] Localize response message on password set/unset --- public/vroom.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/vroom.pl b/public/vroom.pl index 8fb8c93..4c4771a 100755 --- a/public/vroom.pl +++ b/public/vroom.pl @@ -530,7 +530,7 @@ post '/action' => sub { else{ return $self->render( json => { - msg => ($pass) ? 'JOIN_PASSWORD_SET':'JOIN_PASSWORD_REMOVED', + msg => ($pass) ? $self->l('JOIN_PASSWORD_SET') : $self->l('JOIN_PASSWORD_REMOVED'), } ); }