annotate frontends/wix/constants.py @ 191:1438a1337732

About added/updated for Wix & Jp - Jp version now follow the one of core SàT - Wix has now an about box, and its version follow the one of core SàT
author Goffi <goffi@goffi.org>
date Wed, 18 Aug 2010 22:34:35 +0800
parents f271fff3a713
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
72
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
1 import sys
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2 import __builtin__
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
3
191
1438a1337732 About added/updated for Wix & Jp
Goffi <goffi@goffi.org>
parents: 72
diff changeset
4 __builtin__.__dict__['APP_NAME'] = "Wix"
1438a1337732 About added/updated for Wix & Jp
Goffi <goffi@goffi.org>
parents: 72
diff changeset
5 __builtin__.__dict__['LICENCE_PATH'] = "../../COPYING"
72
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
6 __builtin__.__dict__['IMAGE_DIR'] = sys.path[0]+'/images'
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
7
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
8 __builtin__.__dict__['msgOFFLINE'] = _("offline")
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
9 __builtin__.__dict__['msgONLINE'] = _("online")
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
10 __builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed"
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
11 __builtin__.__dict__['const_STATUS'] = [("", _("Online"), None),
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
12 ("chat", _("Free for chat"), "green"),
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
13 ("away", _("AFK"), "brown"),
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
14 ("dnd", _("DND"), "red"),
f271fff3a713 MUC implementation: first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
15 ("xa", _("Away"), "red")]