bug# 1241 ,check partition, modify fstab

add a yesorno dialog when check partition: if yes,continue; if no,exit
	modified:   dialog/di_dialog.py
	modified:   interface/ri_data.py
	modified:   interface/ri_tk_cmd.py
	modified:   xml/interface.xml
This commit is contained in:
hbjia
2012-10-23 17:00:45 +08:00
parent 744dc58c5e
commit f5c38cd5b7
4 changed files with 11 additions and 14 deletions

View File

@@ -796,6 +796,7 @@ row 4 | |
<message_box name='raid_delete_warning' type='showwarning' title='Linx' message='#raid-delete-warning'/>
<message_box name='raid_add_active_numbers' type='showwarning' title='Linx' message='#raid-add-active-numbers'/>
<message_box name='raid_add_active_numbers_2' type='showwarning' title='Linx' message='#raid-add-active-numbers-2'/>
<message_box name='check_partitions' type='askokcancel' title='Linx' message='#check-partitions'/>
<message_box name='check_mount_point' type='showwarning' title='Linx' message='#check-mount-point'/>
<message_box name='check_special_mount' type='showwarning' title='Linx' message='#check-special-mount'/>
<message_box name='check_ip_hostname' type='showwarning' title='Linx' message='#check-ip-hostname'/>
@@ -889,6 +890,10 @@ row 4 | |
</top_window>
<text key='#check-partitions'>
<English>Sorry, Your hard disk have no partition, \nYou may not perform the following operations!\nContinue or not?</English>
<Chinese>对不起,您的硬盘还没有分区,可能无法进行下面的操作!继续(Y/返回N</Chinese>
</text>
<text key='#check-special-mount'>
<English>Special platform to set a special mount point, please refer to the left of the help documentation</English>