Skip to content

Commit 27b3410

Browse files
committed
minor symfony#3692 [Book][Translations] fixing a code block (xabbuh)
This PR was merged into the master branch. Discussion ---------- [Book][Translations] fixing a code block | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.5+ | Fixed tickets | Commits ------- a6a074c fixing a code block
2 parents 8673b59 + a6a074c commit 27b3410

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

book/translation.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,9 @@ It will also detect the following translator usages in PHP templates:
693693
which means this example won't be analyzed:
694694

695695
.. code-block:: jinja
696-
{% set message = 'Symfony2 is great' %}
697-
{{ message|trans }}
696+
697+
{% set message = 'Symfony2 is great' %}
698+
{{ message|trans }}
698699
699700
Suppose your application's default_locale is ``fr`` and you have configured ``en`` as the fallback locale
700701
(see :ref:`book-translation-configuration` and :ref:`book-translation-fallback` for how to configure these).

0 commit comments

Comments
 (0)