Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb162ff

Browse files
committed
[Translation] Support GitHub action format in lint:xliff
1 parent9c34648 commitfb162ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎translation/lint.rst‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ The linter results can be exported to JSON using the ``--format`` option:
3333
$ php bin/console lint:yaml translations/ --format=json
3434
$ php bin/console lint:xliff translations/ --format=json
3535
36-
When runningthe YAML linter inside `GitHub Actions`_, the output is automatically
36+
When runningthese linters inside `GitHub Actions`_, the output is automatically
3737
adapted to the format required by GitHub, but you can force that format too:
3838

3939
..code-block::terminal
4040
4141
$ php bin/console lint:yaml translations/ --format=github
42+
$ php bin/console lint:xliff translations/ --format=github
4243
4344
..versionadded::5.3
4445

45-
The ``github`` output format was introduced in Symfony 5.3.
46+
The ``github`` output format was introduced in Symfony 5.3 for ``lint:yaml``
47+
and in Symfony 5.4 for ``lint:xliff``.
4648

4749
..tip::
4850

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp