-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security] sync translations and add a test for it #16146
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
Conversation
xabbuh
commented
Oct 6, 2015
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #15955 |
License | MIT |
Doc PR |
{ | ||
$securityClass = new \ReflectionClass('Symfony\Component\Security\Core\Security'); | ||
|
||
return dirname($securityClass->getFileName()).'/Resources/translations'; |
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.
When testing it from the Security component, I don't think there is the necessity to find the translation
dir like this.
It'll always be into __DIR__.'/../Core/Resources/translations'
, right ?
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.
agreed
ba07797
to
08333ec
Compare
I addressed the comments. |
👍 |
Thank you @xabbuh. |
This PR was merged into the 2.7 branch. Discussion ---------- [Security] sync translations and add a test for it | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #15955 | License | MIT | Doc PR | Commits ------- 08333ec [Security] sync translations and add a test for it