diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-17 07:04:51 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-17 07:04:51 +0000 |
| commit | a6e4a046c9382e47d7f873cc7034d355864f2412 (patch) | |
| tree | 76cb3504f0fde8154c57d93d37858731887ec4ba /roundcubemail/program/js | |
| parent | 05d4629d7aaeb0cccb4aac1942ddb565e7505f79 (diff) | |
- don't show message on unknown error (#1485848) + translate "Server Error!" message
git-svn-id: https://svn.roundcube.net/trunk@2493 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index da480aa67..ec94b5aff 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -3945,7 +3945,8 @@ function rcube_webmail() this.set_busy(false); request.abort(); - this.display_message('Unknown Server Error!' + (errmsg ? ' ('+errmsg+')' : ''), 'error'); + if (errmsg) + this.display_message(this.get_label('servererror') + ' (' + errmsg + ')', 'error'); }; // use an image to send a keep-alive siganl to the server |
