[Sugar-devel] [PATCH Browse] Remove search url from translation strings SL #3311

Manuel Kaufmann humitos at gmail.com
Sat Apr 28 07:26:17 EDT 2012


This string is not translatable, so it's removed from the list.

Signed-off-by: Manuel Kaufmann <humitos at gmail.com>
---
 browser.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/browser.py b/browser.py
index 259d888..e628848 100644
--- a/browser.py
+++ b/browser.py
@@ -136,7 +136,7 @@ class TabbedView(BrowserNotebook):
         if soup_uri is None and not _NON_SEARCH_REGEX.match(url):
             # If the string doesn't look like an URI, let's search it:
             url_search = \
-                _('http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8')
+                'http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8'
             query_param = Soup.form_encode_hash({'q': url})
             # [2:] here is getting rid of 'q=':
             effective_url = url_search % query_param[2:]
-- 
1.7.7.6



More information about the Sugar-devel mailing list