Skip to content

Commit

Permalink
fixing a code block
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Mar 18, 2014
1 parent 8673b59 commit a6a074c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions book/translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,9 @@ It will also detect the following translator usages in PHP templates:
which means this example won't be analyzed:

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

0 comments on commit a6a074c

Please sign in to comment.