source: drbl_ui/menus/config.py @ 134

Last change on this file since 134 was 19, checked in by chris, 16 years ago
File size: 2.0 KB
Line 
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
7generate_ip_list = '/opt/drbl/bin/get-client-ip-list'
8drbl_ocs = '/opt/drbl/sbin/drbl-ocs -b'
9drbl_dcs = '/opt/drbl/sbin/dcs'
10
11# Main Functions List
12# ITEM ID : ('ITEM NAME', 'ITEM DESCRIBE')
13main_functions = {
140:('remote', 'this is a test string1'),
151:('clonezilla', 'this is a test string2'),
162:('client_actions', 'this is a test string3'),
173:('drbl_config', 'this is a test string4'),
184:('others', 'this is a test string5')
19}
20
21# Remote Functions List
22# ITEM ID : ('ITEM NAME', 'ITEM DESCRIBE', 'COMMAND')
23remote_functions = {
240:('remote-linux', _('msg_remote_linux'), 'remote-linux'),
251:('remote-linux-gra', _('msg_remote_linux_graphic'), 'remote-linux-gra'),
262:('remote-linux-txt', _('msg_remote_linux_text'), 'remote-linux-txt'),
273:('terminal', _('msg_thin_client'), 'terminal'),
284:('remote-memtest', _('msg_remote_memtest'), 'remote-memtest'),
295:('remote-fdos', _('msg_remote_fdos'), 'remote-fdos')
30}
31
32# Clonezilla Save List
33# ITEM ID : ('OPTIONS', 'OPTIONS DESCRIBE')
34all_clonezilla_save_opt = {
350:('-q', _('msg_ocs_param_q')),
361:('-c', _('msg_ocs_param_c')),
372:('-nogui', _('msg_ocs_param_nogui')),
383:('-a', _('msg_ocs_param_a')),
394:('-f', _('msg_ocs_param_f')),
405:('-s', _('msg_ocs_param_s')),
416:('-ntfs-ok', _('msg_ocs_param_notfs_ok'))
42}
43
44# ITEM ID : ('OPTIONS', 'OPTIONS DESCRIBE')
45clonezilla_disk_part = {
460:('startdisk', _('msg_clonezilla_save_disk')),
471:('startparts', _('msg_clonezilla_save_parts'))
48}
49
50client_action_after_save = {
510:('-p choose', _('msg_ocs_param_p_choose')),
521:('-p true', _('msg_ocs_param_p_true')),
532:('-p poweroff', _('msg_ocs_param_p_poweroff')),
543:('-p reboot', _('msg_ocs_param_p_reboot'))
55}
56
57compress_mode = {
580:('-z0', _('msg_ocs_param_z0')),
591:('-z1', _('msg_ocs_param_z1')),
602:('-z2', _('msg_ocs_param_z2')),
613:('-z3', _('msg_ocs_param_z3'))
62}
63
64server_client_input = {
650:(_('msg_now_input_in_server')),
661:(_('msg_later_input_in_client'))
67}
68
69
Note: See TracBrowser for help on using the repository browser.