Permalink
Browse files

minor #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
  • Loading branch information...
weaverryan committed Mar 18, 2014
2 parents 8673b59 + a6a074c commit 27b341017bdd1ac37966833e10660451e784d637
Showing with 3 additions and 2 deletions.
  1. +3 −2 book/translation.rst
View
@@ -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).

0 comments on commit 27b3410

Please sign in to comment.