Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #36505 [Translation] Fix for translation:update command updating …
…ICU messages (artemoliynyk) This PR was merged into the 4.4 branch. Discussion ---------- [Translation] Fix for translation:update command updating ICU messages | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #36459 | License | MIT If `translation:update` command executed with option `--domain=messages` – it ignore `messages-intl-icu` file and just create new `messages` Method `TranslationUpdateCommand::filterCatalogue()` on `MessageCatalogue::all()` method to get all messages for domain But `MessageCatalogue::all()` method disredard `intl-icu` domains and simply merge all. [Translation] added $strict parameter for MessageCatalogueInterface::all() to be able to get only defined domain messages [FrameworkBundle] modified translation:update command to respect intl-icu domain Commits ------- 567cee5 [Translation] Fix for translation:update command updating ICU messages
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters