@@ -307,7 +307,7 @@ Define Validation Constraints on the Underlying Object
307
307
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308
308
309
309
Attaching :doc: `validation constraints </reference/constraints >` to form fields
310
- instead of to the mapped object prevents the validation from being reused in
310
+ instead of to the mapped object prevents the validation from being checked in
311
311
other forms or other places where the object is used.
312
312
313
313
.. _best-practice-handle-form :
@@ -318,7 +318,7 @@ Use a Single Action to Render and Process the Form
318
318
:ref: `Rendering forms <rendering-forms >` and :ref: `processing forms <processing-forms >`
319
319
are two of the main tasks when handling forms. Both are too similar (most of the
320
320
times, almost identical), so it's much simpler to let a single controller action
321
- handle everything .
321
+ handle both .
322
322
323
323
Internationalization
324
324
--------------------
@@ -327,8 +327,8 @@ Use the XLIFF Format for Your Translation Files
327
327
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328
328
329
329
Of all the translation formats supported by Symfony (PHP, Qt, ``.po ``, ``.mo ``,
330
- JSON, CSV, INI, etc.) XLIFF and gettext have the best support in the tools used
331
- by professional translators. And since it's based on XML, you can validate XLIFF
330
+ JSON, CSV, INI, etc.), `` XLIFF `` and `` gettext `` have the best support in the tools used
331
+ by professional translators. And since it's based on XML, you can validate `` XLIFF ``
332
332
file contents as you write them.
333
333
334
334
Symfony also supports notes in XLIFF files, making them more user-friendly for
0 commit comments