modified: interface/ri_cmd.py
modified: interface/ri_inst_tk.py modified: xml/interface.xml fix title and language variable
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
import ri_widget
|
||||
import os
|
||||
import ri_tk
|
||||
|
||||
def quit():
|
||||
''' correspond to quit button '''
|
||||
@@ -35,7 +36,7 @@ def next():
|
||||
else:
|
||||
code = ri_widget.MessageBox.dict["next"].show()
|
||||
if code == True:
|
||||
os.execl('/usr/bin/python','python','ri_install.py', "-d","tk")
|
||||
os.execl('/usr/bin/python','python','ri_install.py', "-d","tk","-l",ri_tk.language)
|
||||
from ri_tk_cmd import *
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ def set_task_scale():
|
||||
scl_progress.configure(state='disable')
|
||||
|
||||
def set_task_over():
|
||||
ret = tkMessageBox.askokcancel(title="Install",message="%s"%(language=='chinese' and "凝思磐石系统安装完成,请重新启动系统"or "Rocky system install completed,plase reboot"))
|
||||
ret = tkMessageBox.askokcancel(title="Linx",message="%s"%(language=='chinese' and "凝思磐石系统安装完成,请重新启动系统"or "Rocky system install completed,plase reboot"))
|
||||
return ret
|
||||
|
||||
def root_destroy():
|
||||
|
||||
Reference in New Issue
Block a user