Index: lib/fantasdic/sources/google_translate.rb
===================================================================
--- lib/fantasdic/sources/google_translate.rb	(revisão 409)
+++ lib/fantasdic/sources/google_translate.rb	(cópia de trabalho)
@@ -29,8 +29,8 @@
         copyright "Copyright (C) 2007 Mathieu Blondel"
         disable_search_all_databases true
 
-        START_MARKUP = "<div id=[\"]?result_box[\"]? dir=[\"]?(ltr|rtl)[\"]?>"
-        END_MARKUP = "</div>"
+        START_MARKUP = "onmouseover=[\"]?this.style.backgroundColor='#ebeff9'[\"]? onmouseout=[\"]?this.style.backgroundColor='#fff'[\"]?>"
+        END_MARKUP = "</span>"
         URL = "http://translate.google.com/translate_t" + \
               "?ie=UTF8&langpair=%s&text=%s"
 
@@ -103,9 +103,9 @@
                 Kernel::open(URL % [db_escaped, word_escaped]) do |buffer|
                     case buffer.read
                         when /#{START_MARKUP}(.*)/
-                            pos = $2.index(END_MARKUP)
+			    pos = $1.index(END_MARKUP)
                             if pos
-                                res = $2[0..pos-1]
+                                res = $1[0..pos-1]
                                 res = CGI.unescapeHTML(res)
                                 res = convert_to_utf8(buffer.charset, res)
                                 defi = Definition.new
