Skip to content

Commit 27b3410

Browse files
committed
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
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

Lines changed: 3 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy