view frontends/wix/constants.py @ 178:bd24f2aed80c

Plugin XEP-0065: dest_file is now propertly closed after copy, and data dict in getProgress is not filled in case of file access error (file closed)
author Goffi <goffi@goffi.org>
date Mon, 16 Aug 2010 21:08:19 +0800
parents f271fff3a713
children 1438a1337732
line wrap: on
line source

import sys
import __builtin__

__builtin__.__dict__['IMAGE_DIR'] = sys.path[0]+'/images'

__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")]