X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=include%2Ferrors.php;h=2bbb3a3ec98c782e022e716b35a8d26274a0b098;hp=476e8ac39c8d239808ad7e0e92540ca5f5f9ec16;hb=fdf58ef92a0b69f93bd08e22be831aa8172bfe62;hpb=1455d7ecf10b340d84a04b189f2d90abf883ef30 diff --git a/include/errors.php b/include/errors.php index 476e8ac3..2bbb3a3e 100644 --- a/include/errors.php +++ b/include/errors.php @@ -1,15 +1,15 @@ E_USER_ERROR, 'category' => SQM_ERROR_IMAP, - 'message' => _("Thread sorting is not supported by your IMAP server.") . "\n" . - _("Please contact your system administrator and report this error."), + 'message' => _("Thread sorting is not supported by your IMAP server.") . "\n" . + _("Please contact your system administrator and report this error."), 'link' => '', - 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 10 (Allow server thread sort to false") + 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 10 (Disable server thread sort) to true).") ); $aErrors['SQM_IMAP_NO_SORT'] = array( 'level' => E_USER_ERROR, 'category' => SQM_ERROR_IMAP, - 'message' => _( "Server-side sorting is not supported by your IMAP server.") . "\n" . - _("Please contact your system administrator and report this error."), + 'message' => _( "Server-side sorting is not supported by your IMAP server.") . "\n" . + _("Please contact your system administrator and report this error."), + 'link' => '', + 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 11 (Disable server-side sorting) to true.") +); + +$aErrors['SQM_IMAP_BADCHARSET'] = array( + 'level' => E_USER_NOTICE, + 'category' => SQM_ERROR_IMAP, + 'message' => _( "Your used charset is not supported by your IMAP server.") . "\n" . + _("Please contact your system administrator and report this error."), + 'link' => '', + 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 12 (Allow server charset search) to false) or choose option 10 (Language settings) and set option 2 (Default charset) to a charset supported by your IMAP server.") +); + +$aErrors['SQM_IMAP_APPEND_QUOTA_ERROR'] = array( + 'level' => E_USER_NOTICE, + 'category' => SQM_ERROR_IMAP, + 'message' => _( "Out of quota error."), 'link' => '', - 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 11 (Allow server-side sorting to false") + 'tip' => _("Remove unneccessary messages from your folders. Start with your Trash folder.") ); +$aErrors['SQM_IMAP_APPEND_ERROR'] = array( + 'level' => E_USER_NOTICE, + 'category' => SQM_ERROR_IMAP, + 'message' => _( "An error occured when SquirrelMail appended a message to the mailbox as listed in this message."), + 'link' => '' +); + +$aErrors['SQM_IMAP_ERROR'] = array( + 'level' => E_USER_ERROR, + 'category' => SQM_ERROR_IMAP, + 'message' => _( "Your IMAP server returned an error.") . "\n" . + _("Please contact your system administrator and report this error."), + 'link' => '' +); + +$aErrors['SQM_IMAP_BYE'] = array( + 'level' => E_USER_ERROR, + 'category' => SQM_ERROR_IMAP, + 'message' => _( "IMAP server closed the connection.") . "\n" . + _("Please contact your system administrator and report this error."), + 'link' => '' +); //$aError['SQM_FS'] // Filesystem related errors