Skip to content

Commit

Permalink
Changed the domain used by default for messages of the user to "messa…
Browse files Browse the repository at this point in the history
…ges"

These messages are not translated in the bundle so there is no reason to
default to the AdminBundle domain.
  • Loading branch information
stof committed May 30, 2011
1 parent 74640b4 commit 9fbdaee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Admin/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ abstract class Admin implements AdminInterface
*
* @var string
*/
protected $translationDomain = 'AdminBundle';
protected $translationDomain = 'messages';

/**
* Options to set to the form (ie, validation_groups)
Expand Down

0 comments on commit 9fbdaee

Please sign in to comment.