8000 Merge branch '3.4' into 4.1 · symfony/symfony-docs@0f94f96 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f94f96

Browse files
committed
Merge branch '3.4' into 4.1
* 3.4: [Docs] use php bin/console instead of bin/console
2 parents d5b9337 + c539d72 commit 0f94f96

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

translation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

translation/lint.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
0