import wx, sys, os, string, gettext import wx.wizard as wiz cat = gettext.GNUTranslations(open('../langs/%s.mo' % os.getenv('LANG'))) _ = cat.gettext # Example # ITEM ID : ('ITEM NAME', 'ITEM DESCRIBE') main_functions = { 0:('remote', 'this is a test string1'), 1:('clonezilla', 'this is a test string2'), 2:('client_actions', 'this is a test string3'), 3:('drbl_config', 'this is a test string4'), 4:('others', 'this is a test string5') } # Example # ITEM ID : ('ITEM NAME', 'ITEM DESCRIBE', 'COMMAND') remote_functions = { 0:('remote-linux', _('msg_remote_linux'), 'remote-linux'), 1:('remote-linux-gra', _('msg_remote_linux_graphic'), 'remote-linux-gra'), 2:('remote-linux-txt', _('msg_remote_linux_text'), 'remote-linux-txt'), 3:('terminal', _('msg_thin_client'), 'terminal'), 4:('remote-memtest', _('msg_remote_memtest'), 'remote-memtest'), 5:('remote-fdos', _('msg_remote_fdos'), 'remote-fdos') }