comparison frontends/src/wix/constants.py @ 1011:5a6354ff468c

wix: use of new logging system
author Goffi <goffi@goffi.org>
date Mon, 05 May 2014 20:12:21 +0200
parents 1fe00f0c9a91
children
comparison
equal deleted inserted replaced
1010:73a0b7f94674 1011:5a6354ff468c
16 16
17 # You should have received a copy of the GNU Affero General Public License 17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20 from sat.core.i18n import _ 20 from sat.core.i18n import _
21 import sys
22 import os.path 21 import os.path
23 import gettext
24 import sat_frontends.wix 22 import sat_frontends.wix
25 from sat_frontends.quick_frontend import constants 23 from sat_frontends.quick_frontend import constants
26 24
27 25
28 _ = gettext.gettext
29 wix_root = os.path.dirname(sat_frontends.wix.__file__) 26 wix_root = os.path.dirname(sat_frontends.wix.__file__)
30 27
31 28
32 class Const(constants.Const): 29 class Const(constants.Const):
33 30
40 ("chat", _("Free for chat"), "green"), 37 ("chat", _("Free for chat"), "green"),
41 ("away", _("AFK"), "brown"), 38 ("away", _("AFK"), "brown"),
42 ("dnd", _("DND"), "red"), 39 ("dnd", _("DND"), "red"),
43 ("xa", _("Away"), "red") 40 ("xa", _("Away"), "red")
44 ] 41 ]
45 42 LOG_OPT_SECTION = APP_NAME.lower()