source: drbl_ui/config/config.py @ 97

Last change on this file since 97 was 20, checked in by chris, 17 years ago
File size: 909 bytes
RevLine 
[20]1import  wx, sys, os, string, gettext
2import  wx.wizard as wiz
3
4cat = gettext.GNUTranslations(open('../langs/%s.mo' % os.getenv('LANG')))
5_ = cat.gettext
6
7# Example
8# ITEM ID : ('ITEM NAME', 'ITEM DESCRIBE')
9main_functions = {
100:('remote', 'this is a test string1'),
111:('clonezilla', 'this is a test string2'),
122:('client_actions', 'this is a test string3'),
133:('drbl_config', 'this is a test string4'),
144:('others', 'this is a test string5')
15}
16
17# Example
18# ITEM ID : ('ITEM NAME', 'ITEM DESCRIBE', 'COMMAND')
19remote_functions = {
200:('remote-linux', _('msg_remote_linux'), 'remote-linux'),
211:('remote-linux-gra', _('msg_remote_linux_graphic'), 'remote-linux-gra'),
222:('remote-linux-txt', _('msg_remote_linux_text'), 'remote-linux-txt'),
233:('terminal', _('msg_thin_client'), 'terminal'),
244:('remote-memtest', _('msg_remote_memtest'), 'remote-memtest'),
255:('remote-fdos', _('msg_remote_fdos'), 'remote-fdos')
26}
27
Note: See TracBrowser for help on using the repository browser.