You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this exception when I choose over 4 elements in list and call group action (delete)
An exception has been thrown during the rendering of a template ("Unable to choose a translation for "Вы действительно хотите произвести выбранное действие для данных элементов?|Вы действительно хотите произвести выбранное действие для %count% выбранных элементов?" with locale "ru". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %count% apples").") in SonataAdminBundle:CRUD:batch_confirmation.html.twig at line 37.
The text was updated successfully, but these errors were encountered:
This is because the Russian translation is wrong: pluralizing the message does not require 2 alternatives (as in English) but 3. and btw, the logic used to select the right alternative can be found in the translator component
Вы действительно хотите произвести выбранное действие для данных элементов?
Вы действительно хотите произвести выбранное действие для %count% выбранных элементов?
— is correct (for 5 or more elements).
Sorry, but i don't understand why this exception is thrown. What mean «Double check that this translation has the correct plural options»?
@timurib the message available in the exception has 2 variantes. Russian needs 3 variantes (some of them may be the same for a particular message eventually)
I get this exception when I choose over 4 elements in list and call group action (delete)
The text was updated successfully, but these errors were encountered: