Skip to content

Commit

Permalink
minor #3692 [Book][Translations] fixing a code block (xabbuh)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Mar 18, 2014
2 parents 8673b59 + a6a074c commit 27b3410
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 27b3410

Please sign in to comment.