wf/jump: string with named arguments (i18n)
This commit is contained in:
parent
f754a0e39e
commit
e5c7cfc916
|
@ -121,8 +121,9 @@ class JumpWorkflowStatusItem(WorkflowStatusJumpItem):
|
|||
reasons.append(_('timeout'))
|
||||
|
||||
if reasons:
|
||||
return _('Change Status Automatically (to %s) (%s)') % (
|
||||
wf_status.name, ', '.join(reasons))
|
||||
return _('Change Status Automatically (to %(name)s) (%(reasons)s)') % {
|
||||
'name': wf_status.name,
|
||||
'reasons': ', '.join(reasons)}
|
||||
else:
|
||||
return _('Change Status Automatically (to %s)') % wf_status.name
|
||||
|
||||
|
|
Loading…
Reference in New Issue