Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #35430 [Translation] prefer intl domain when adding messages to c…
…atalogue (Guite) This PR was squashed before being merged into the 4.4 branch (closes #35430). Discussion ---------- [Translation] prefer intl domain when adding messages to catalogue | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | This PR ensures that when adding translations to a catalogue using the `add(array $messages, string $domain = 'messages')` method internally the intl icu domain is checked first. Otherwise it could happen that existing messages in e.g. `messages+intl-icu` are not updated but the same keys are added to `messages`. This is a follow-up of #35370, now targeting the `4.4` branch. Commits ------- b72b7d3 [Translation] prefer intl domain when adding messages to catalogue
- Loading branch information
Why not
isset($this->messages[$intlDomain][$id]
?