Skip to content

Commit 2ad1ba5

Browse files
committed
[symfony#5954] minor tweaks
1 parent d58cb56 commit 2ad1ba5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: book/translation.rst

+5-3
Original file line numberDiff line numberDiff line change
@@ -384,10 +384,11 @@ For more options, see :ref:`component-translator-message-catalogs`.
384384
framework:
385385
translator:
386386
paths:
387-
- "%kernel.root_dir%/../translations"
387+
- '%kernel.root_dir%/../translations'
388388
389389
.. code-block:: xml
390390
391+
<!-- app/config/config.xml -->
391392
<?xml version="1.0" encoding="UTF-8" ?>
392393
<container xmlns="http://symfony.com/schema/dic/services"
393394
xmlns:framework="http://symfony.com/schema/dic/symfony"
@@ -407,11 +408,12 @@ For more options, see :ref:`component-translator-message-catalogs`.
407408
408409
.. code-block:: php
409410
411+
// app/config/config.php
410412
$container->loadFromExtension('framework', array(
411413
'translator' => array(
412414
'paths' => array(
413-
'%kernel.root_dir%/../translations'
414-
)
415+
'%kernel.root_dir%/../translations',
416+
),
415417
),
416418
));
417419

0 commit comments

Comments
 (0)