From 2c3c5884e3005bfec7408c6718e48bc5af380000 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 26 Jun 2014 14:33:14 -0400
Subject: [PATCH] Fix incorrect label translation in return receipt (#1489963)

---
 CHANGELOG                   |    1 +
 program/steps/mail/func.inc |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 6ff89c2..e4a02ad 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -49,6 +49,7 @@
 - Fix malformed recipient name when composing a message by clicking on mailto link (#1489942)
 - Fix list reload after sending message in another window (#1489931)
 - Fix so address format errors are ignored when saving a draft (#1489954)
+- Fix incorrect label translation in return receipt (#1489963)
 
 RELEASE 1.0.1
 -------------
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index e8bf5e1..5efafda 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1816,7 +1816,7 @@
         $body = $RCMAIL->gettext("yourmessage") . "\r\n\r\n" .
             "\t" . $RCMAIL->gettext("to") . ': ' . rcube_mime::decode_mime_string($message->headers->to, $message->headers->charset) . "\r\n" .
             "\t" . $RCMAIL->gettext("subject") . ': ' . $message->subject . "\r\n" .
-            "\t" . $RCMAIL->gettext("sent") . ': ' . $RCMAIL->format_date($message->headers->date, $RCMAIL->config->get('date_long')) . "\r\n" .
+            "\t" . $RCMAIL->gettext("date") . ': ' . $RCMAIL->format_date($message->headers->date, $RCMAIL->config->get('date_long')) . "\r\n" .
             "\r\n" . $RCMAIL->gettext("receiptnote");
 
         $compose->headers($headers);

--
Gitblit v1.9.1