admin: adjust error message in case of workflow import error (#41252)
This commit is contained in:
parent
735b7cce0a
commit
2104bd26dc
|
@ -1001,7 +1001,7 @@ class SettingsDirectory(QommonSettingsDirectory):
|
|||
reason = _('Not a valid export file')
|
||||
except WorkflowImportError as e:
|
||||
results = None
|
||||
reason = _(e) % e.msg_args
|
||||
reason = _('Failed to import a workflow (%s); site import did not complete.') % (_(e) % e.msg_args)
|
||||
html_top('settings', title = _('Import'))
|
||||
r = TemplateIO(html=True)
|
||||
r += htmltext('<h2>%s</h2>') % _('Import')
|
||||
|
|
Loading…
Reference in New Issue