Skip to content

Commit efc3d81

Browse files
committed
Fixes wording about multiple twig filters
1 parent 3f657ad commit efc3d81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/form.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,13 @@ Translation
246246
~~~~~~~~~~~
247247

248248
If you're using the Twig integration with one of the default form theme files
249-
(e.g. ``form_div_layout.html.twig``), there are 2 Twig filters (``trans``)
250-
that are used for translating form labels, errors, option
249+
(e.g. ``form_div_layout.html.twig``), there is a Twig filter (``trans``)
250+
that is used for translating form labels, errors, option
251251
text and other strings.
252252

253-
To add these Twig filters, you can either use the built-in
253+
To add the ``trans`` Twig filter, you can either use the built-in
254254
:class:`Symfony\\Bridge\\Twig\\Extension\\TranslationExtension` that integrates
255-
with Symfony's Translation component, or add the 2 Twig filters yourself,
255+
with Symfony's Translation component, or add the Twig filter yourself,
256256
via your own Twig extension.
257257

258258
To use the built-in integration, be sure that your project has Symfony's

0 commit comments

Comments
 (0)