New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Translation] prefer intl domain when adding messages to catalogue #35370
Conversation
If this is a bug fix, I suppose it should target a lower branch? |
Should I target
I will try, but it may take a little while. |
Closing in favour of #35430 which targets |
…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
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 tomessages
.