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
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the "trans()" method with intl formatted messages instead.', __METHOD__), E_USER_DEPRECATED);
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the "trans()" method with intl formatted messages instead.', __METHOD__), E_USER_DEPRECATED);
// when there's exactly one rule given, and that rule is a standard
94
+
// rule, use this rule
95
+
if (1 === \count($parts) && isset($standardRules[0])) {
96
+
returnstrtr($standardRules[0], $parameters);
97
+
}
98
+
99
+
$message = sprintf('Unable to choose a translation for "%s" with locale "%s" for value "%d". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %%count%% apples").', $id, $locale, $number);
100
+
101
+
if (\class_exists(InvalidArgumentException::class)) {
0 commit comments