Skip to content

Commit 4ab003a

Browse files
Merge branch '4.3' into 4.4
* 4.3: [Mailer] Remove line breaks in email attachment content Update links to documentation [Validator] Add the missing translations for the Arabic (ar) locale ensure to expect no validation for the right reasons [PhpUnitBridge] Add test case for @expectedDeprecation annotation [PhpUnitBridge][SymfonyTestsListenerTrait] Remove $testsWithWarnings stack [Mailer][MailchimpBridge] Fix missing attachments when sending via Mandrill API [Mailer][MailchimpBridge] Fix incorrect sender address when sender has name [HttpClient] fix capturing SSL certificates with NativeHttpClient [TwigBridge][Form] Added missing help messages in form themes Update year in license files Update year in license files [HttpClient] fix typo [Console][FormatterHelper] Use helper strlen statically and remove duplicated code [Routing] Fix i18n routing when the url contains the locale Fix BC issue in phpDoc Reflection library [Translator] Performance improvement in MessageCatalogue and catalogue operations.
2 parents a36f542 + 46e462b commit 4ab003a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2004-2019 Fabien Potencier
1+
Copyright (c) 2004-2020 Fabien Potencier
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

MessageCatalogue.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ public function add($messages, $domain = 'messages')
160160
if (!isset($this->messages[$domain])) {
161161
$this->messages[$domain] = $messages;
162162
} else {
163-
$this->messages[$domain] = array_replace($this->messages[$domain], $messages);
163+
foreach ($messages as $id => $message) {
164+
$this->messages[$domain][$id] = $message;
165+
}
164166
}
165167
}
166168

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Translation component provides tools to internationalize your application.
66
Resources
77
---------
88

9-
* [Documentation](https://symfony.com/doc/current/components/translation/index.html)
9+
* [Documentation](https://symfony.com/doc/current/components/translation.html)
1010
* [Contributing](https://symfony.com/doc/current/contributing/index.html)
1111
* [Report issues](https://github.com/symfony/symfony/issues) and
1212
[send Pull Requests](https://github.com/symfony/symfony/pulls)

0 commit comments

Comments
 (0)