Skip to content

Commit ef9c691

Browse files
committed
Make sure we're always aware of ICU domain
#300
1 parent 6429fb4 commit ef9c691

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Catalogue/Operation/ReplaceOperation.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,8 @@ protected function processDomain($domain): void
3737
'new' => [],
3838
'obsolete' => [],
3939
];
40-
if (\defined(\sprintf('%s::INTL_DOMAIN_SUFFIX', MessageCatalogueInterface::class))) {
41-
$intlDomain = $domain.MessageCatalogueInterface::INTL_DOMAIN_SUFFIX;
42-
} else {
43-
$intlDomain = $domain;
44-
}
40+
41+
$intlDomain = $domain . '+intl-icu' /* MessageCatalogueInterface::INTL_DOMAIN_SUFFIX */;
4542

4643
foreach ($this->source->all($domain) as $id => $message) {
4744
$messageDomain = $this->source->defines($id, $intlDomain) ? $intlDomain : $domain;

0 commit comments

Comments
 (0)