From cb60c86e6e3dd33cf3164fadadba3dae400a25cb Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 5 Aug 2013 20:41:22 +0200 Subject: [PATCH] use action name if not translation can be found --- views/bootstrap/class.TriggerWorkflow.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.TriggerWorkflow.php b/views/bootstrap/class.TriggerWorkflow.php index fb7bf8fef..f6f83e768 100644 --- a/views/bootstrap/class.TriggerWorkflow.php +++ b/views/bootstrap/class.TriggerWorkflow.php @@ -104,7 +104,7 @@ function checkForm() - + @@ -121,7 +121,7 @@ function checkForm() echo "".getMLText('action')."Start stateEnd state".getMLText('date')."".getMLText('user')."".getMLText('comment').""; foreach($wkflog as $entry) { echo ""; - echo "".getMLText('action_'.$entry->getTransition()->getAction()->getName()).""; + echo "".getMLText('action_'.strtolower($entry->getTransition()->getAction()->getName()), array(), $entry->getTransition()->getAction()->getName()).""; echo "".$entry->getTransition()->getState()->getName().""; echo "".$entry->getTransition()->getNextState()->getName().""; echo "".$entry->getDate()."";