From 61f7a9b01a8f697a5e8c2e41af1865ce865f7664 Mon Sep 17 00:00:00 2001 From: Dmitry Vishin Date: Tue, 25 Sep 2018 21:03:10 +0300 Subject: [PATCH] Update debug.rst This is a correction of messages for "fr" block after described steps --- translation/debug.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/translation/debug.rst b/translation/debug.rst index 767f0ef96aa..eb0f0d38d89 100644 --- a/translation/debug.rst +++ b/translation/debug.rst @@ -161,7 +161,7 @@ in the ``fr`` locale equals to the message in the ``en`` locale. This is a special case because the untranslated message id equals its translation in the ``en`` locale. -If you copy the content of the translation file in the ``en`` locale, to the +If you copy the content of the translation file in the ``en`` locale to the translation file in the ``fr`` locale and run the command, you will get: .. code-block:: terminal @@ -169,14 +169,14 @@ translation file in the ``fr`` locale and run the command, you will get: $ php bin/console debug:translation fr AcmeDemoBundle ---------- ------------------ ---------------------- ------------------------------- - State Id Message Preview (fr) Fallback Message Preview (en) + State Id Message Preview (fr) Fallback Message Preview (en) ---------- ------------------ ---------------------- ------------------------------- fallback Symfony is great Symfony is great Symfony is great ---------- ------------------ ---------------------- ------------------------------- You can see that the translations of the message are identical in the ``fr`` -and ``en`` locales which means this message was probably copied from French -to English and maybe you forgot to translate it. +and ``en`` locales which means this message was probably copied from English +to French and maybe you forgot to translate it. By default, all domains are inspected, but it is possible to specify a single domain: