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 |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index c074ec1..478858b 100644
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -17,8 +17,6 @@
  | Authors: 4mir Salihefendic <amix@amix.dk>                             |
  |          Aleksander Machniak - <alec [at] alec.pl>                    |
  +-----------------------------------------------------------------------+
-
-  $Id$
 */
 
 var GOOGIE_CUR_LANG,
@@ -27,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;
 
@@ -42,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);
@@ -152,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)

--
Gitblit v1.9.1