admin: adjust error message in case of workflow import error (#41252)

This commit is contained in:
Frédéric Péters 2020-05-08 15:35:16 +02:00
parent 735b7cce0a
commit 2104bd26dc
1 changed files with 1 additions and 1 deletions

View File

@ -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')