schmittjoh/JMSTranslationBundle — pull request #32 by arnaud-lb (2012-03-22 23:19:03+00:00)
Title: check consistency of messages desc

This throws an exception if a message exists with different non empty descs.

This avoids the common error of copy/pasting some line of code and changing the `|desc` while forgetting to change the message id. The main problem with this being that everything look fine until you attempt to translate the message.

This PR will throw an exception like this if a single message exists with multiple descs:

The message 'name.label' exists with two different descs: 'Name' in foo.twig on line 1, and 'Password' in bar.twig on line 2