Mercurial > libervia-backend
view frontends/src/wix/constants.py @ 320:5fc5e6a7e5c3
plugin Tarot: added a launch method to automatically create a new room, invite players and create the game
- xep-0249 (direct MUC invitation) is used with a custom attribute to invite other users
- bridge: added tarotGameLaunch in frontend side
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 May 2011 15:42:26 +0200 |
parents | 533507bb4e32 |
children | 0806a65a5fa9 |
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__['IMAGE_DIR'] = os.path.join(wix_root,'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")]