Skip to content

Commit

Permalink
Fixes form decorator and uses sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
gethash committed Nov 12, 2015
1 parent 1a99bb7 commit ecf929e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icinga/Web/Form/Decorator/FormHints.php
Expand Up @@ -58,7 +58,7 @@ public function render($content = '')
$hints = $this->recurseForm($form, $entirelyRequired);
if ($entirelyRequired !== null) {
$hints[] = $form->getView()->translate(sprintf(
'* Required field',
'%s Required field',
$form->getRequiredCue()
));
}
Expand Down

0 comments on commit ecf929e

Please sign in to comment.