8000 [Translation] Add icu message support for the lokalise provider by DanielBadura · Pull Request #45368 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Translation] Add icu message support for the lokalise provider #45368

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

Open
wants to merge 9 commits into
base: 5.4
Choose a base branch
from
Prev Previous commit
Next Next commit
cs fix
  • Loading branch information
DanielBadura committed Jun 15, 2022
commit 2603a2132be907b9a63a40df9d21c46d30bf288a
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ public function getResponsesForOneLocaleAndOneDomainWithIntlIcuEnabled(): \Gener
$expectedTranslatorBagEn->addCatalogue($arrayLoader->load([
'index.hello' => 'Hello',
'index.greetings' => 'Welcome, {firstname}!',
], 'en', 'messages' . MessageCatalogueInterface::INTL_DOMAIN_SUFFIX));
], 'en', 'messages'.MessageCatalogueInterface::INTL_DOMAIN_SUFFIX));

yield ['en', 'messages', <<<'XLIFF'
<?xml version="1.0" encoding="UTF-8"?>
Expand Down Expand Up @@ -693,7 +693,7 @@ public function getResponsesForOneLocaleAndOneDomainWithIntlIcuEnabled(): \Gener
$expectedTranslatorBagFr->addCatalogue($arrayLoader->load([
'index.hello' => 'Bonjour',
'index.greetings' => 'Bienvenue, {firstname} !',
], 'fr', 'messages' . MessageCatalogueInterface::INTL_DOMAIN_SUFFIX));
], 'fr', 'messages'.MessageCatalogueInterface::INTL_DOMAIN_SUFFIX));

yield ['fr', 'messages', <<<'XLIFF'
<?xml version="1.0" encoding="UTF-8"?>
Expand Down
0