Commit 09a3b91b authored by bojanz's avatar bojanz

Fix translation call in WorkflowTranslation::getLabel().

parent 607438d8
......@@ -76,7 +76,7 @@ class WorkflowTransition {
* The translated label.
*/
public function getLabel() {
return $this->t($this->label, [], ['context' => 'workflow transition']);
return t($this->label, [], ['context' => 'workflow transition']);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment