diff options
author | alecpl <alec@alec.pl> | 2011-08-28 09:47:15 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-08-28 09:47:15 +0000 |
commit | 13d45dfbda1c3e262635159f9d0b22ccfa51fb91 (patch) | |
tree | 87dde522f14ee4ecb12a06f4fc3b947463ef48b4 /program/steps | |
parent | 9a835c7f7ca3b2e1e021840254a15b0205388dfc (diff) |
- Localize forwarded message header (#1488058)
- pl_PL update
- Fix label: databaserror -> dberror
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/compose.inc | 4 | ||||
-rw-r--r-- | program/steps/settings/edit_identity.inc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 4449ea0b2..38749675e 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -827,7 +827,7 @@ function rcmail_create_forward_body($body, $bodyIsHtml) if (!$bodyIsHtml) { - $prefix = "\n\n\n-------- Original Message --------\n"; + $prefix = "\n\n\n-------- " . rcube_label('originalmessage') . " --------\n"; $prefix .= 'Subject: ' . $MESSAGE->subject . "\n"; $prefix .= 'Date: ' . $MESSAGE->headers->date . "\n"; $prefix .= 'From: ' . $MESSAGE->get_header('from') . "\n"; @@ -848,7 +848,7 @@ function rcmail_create_forward_body($body, $bodyIsHtml) $body = rcmail_wash_html($body, array('safe' => $MESSAGE->is_safe), $cid_map); $prefix = sprintf( - "<br /><p>-------- Original Message --------</p>" . + "<br /><p>-------- " . rcube_label('originalmessage') . " --------</p>" . "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tbody>" . "<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">Subject: </th><td>%s</td></tr>" . "<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">Date: </th><td>%s</td></tr>" . diff --git a/program/steps/settings/edit_identity.inc b/program/steps/settings/edit_identity.inc index 426c18ed0..a42e8d091 100644 --- a/program/steps/settings/edit_identity.inc +++ b/program/steps/settings/edit_identity.inc @@ -28,7 +28,7 @@ if (($_GET['_iid'] || $_POST['_iid']) && $RCMAIL->action=='edit-identity') { if (is_array($IDENTITY_RECORD)) $OUTPUT->set_env('iid', $IDENTITY_RECORD['identity_id']); else { - $OUTPUT->show_message('databaserror', 'error'); + $OUTPUT->show_message('dberror', 'error'); // go to identities page rcmail_overwrite_action('identities'); return; |