From 87b513853c818541e0966277288b685c3016a7fc Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sun, 10 Nov 2013 12:22:48 -0500
Subject: [PATCH] Better button text for message restore dialog

---
 program/steps/mail/compose.inc |    2 +-
 program/js/app.js              |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 79436ad..4090cbe 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3161,7 +3161,7 @@
               }
             },
             {
-              text: this.get_label('cancel'),
+              text: this.get_label('ignore'),
               click: function(){
                 $(this).dialog('close');
               }
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 7f5435f..a791cf8 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -110,7 +110,7 @@
     'nobodywarning', 'notsentwarning', 'notuploadedwarning', 'savingmessage', 'sendingmessage', 
     'messagesaved', 'converting', 'editorwarning', 'searching', 'uploading', 'uploadingmany',
     'fileuploaderror', 'sendmessage', 'savenewresponse', 'responsename', 'responsetext', 'save',
-    'savingresponse', 'restoresavedcomposedata', 'restoremessage', 'delete', 'restore');
+    'savingresponse', 'restoresavedcomposedata', 'restoremessage', 'delete', 'restore', 'ignore');
 
 $OUTPUT->set_env('compose_id', $COMPOSE['id']);
 $OUTPUT->set_env('session_id', session_id());

--
Gitblit v1.9.1