summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-23 08:01:46 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-23 08:01:46 +0000
commit1adef0521562c283bcdd2fb641914fd3a6792a4c (patch)
tree58f41cdf6fa481db4ee9e763228cfcdca5044381 /roundcubemail/program
parent2c4201e398d08a87ac0f41dc211cb441f24e3195 (diff)
- translate internalerror message
git-svn-id: https://svn.roundcube.net/trunk@3655 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/localization/en_US/messages.inc1
-rw-r--r--roundcubemail/program/localization/pl_PL/messages.inc1
-rw-r--r--roundcubemail/program/steps/mail/sendmail.inc4
3 files changed, 4 insertions, 2 deletions
diff --git a/roundcubemail/program/localization/en_US/messages.inc b/roundcubemail/program/localization/en_US/messages.inc
index 4b2530b01..9208bbde3 100644
--- a/roundcubemail/program/localization/en_US/messages.inc
+++ b/roundcubemail/program/localization/en_US/messages.inc
@@ -113,5 +113,6 @@ $messages['smtperror'] = 'SMTP Error: $msg';
$messages['emailformaterror'] = 'Invalid e-mail address: $email';
$messages['toomanyrecipients'] = 'Too many recipients. Reduce the number of recipients to $max.';
$messages['maxgroupmembersreached'] = 'The number of group members exceeds the maximum of $max';
+$messages['internalerror'] = 'An internal error occured. Please try again';
?>
diff --git a/roundcubemail/program/localization/pl_PL/messages.inc b/roundcubemail/program/localization/pl_PL/messages.inc
index b82cd27bc..094acaa42 100644
--- a/roundcubemail/program/localization/pl_PL/messages.inc
+++ b/roundcubemail/program/localization/pl_PL/messages.inc
@@ -118,5 +118,6 @@ $messages['smtperror'] = 'Błąd SMTP: $msg';
$messages['emailformaterror'] = 'Błędny adres e-mail: $email';
$messages['toomanyrecipients'] = 'Zbyt wielu odbiorców. Zmniejsz ich liczbę do $max.';
$messages['maxgroupmembersreached'] = 'Liczba członków grupy nie może być większa niż $max';
+$messages['internalerror'] = 'Wystąpił wewnętrzny błąd systemu. Spróbuj jeszcze raz'
?>
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc
index dedab99fa..d6143d82b 100644
--- a/roundcubemail/program/steps/mail/sendmail.inc
+++ b/roundcubemail/program/steps/mail/sendmail.inc
@@ -29,11 +29,11 @@ $savedraft = !empty($_POST['_draft']) ? TRUE : FALSE;
/****** checks ********/
if (!isset($_SESSION['compose']['id'])) {
- raise_error(array('code' => 500, 'type' => 'smtp',
+ raise_error(array('code' => 500, 'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
'message' => "Invalid compose ID"), true, false);
- $OUTPUT->show_message("An internal error occured. Please try again.", 'error');
+ $OUTPUT->show_message('internalerror', 'error');
$OUTPUT->send('iframe');
}