You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure we're aware of 3 different message domains
We have:
1. Source message domain.
2. Target message domain.
3. Result message domain (this is tied to 2 of the above).
This solution assumes we'd always like to use ICU format (result message
domain) if we use it in any of source or target catalogue.
Additionally because of default NULL values in source catalogue
(internal extractor design to set NULL for "target" when creating
messages catalogue from source collection) we have to check if desired
catalogue's messages field has a key (within requested domain) or not.
Using MessageCatalogue::defines() would return false for catalogue
without translation (NULL value).
Lastly - make sure internal messages field utilised result message
domain for consistency with result field.
#300
0 commit comments