Skip to content

[2.8][Translator] Added missing changelog notes. #15698

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

Merged
merged 1 commit into from
Sep 5, 2015

Conversation

aitboudad
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets ~
Tests pass? yes
License MIT

@@ -4,8 +4,10 @@ CHANGELOG
2.8.0
-----

* deprecated Translator::getMessages(), use TranslatorBagInterface::getCatalogue() instead.
* added options 'as_tree', 'inline' to YamlFileDumper
* deprecated Translator::getMessages(), rely into TranslatorBagInterface::getCatalogue() instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: rely on

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, thanks!

@aitboudad aitboudad force-pushed the translation_changelog branch 2 times, most recently from 33bce92 to 461e595 Compare September 5, 2015 15:01
@@ -290,11 +290,11 @@ protected function getLoaders()
*
* @return array[array] indexed by catalog
*
* @deprecated since version 2.8, to be removed in 3.0. Use TranslatorBagInterface::getCatalogue() method instead.
* @deprecated since version 2.8, to be removed in 3.0. Rely on TranslatorBagInterface::getCatalogue() method instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We always use Use ... instead in deprecation messages. I don't think this change is worth.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was suggested by stof see #14546 (comment)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then we would need to change it in many places. Many things are not drop-in replacements. Will be pretty hard to change it everywhere. Thus not worth.
Also use doesn't imply a drop-replacement at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's ok for me, reverted!

@aitboudad aitboudad force-pushed the translation_changelog branch from 461e595 to 2592fe9 Compare September 5, 2015 16:20
@Tobion
Copy link
Contributor

Tobion commented Sep 5, 2015

Thank you @aitboudad.

@Tobion Tobion merged commit 2592fe9 into symfony:2.8 Sep 5, 2015
Tobion added a commit that referenced this pull request Sep 5, 2015
…dad)

This PR was merged into the 2.8 branch.

Discussion
----------

[2.8][Translator] Added missing changelog notes.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Fixed tickets  | ~
| Tests pass?   | yes
| License       | MIT

Commits
-------

2592fe9 [Translator] Added missing changelog notes.
@aitboudad aitboudad deleted the translation_changelog branch September 5, 2015 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants