Skip to content

Commit 461e595

Browse files
committed
[Translator] Added missing changelog notes.
1 parent be47165 commit 461e595

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/Symfony/Component/Translation/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ CHANGELOG
44
2.8.0
55
-----
66

7-
* deprecated Translator::getMessages(), use TranslatorBagInterface::getCatalogue() instead.
8-
* added options 'as_tree', 'inline' to YamlFileDumper
7+
* deprecated Translator::getMessages(), rely on TranslatorBagInterface::getCatalogue() instead.
8+
* added options `as_tree`, `inline` to YamlFileDumper
9+
* added support for XLIFF target and tool attributes.
10+
* added message parameters to DataCollectorTranslator.
911
* [DEPRECATION] The `DiffOperation` class has been deprecated and
1012
will be removed in Symfony 3.0, since its operation has nothing to do with 'diff',
1113
so the class name is misleading. The `TargetOperation` class should be used for

src/Symfony/Component/Translation/Translator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ protected function getLoaders()
290290
*
291291
* @return array[array] indexed by catalog
292292
*
293-
* @deprecated since version 2.8, to be removed in 3.0. Use TranslatorBagInterface::getCatalogue() method instead.
293+
* @deprecated since version 2.8, to be removed in 3.0. Rely on TranslatorBagInterface::getCatalogue() method instead.
294294
*/
295295
public function getMessages($locale = null)
296296
{
297-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use TranslatorBagInterface::getCatalogue() method instead.', E_USER_DEPRECATED);
297+
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Rely on TranslatorBagInterface::getCatalogue() method instead.', E_USER_DEPRECATED);
298298

299299
$catalogue = $this->getCatalogue($locale);
300300
$messages = $catalogue->all();

0 commit comments

Comments
 (0)