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:
354354.. code-block :: terminal
355355
356356 # 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
358358
359359 # 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
361361
362362 .. note ::
363363
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ translation file using the ``lint:yaml`` and ``lint:xliff`` commands:
1515.. code-block :: terminal
1616
1717 # 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
2020
2121 # 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
2424
2525 The linter results can be exported to JSON using the ``--format `` option:
2626
2727.. code-block :: terminal
2828
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