|
|
|
@ -31,7 +31,7 @@ class ClUpdateAction(Action):
|
|
|
|
|
# ошибки, которые отображаются без подробностей
|
|
|
|
|
native_error = (FilesError,)
|
|
|
|
|
|
|
|
|
|
successMessage = __("Revision update finished!")
|
|
|
|
|
successMessage = None
|
|
|
|
|
failedMessage = __("Failed to update of system revision")
|
|
|
|
|
interruptMessage = __("Update manually interrupted")
|
|
|
|
|
|
|
|
|
@ -40,4 +40,14 @@ class ClUpdateAction(Action):
|
|
|
|
|
{'name':'dispatch',
|
|
|
|
|
'method':'Install.applyTemplates(install.cl_source,cl_template_clt_set,'\
|
|
|
|
|
'True,None)',
|
|
|
|
|
},
|
|
|
|
|
# сообщение удачного завершения при обновлении ревизии
|
|
|
|
|
{'name':'success_rev',
|
|
|
|
|
'message' : __("Revision update finished!"),
|
|
|
|
|
'condition':lambda Get:Get('cl_update_rev_set') == 'on'
|
|
|
|
|
},
|
|
|
|
|
# сообщение удачного завершения при пересоздании world
|
|
|
|
|
{'name':'success_world',
|
|
|
|
|
'message' : __("World rebuilding finished!"),
|
|
|
|
|
'condition':lambda Get:Get('cl_rebuild_world_set') == 'on'
|
|
|
|
|
}]
|
|
|
|
|