From 4af76d20cafcd456bf3ce0fcb17b25a888c45160 Mon Sep 17 00:00:00 2001
From: Thomas <thomas@roundcube.net>
Date: Mon, 21 Oct 2013 15:14:46 -0400
Subject: [PATCH] Bump version

---
 program/js/googiespell.js |   44 ++++++++++++++++++++++++++------------------
 1 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index 7f46568..478858b 100644
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -1,14 +1,22 @@
 /*
- SpellCheck
-    jQuery'fied spell checker based on GoogieSpell 4.0
- Copyright (C) 2006 Amir Salihefendic
- Copyright (C) 2009 Aleksander Machniak
- Copyright (C) 2011 Kolab Systems AG
-     LICENSE
-         GPL
-     AUTHORS
-         4mir Salihefendic (http://amix.dk) - amix@amix.dk
-	    Aleksander Machniak - alec [at] alec.pl
+ +-----------------------------------------------------------------------+
+ | Roundcube SpellCheck script                                           |
+ |   jQuery'fied spell checker based on GoogieSpell 4.0                  |
+ |    (which was published under GPL "version 2 or any later version")   |
+ |                                                                       |
+ | This file is part of the Roundcube Webmail client                     |
+ | Copyright (C) 2006 Amir Salihefendic                                  |
+ | Copyright (C) 2009 The Roundcube Dev Team                             |
+ | Copyright (C) 2011 Kolab Systems AG                                   |
+ |                                                                       |
+ | Licensed under the GNU General Public License version 3 or            |
+ | any later version with exceptions for skins & plugins.                |
+ | See the README file for a full license statement.                     |
+ |                                                                       |
+ +-----------------------------------------------------------------------+
+ | Authors: 4mir Salihefendic <amix@amix.dk>                             |
+ |          Aleksander Machniak - <alec [at] alec.pl>                    |
+ +-----------------------------------------------------------------------+
 */
 
 var GOOGIE_CUR_LANG,
@@ -17,7 +25,7 @@
 function GoogieSpell(img_dir, server_url, has_dict)
 {
     var ref = this,
-        cookie_value = getCookie('language');
+        cookie_value = rcmail.get_cookie('language');
 
     GOOGIE_CUR_LANG = cookie_value != null ? cookie_value : GOOGIE_DEFAULT_LANG;
 
@@ -32,9 +40,9 @@
 
     this.org_lang_to_word = {
 	    "da": "Dansk", "de": "Deutsch", "en": "English",
-        "es": "Espa&#241;ol", "fr": "Fran&#231;ais", "it": "Italiano", 
-        "nl": "Nederlands", "pl": "Polski", "pt": "Portugu&#234;s",
-        "fi": "Suomi", "sv": "Svenska"
+        "es": "Español", "fr": "Français", "it": "Italiano",
+        "nl": "Nederlands", "pl": "Polski", "pt": "Português",
+        "ru": "Русский", "fi": "Suomi", "sv": "Svenska"
     };
     this.lang_to_word = this.org_lang_to_word;
     this.langlist_codes = this.array_keys(this.lang_to_word);
@@ -142,7 +150,7 @@
     //Set cookie
     var now = new Date();
     now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
-    setCookie('language', lan_code, now);
+    rcmail.set_cookie('language', lan_code, now);
 };
 
 this.setForceWidthHeight = function(width, height)
@@ -167,9 +175,9 @@
     this.extra_menu_items.push([name, call_back_fn, checker]);
 };
 
-this.appendCustomMenuBuilder = function(eval, builder)
+this.appendCustomMenuBuilder = function(eval_fn, builder)
 {
-    this.custom_menu_builder.push([eval, builder]);
+    this.custom_menu_builder.push([eval_fn, builder]);
 };
 
 this.setFocus = function()
@@ -462,7 +470,7 @@
     var changed = false;
     for (var k=0; k<this.custom_menu_builder.length; k++) {
         var eb = this.custom_menu_builder[k];
-        if(eb[0]((this.results[id]))){
+        if (eb[0](this.results[id])) {
             changed = eb[1](this, list, elm);
             break;
         }

--
Gitblit v1.9.1