-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Use correct L10N files for jsconfig #7712
Conversation
core/Controller/OCJSController.php
Outdated
@@ -62,7 +62,7 @@ class OCJSController extends Controller { | |||
*/ | |||
public function __construct($appName, | |||
IRequest $request, | |||
IL10N $l, | |||
IFactory $l, |
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.
mind renaming it to something other than $l
its quite confusing, because $l
is reserved for IL10N
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.
Done
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.
"Moments when I have DI magic" +1
Codecov Report
@@ Coverage Diff @@
## master #7712 +/- ##
============================================
+ Coverage 51.18% 51.18% +<.01%
Complexity 24948 24948
============================================
Files 1605 1605
Lines 94923 94923
Branches 1376 1376
============================================
+ Hits 48583 48584 +1
+ Misses 46340 46339 -1
|
core/Controller/OCJSController.php
Outdated
@@ -62,7 +62,7 @@ class OCJSController extends Controller { | |||
*/ | |||
public function __construct($appName, | |||
IRequest $request, | |||
IL10N $l, | |||
IFactory $l10Factory, |
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.
*n
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
To test:
Before: still english
Now: Properly translated