1 | import wx, sys, os, string, gettext |
---|
2 | import wx.wizard as wiz |
---|
3 | |
---|
4 | cat = gettext.GNUTranslations(open('../langs/%s.mo' % os.getenv('LANG'))) |
---|
5 | _ = cat.gettext |
---|
6 | |
---|
7 | # Example |
---|
8 | # ITEM ID : ('ITEM NAME', 'ITEM DESCRIBE') |
---|
9 | main_functions = { |
---|
10 | 0:('remote', 'this is a test string1'), |
---|
11 | 1:('clonezilla', 'this is a test string2'), |
---|
12 | 2:('client_actions', 'this is a test string3'), |
---|
13 | 3:('drbl_config', 'this is a test string4'), |
---|
14 | 4:('others', 'this is a test string5') |
---|
15 | } |
---|
16 | |
---|
17 | # Example |
---|
18 | # ITEM ID : ('ITEM NAME', 'ITEM DESCRIBE', 'COMMAND') |
---|
19 | remote_functions = { |
---|
20 | 0:('remote-linux', _('msg_remote_linux'), 'remote-linux'), |
---|
21 | 1:('remote-linux-gra', _('msg_remote_linux_graphic'), 'remote-linux-gra'), |
---|
22 | 2:('remote-linux-txt', _('msg_remote_linux_text'), 'remote-linux-txt'), |
---|
23 | 3:('terminal', _('msg_thin_client'), 'terminal'), |
---|
24 | 4:('remote-memtest', _('msg_remote_memtest'), 'remote-memtest'), |
---|
25 | 5:('remote-fdos', _('msg_remote_fdos'), 'remote-fdos') |
---|
26 | } |
---|
27 | |
---|