diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcmail.php | 2 | ||||
-rw-r--r-- | program/js/app.js | 3 | ||||
-rw-r--r-- | program/localization/en_GB/messages.inc | 1 | ||||
-rw-r--r-- | program/localization/en_US/messages.inc | 1 | ||||
-rw-r--r-- | program/localization/pl_PL/messages.inc | 2 |
5 files changed, 6 insertions, 3 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index ec0a6f445..ea53d914d 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -324,7 +324,7 @@ class rcmail $this->output->set_charset($this->config->get('charset', RCMAIL_CHARSET)); // add some basic label to client - $this->output->add_label('loading'); + $this->output->add_label('loading', 'servererror'); return $this->output; } diff --git a/program/js/app.js b/program/js/app.js index da480aa67..ec94b5aff 100644 --- a/program/js/app.js +++ b/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 diff --git a/program/localization/en_GB/messages.inc b/program/localization/en_GB/messages.inc index 9f7d66240..5823187cf 100644 --- a/program/localization/en_GB/messages.inc +++ b/program/localization/en_GB/messages.inc @@ -22,6 +22,7 @@ $messages['loginfailed'] = 'Login failed'; $messages['cookiesdisabled'] = 'Your browser does not accept cookies'; $messages['sessionerror'] = 'Your session is invalid or has expired'; $messages['imaperror'] = 'Connection to IMAP server failed'; +$messages['servererror'] = 'Server Error!'; $messages['nomessagesfound'] = 'No messages found in this mailbox'; $messages['loggedout'] = 'You have successfully terminated the session. Good bye!'; $messages['mailboxempty'] = 'Mailbox is empty'; diff --git a/program/localization/en_US/messages.inc b/program/localization/en_US/messages.inc index af7443eaa..c1ba41d49 100644 --- a/program/localization/en_US/messages.inc +++ b/program/localization/en_US/messages.inc @@ -22,6 +22,7 @@ $messages['loginfailed'] = 'Login failed'; $messages['cookiesdisabled'] = 'Your browser does not accept cookies'; $messages['sessionerror'] = 'Your session is invalid or expired'; $messages['imaperror'] = 'Connection to IMAP server failed'; +$messages['servererror'] = 'Server Error!'; $messages['nomessagesfound'] = 'No messages found in this mailbox'; $messages['loggedout'] = 'You have successfully terminated the session. Good bye!'; $messages['mailboxempty'] = 'Mailbox is empty'; diff --git a/program/localization/pl_PL/messages.inc b/program/localization/pl_PL/messages.inc index ac76383ac..6b47e3ae1 100644 --- a/program/localization/pl_PL/messages.inc +++ b/program/localization/pl_PL/messages.inc @@ -27,6 +27,7 @@ $messages['loginfailed'] = 'BÅ‚Ä…d logowania!'; $messages['cookiesdisabled'] = 'Twoja przeglÄ…darka nie obsÅ‚uguje ciasteczek!'; $messages['sessionerror'] = 'BÅ‚Ä…d sesji bÄ…dź sesja wygasÅ‚a!'; $messages['imaperror'] = 'BÅ‚Ä…d poÅ‚Ä…czenia z serwerem!'; +$messages['servererror'] = 'BÅ‚Ä…d serwera!'; $messages['nomessagesfound'] = 'Brak wiadomoÅ›ci w skrzynce.'; $messages['loggedout'] = 'Użytkownik wylogowaÅ‚ siÄ™ poprawnie.'; $messages['mailboxempty'] = 'Skrzynka jest pusta!'; @@ -99,6 +100,5 @@ $messages['importconfirm'] = '<b>PomyÅ›lnie dodano $inserted kontaktów, pominiÄ $messages['opnotpermitted'] = 'Niedozwolona operacja!'; $messages['nofromaddress'] = 'Brak adresu e-mail w wybranej tożsamoÅ›ci'; $messages['editorwarning'] = 'Zmiana edytora spowoduje utratÄ™ formatowania tekstu. Czy jesteÅ› pewien, że chcesz to zrobić?'; -$messages['httpreceivedencrypterror'] = 'WystÄ…piÅ‚ bÅ‚Ä…d systemu. Skontaktuj siÄ™ z administratorem. <b>Nie można wysÅ‚ać wiadomoÅ›ci.</b>'; ?> |