http://translator.roundcube.net/ on the result: ... $messages = array(); $messages[loginfailed] = 'blabla'; ...
should be:
... $messages = array(); $messages['loginfailed'] = 'blabla'; ...
It doesn't work without the '-s, or at least not in every cases.
DB