view frontends/src/wix/constants.py @ 656:7d6e5807504a

bridge, memory: added the parameter security_limit to asyncGetParamA so it can be used from libervia. refactorization in memory.py are related to that.
author souliane <souliane@mailoo.org>
date Wed, 02 Oct 2013 20:25:19 +0200
parents 0806a65a5fa9
children 6246eb6d64a0
line wrap: on
line source

import sys,os.path
import __builtin__
import sat_frontends.wix

wix_root = os.path.dirname(sat_frontends.wix.__file__)

__builtin__.__dict__['APP_NAME'] = "Wix"
__builtin__.__dict__['LICENCE_PATH'] = os.path.join(wix_root,"COPYING")

__builtin__.__dict__['msgOFFLINE']          = _("offline")
__builtin__.__dict__['msgONLINE']           = _("online")
__builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed"
__builtin__.__dict__['const_STATUS']        = [("", _("Online"), None),
                                               ("chat", _("Free for chat"), "green"),
                                               ("away", _("AFK"), "brown"),
                                               ("dnd", _("DND"), "red"),
                                               ("xa", _("Away"), "red")]