symfony/symfony — pull request #10900 by t3chn0r (2014-05-14 13:27:35+00:00)
Title: Update MessageSelector.php to show which value was passed

When the translator can't find a correct match using transChoice() a string is logged today with the following text:

Unable to choose a translation for "[string]" with locale "[locale]". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %%count%% apples").

This change introduces the value that was passed to transChoice() so the developer will have more information as to what value did not match any of the translation options:

Unable to choose a translation for "[string]" with locale "[locale]" for value "[value]". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %%count%% apples").