Skip to content

Commit 116be78

Browse files
authored
translation:extract → jms:translation:extract (#2887)
Solve conflict with https://github.com/symfony/framework-bundle/blob/v7.3.3/Command/TranslationExtractCommand.php#L39
1 parent e2c15bd commit 116be78

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/administration/back_office/customize_search_sorting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
[[= include_file('code_samples/back_office/search/config/append_to_services.yaml', 29, 32) =]]
2727
```
2828

29-
You can extract a translation file with the `translation:extract` command, for example, `php bin/console translation:extract en --dir=src --output-dir=translations` to obtain the `translations/ibexa_search.en.xlf` file.
29+
You can extract a translation file with the `jms:translation:extract` command, for example, `php bin/console jms:translation:extract en --dir=src --output-dir=translations` to obtain the `translations/ibexa_search.en.xlf` file.
3030
You could also create it manually, as `translations/messages.en.yaml` file with the following contents:
3131

3232
``` yaml

docs/administration/recent_activity/recent_activity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Here is an example of a `ClassNameMapperInterface` associating the class `App\My
237237
```
238238

239239
This mapper also provides a translation for the class name in the **Filters** menu.
240-
This translation can be extracted with `php bin/console translation:extract en --domain=ibexa_activity_log --dir=src --output-dir=translations`.
240+
This translation can be extracted with `php bin/console jms:translation:extract en --domain=ibexa_activity_log --dir=src --output-dir=translations`.
241241

242242
To be taken into account, this mapper must be registered as a service:
243243

docs/content_management/rich_text/extend_online_editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Use the example below to add a class choice to the Paragraph element in the `adm
343343
For example:
344344

345345
``` bash
346-
php ./bin/console translation:extract --enable-extractor=ez_online_editor_attributes \
346+
php ./bin/console jms:translation:extract --enable-extractor=ez_online_editor_attributes \
347347
--dir=./templates --output-dir=./translations/ --output-format=yaml
348348
```
349349

docs/permissions/custom_policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class MyPolicyProvider implements PolicyProviderInterface, TranslationContainerI
130130
Then, extract this translation to generate the English translation file `translations/forms.en.xlf`:
131131

132132
``` bash
133-
php bin/console translation:extract en --domain=forms --dir=src --output-dir=translations
133+
php bin/console jms:translation:extract en --domain=forms --dir=src --output-dir=translations
134134
```
135135

136136
## `PolicyProvider` integration into `IbexaCoreBundle`

0 commit comments

Comments
 (0)