diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-05 15:22:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 15:22:10 +0100 |
commit | 68e205e827c3bac7dcd3d392823e367fb58b66f7 (patch) | |
tree | 40081676b949ff22b4f50b481df67c04e5b6f50e /core | |
parent | 62656dc5c2b39f911fa3260ac291f0301b03a7a3 (diff) | |
parent | 30ac28f950f4988c16f8d4928de34f6a8e0acdd2 (diff) | |
download | nextcloud-server-68e205e827c3bac7dcd3d392823e367fb58b66f7.tar.gz nextcloud-server-68e205e827c3bac7dcd3d392823e367fb58b66f7.zip |
Merge pull request #7712 from nextcloud/jsconfig_l10n
Use correct L10N files for jsconfig
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/OCJSController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Controller/OCJSController.php b/core/Controller/OCJSController.php index de880968a69..8db26dd3d38 100644 --- a/core/Controller/OCJSController.php +++ b/core/Controller/OCJSController.php @@ -34,11 +34,11 @@ use OCP\AppFramework\Http\DataDisplayResponse; use OCP\Defaults; use OCP\IConfig; use OCP\IGroupManager; -use OCP\IL10N; use OCP\IRequest; use OCP\ISession; use OCP\IURLGenerator; use OCP\IUserSession; +use OCP\L10N\IFactory; class OCJSController extends Controller { @@ -50,7 +50,7 @@ class OCJSController extends Controller { * * @param string $appName * @param IRequest $request - * @param IL10N $l + * @param IFactory $l10nFactory * @param Defaults $defaults * @param IAppManager $appManager * @param ISession $session @@ -62,7 +62,7 @@ class OCJSController extends Controller { */ public function __construct($appName, IRequest $request, - IL10N $l, + IFactory $l10nFactory, Defaults $defaults, IAppManager $appManager, ISession $session, @@ -74,7 +74,7 @@ class OCJSController extends Controller { parent::__construct($appName, $request); $this->helper = new JSConfigHelper( - $l, + $l10nFactory->get('lib'), $defaults, $appManager, $session, |