annotate frontends/src/wix/constants.py @ 495:a726b234d3bf

primitivus: moved constants in a separate file
author Goffi <goffi@goffi.org>
date Mon, 03 Sep 2012 23:43:15 +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")]