Skip to content

[Translation] Rename Translatable class to TranslatableMessage #38424

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
Oct 7, 2020

Conversation

natewiebe13
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #38342
License MIT
Doc PR TBD

This PR is in anticipation of #38342 passing. We'll need to also update the docs and the blog post here: https://symfony.com/blog/new-in-symfony-5-2-translatable-objects

One extra note not discussed in the issue thread is the increase in the class name length shouldn't really be a problem as t() is likely to be used more often.

@natewiebe13 natewiebe13 force-pushed the rfc-38342-implementation branch from 916b85d to dd43ac5 Compare October 5, 2020 22:25
@natewiebe13 natewiebe13 changed the title Rename Translatable class to TranslatableMessage [Translation] Rename Translatable class to TranslatableMessage Oct 5, 2020
@nicolas-grekas nicolas-grekas added this to the 5.2 milestone Oct 6, 2020
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Works for me.

@fabpot
Copy link
Member

fabpot commented Oct 6, 2020

I would have preferred a single word... but I don't have any good alternative.

@fabpot fabpot changed the base branch from master to 5.x October 7, 2020 05:51
@fabpot fabpot force-pushed the rfc-38342-implementation branch from dd43ac5 to 0d4e25f Compare October 7, 2020 05:51
@fabpot
Copy link
Member

fabpot commented Oct 7, 2020

Thank you @natewiebe13.

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.

[RFC] Rename Translatable to better follow conventions
5 participants