diff --git a/doc/filters/plural.rst b/doc/filters/plural.rst index 50c18cdc0..770345219 100644 --- a/doc/filters/plural.rst +++ b/doc/filters/plural.rst @@ -11,11 +11,11 @@ plural version: .. code-block:: twig {# English (en) rules are used by default #} - {{ 'partition'|pluralize() }} - partitions + {{ 'animal'|plural() }} + animals - {{ 'partition'|pluralize('fr') }} - partitions + {{ 'animal'|plural('fr') }} + animaux .. note::