Skip to content

Commit 9d6fd9a

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Update best_practices.rst
2 parents 3c006c7 + f7066fb commit 9d6fd9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

best_practices.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ Use a Single Action to Render and Process the Form
318318
:ref:`Rendering forms <rendering-forms>` and :ref:`processing forms <processing-forms>`
319319
are two of the main tasks when handling forms. Both are too similar (most of the
320320
times, almost identical), so it's much simpler to let a single controller action
321-
handle everything.
321+
handle both.
322322

323323
Internationalization
324324
--------------------
@@ -327,8 +327,8 @@ Use the XLIFF Format for Your Translation Files
327327
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328328

329329
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``
332332
file contents as you write them.
333333

334334
Symfony also supports notes in XLIFF files, making them more user-friendly for

0 commit comments

Comments
 (0)