-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Resource] Integrated Translations #4256
[Resource] Integrated Translations #4256
Conversation
@@ -1,6 +1,10 @@ | |||
CHANGELOG | |||
========= | |||
|
|||
### v0.17.0 | |||
|
|||
* Integrated TranslationBundle. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merged with TranslationBundle.
ec58c4d
to
4ee2049
Compare
40596b3
to
056b8d1
Compare
@@ -82,7 +82,7 @@ private function addResourcesSection(ArrayNodeDefinition $node) | |||
->scalarNode('model')->defaultValue(Archetype::class)->cannotBeEmpty()->end() | |||
->scalarNode('interface')->defaultValue(ArchetypeInterface::class)->cannotBeEmpty()->end() | |||
->scalarNode('controller')->defaultValue(ResourceController::class)->cannotBeEmpty()->end() | |||
->scalarNode('repository')->defaultValue(TranslatableResourceRepository::class)->cannotBeEmpty()->end() | |||
->scalarNode('repository')->defaultValue(TranslatableRepository::class)->cannotBeEmpty()->end() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Repository should not have default value at all. It is fixed in #3854. This logic should be placed under drivers folder in resource of bundle.
I think it should be based on #3854, because |
d85a904
to
3ddb3be
Compare
@@ -28,7 +29,7 @@ | |||
* @author Alexandre Bacco <alexandre.bacco@gmail.com> | |||
* @author Saša Stamenković <umpirsky@gmail.com> | |||
*/ | |||
class NumberListener | |||
class NumberListener implements NumberListenerInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Listeners should not use interfaces. :)
@NeverResponse Requires rebasing after merge of #3854. |
3ddb3be
to
81b3da9
Compare
[Resource] Integrated Translations
Thanks Jasiek! 👍 |
Based on #3854