Commit ddcec079 authored by Fabien Potencier's avatar Fabien Potencier

bug #892 TranslationServiceProvider replaced translator.messages by translator.domains. (FGM)

This PR was submitted for the 1.0.x-dev branch but it was merged into the 1.0 branch instead (closes #892).

Discussion
----------

TranslationServiceProvider replaced translator.messages by translator.domains.

- changed in commit 7C496D

Commits
-------

72b1ad9 TranslationServiceProvider replaced translator.messages by translator.domains.
parents 6e4b26d7 ab8a2611
......@@ -145,7 +145,7 @@ form by adding constraints on the fields::
$app->register(new Silex\Provider\ValidatorServiceProvider());
$app->register(new Silex\Provider\TranslationServiceProvider(), array(
'translator.messages' => array(),
'translator.domains' => array(),
));
$form = $app['form.factory']->createBuilder('form')
......
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