diff libervia.py @ 323:0b7934e75e76

misc: reorganization of the file panels.py + clean the modules import: - some existing modules were not found during JS runtime (panels.py was too large?) - the *Panel classes of panels.py that do not reference "host" have been moved to base_panels.py - cleaned the import in various files
author souliane <souliane@mailoo.org>
date Sat, 04 Jan 2014 00:17:46 +0100
parents bfbd9d6eb901
children d07b54fdc60a
line wrap: on
line diff
--- a/libervia.py	Fri Jan 03 22:44:59 2014 +0100
+++ b/libervia.py	Sat Jan 04 00:17:46 2014 +0100
@@ -26,7 +26,7 @@
 from pyjamas.Timer import Timer
 from pyjamas import Window, DOM
 from pyjamas.JSONService import JSONProxy
-from pyjamas import Location
+
 from browser_side.register import RegisterBox
 from browser_side.contact import ContactPanel
 from browser_side.base_widget import WidgetsPanel
@@ -35,9 +35,11 @@
 from browser_side.jid import JID
 from browser_side.xmlui import XMLUI
 from browser_side.tools import html_sanitize
+
 from sat_frontends.tools.misc import InputHistory
 from sat_frontends.tools.strings import getURLParams
 from constants import Const
+from sat.core.i18n import _
 
 
 MAX_MBLOG_CACHE = 500  # Max microblog entries kept in memories