Skip to content

Commit

Permalink
Update placeholder in translation string.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 23, 2014
1 parent ec37fce commit ad50d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Error/Exception/ValidationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct(Entity $entity, $code = 412) {
$flat = Hash::flatten($this->_validationErrors);

$errorCount = $this->_validationErrorCount = count($flat);
$this->message = __dn('crud', 'A validation error occurred', '%d validation errors occurred', $errorCount, [$errorCount]);
$this->message = __dn('crud', 'A validation error occurred', '{0} validation errors occurred', $errorCount, [$errorCount]);

parent::__construct($this->message, $code);
}
Expand Down

0 comments on commit ad50d7e

Please sign in to comment.