From 6357223bd1a8d5ce8d3658e5940aa71e663cf033 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 03 Mar 2012 13:32:31 -0500
Subject: [PATCH] Fix spelling

---
 program/steps/mail/compose.inc            |    6 +++---
 program/js/app.js                         |    8 ++++----
 skins/larry/templates/compose.html        |    2 +-
 skins/larry/templates/messagepreview.html |    2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index ca73db5..430d92d 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -277,13 +277,13 @@
           if (this.gui_objects.contactslist) {
             this.contact_list = new rcube_list_widget(this.gui_objects.contactslist,
               { multiselect:true, draggable:false, keyboard:false });
-            this.contact_list.addEventListener('select', function(o){ ref.compose_recipeint_select(o); });
+            this.contact_list.addEventListener('select', function(o){ ref.compose_recipient_select(o); });
             this.contact_list.addEventListener('dblclick', function(o){ ref.compose_add_recipient('to'); });
             this.contact_list.init();
           }
 
-          if (this.gui_objects.adressbookslist) {
-            this.gui_objects.folderlist = this.gui_objects.adressbookslist;
+          if (this.gui_objects.addressbookslist) {
+            this.gui_objects.folderlist = this.gui_objects.addressbookslist;
             this.enable_command('list-adresses', true);
           }
         }
@@ -2998,7 +2998,7 @@
       .attr('autocomplete', 'off');
   };
   
-  this.compose_recipeint_select = function(list)
+  this.compose_recipient_select = function(list)
   {
     this.enable_command('add-recipient', list.selection.length > 0);
   };
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index d5356e0..8c3e611 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -1519,7 +1519,7 @@
 }
 
 
-function rcmail_adressbook_list($attrib = array())
+function rcmail_addressbook_list($attrib = array())
 {
     global $RCMAIL, $OUTPUT;
 
@@ -1548,7 +1548,7 @@
             $js_id, (!empty($source['name']) ? Q($source['name']) : Q($id)));
     }
 
-    $OUTPUT->add_gui_object('adressbookslist', $attrib['id']);
+    $OUTPUT->add_gui_object('addressbookslist', $attrib['id']);
 
     return html::tag('ul', $attrib, $out, html::$common_attrib);
 }
@@ -1584,7 +1584,7 @@
   'receiptcheckbox' => 'rcmail_receipt_checkbox',
   'dsncheckbox' => 'rcmail_dsn_checkbox',
   'storetarget' => 'rcmail_store_target_selection',
-  'adressbooks' => 'rcmail_adressbook_list',
+  'addressbooks' => 'rcmail_addressbook_list',
   'addresslist' => 'rcmail_contacts_list',
 ));
 
diff --git a/skins/larry/templates/compose.html b/skins/larry/templates/compose.html
index e2b835d..20bead4 100644
--- a/skins/larry/templates/compose.html
+++ b/skins/larry/templates/compose.html
@@ -16,7 +16,7 @@
 <!-- inline address book -->
 <div id="compose-contacts" class="uibox listbox">
 <h2 class="boxtitle"><roundcube:label name="contacts" /></h2>
-	<roundcube:object name="adressbooks" id="directorylist" class="listing" />
+	<roundcube:object name="addressbooks" id="directorylist" class="listing" />
 	<div class="scroller withfooter">
 		<roundcube:object name="addresslist" id="contacts-table" class="listing" noheader="true" />
 	</div>
diff --git a/skins/larry/templates/messagepreview.html b/skins/larry/templates/messagepreview.html
index a804084..cd9c234 100644
--- a/skins/larry/templates/messagepreview.html
+++ b/skins/larry/templates/messagepreview.html
@@ -29,7 +29,7 @@
 <div id="countcontrols" class="pagenav">
 <roundcube:if condition="env:mailbox != config:drafts_mbox">
 	<roundcube:button command="reply" type="link" class="button reply" classSel="button reply pressed" innerClass="inner" title="replytomessage" content="&lt;-" />
-	<roundcube:button command="replyall" type="link" class="button replyall" classSel="button replyall pressed" innerClass="inner" title="replytoallmessage" content="&lt;&lt;-" />
+	<roundcube:button command="reply-all" type="link" class="button replyall" classSel="button replyall pressed" innerClass="inner" title="replytoallmessage" content="&lt;&lt;-" />
 	<roundcube:button command="forward" type="link" class="button forward" classSel="button forward pressed" innerClass="inner" title="forwardmessage" content="-&gt;" />
 	&nbsp;
 <roundcube:endif />

--
Gitblit v1.9.1