annotate frontends/src/wix/constants.py @ 507:f98bef71a918

frontends, core, plugin XEP-0045: leave implementation + better nick change - memory: individual entity cache can be deleted - plugin XEP-0045: nick change are now detected and userChangedNick signal is sent instead of joined/left - plugin XEP-0045: leave implementation - frontends: userChangedNick signal management - Primitivus: an alert is shown in notification bar in case of error in sendMessage
author Goffi <goffi@goffi.org>
date Fri, 28 Sep 2012 00:26:24 +0200
parents 0806a65a5fa9
children 6246eb6d64a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
227
533507bb4e32 distutils wix installation
Goffi <goffi@goffi.org>
parents: 223
diff changeset
1 import sys,os.path
72
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2 import __builtin__
227
533507bb4e32 distutils wix installation
Goffi <goffi@goffi.org>
parents: 223
diff changeset
3 import sat_frontends.wix
533507bb4e32 distutils wix installation
Goffi <goffi@goffi.org>
parents: 223
diff changeset
4
533507bb4e32 distutils wix installation
Goffi <goffi@goffi.org>
parents: 223
diff changeset
5 wix_root = os.path.dirname(sat_frontends.wix.__file__)
72
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
6
191
1438a1337732 About added/updated for Wix & Jp
Goffi <goffi@goffi.org>
parents: 72
diff changeset
7 __builtin__.__dict__['APP_NAME'] = "Wix"
227
533507bb4e32 distutils wix installation
Goffi <goffi@goffi.org>
parents: 223
diff changeset
8 __builtin__.__dict__['LICENCE_PATH'] = os.path.join(wix_root,"COPYING")
72
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
9
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
10 __builtin__.__dict__['msgOFFLINE'] = _("offline")
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
11 __builtin__.__dict__['msgONLINE'] = _("online")
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
12 __builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed"
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
13 __builtin__.__dict__['const_STATUS'] = [("", _("Online"), None),
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
14 ("chat", _("Free for chat"), "green"),
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
15 ("away", _("AFK"), "brown"),
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
16 ("dnd", _("DND"), "red"),
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
17 ("xa", _("Away"), "red")]