File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -354,10 +354,10 @@ with these tasks:
354
354
.. code-block :: terminal
355
355
356
356
# updates the French translation file with the missing strings found in app/Resources/ templates
357
- $ ./ bin/console translation:update --dump-messages --force fr
357
+ $ php bin/console translation:update --dump-messages --force fr
358
358
359
359
# updates the English translation file with the missing strings found in AppBundle
360
- $ ./ bin/console translation:update --dump-messages --force en AppBundle
360
+ $ php bin/console translation:update --dump-messages --force en AppBundle
361
361
362
362
.. note ::
363
363
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ translation file using the ``lint:yaml`` and ``lint:xliff`` commands:
15
15
.. code-block :: terminal
16
16
17
17
# lint a single file
18
- $ ./ bin/console lint:yaml translations/messages.en.yaml
19
- $ ./ bin/console lint:xliff translations/messages.en.xlf
18
+ $ php bin/console lint:yaml translations/messages.en.yaml
19
+ $ php bin/console lint:xliff translations/messages.en.xlf
20
20
21
21
# lint a whole directory
22
- $ ./ bin/console lint:yaml translations
23
- $ ./ bin/console lint:xliff translations
22
+ $ php bin/console lint:yaml translations
23
+ $ php bin/console lint:xliff translations
24
24
25
25
The linter results can be exported to JSON using the ``--format `` option:
26
26
27
27
.. code-block :: terminal
28
28
29
- $ ./ bin/console lint:yaml translations/ --format=json
30
- $ ./ bin/console lint:xliff translations/ --format=json
29
+ $ php bin/console lint:yaml translations/ --format=json
30
+ $ php bin/console lint:xliff translations/ --format=json
You can’t perform that action at this time.
0 commit comments