Skip to content

Commit b05009d

Browse files
committed
minor #10403 Update debug.rst (Dmitry Vishin)
This PR was submitted for the 4.1 branch but it was merged into the 3.4 branch instead (closes #10403). Discussion ---------- Update debug.rst This is a correction of messages for "fr" block after described steps (as it tested for v4.1) Commits ------- 61f7a9b Update debug.rst
2 parents dabf7b3 + 61f7a9b commit b05009d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

translation/debug.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -161,22 +161,22 @@ in the ``fr`` locale equals to the message in the ``en`` locale. This is a
161161
special case because the untranslated message id equals its translation in
162162
the ``en`` locale.
163163

164-
If you copy the content of the translation file in the ``en`` locale, to the
164+
If you copy the content of the translation file in the ``en`` locale to the
165165
translation file in the ``fr`` locale and run the command, you will get:
166166

167167
.. code-block:: terminal
168168
169169
$ php bin/console debug:translation fr AcmeDemoBundle
170170
171171
---------- ------------------ ---------------------- -------------------------------
172-
State Id Message Preview (fr) Fallback Message Preview (en)
172+
State Id Message Preview (fr) Fallback Message Preview (en)
173173
---------- ------------------ ---------------------- -------------------------------
174174
fallback Symfony is great Symfony is great Symfony is great
175175
---------- ------------------ ---------------------- -------------------------------
176176
177177
You can see that the translations of the message are identical in the ``fr``
178-
and ``en`` locales which means this message was probably copied from French
179-
to English and maybe you forgot to translate it.
178+
and ``en`` locales which means this message was probably copied from English
179+
to French and maybe you forgot to translate it.
180180

181181
By default, all domains are inspected, but it is possible to specify a single
182182
domain:

0 commit comments

Comments
 (0)