Merge pull request #19483 from owncloud/make-the-world-a-bit-less-static

[settings] make it less static
This commit is contained in:
Robin Appelman 2015-09-30 19:07:13 +02:00
commit 4c5b0316ba
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ OC_Util::checkAdminUser();
OC_App::setActiveNavigationEntry("admin");
$template = new OC_Template('settings', 'admin', 'user');
$l = OC_L10N::get('settings');
$l = \OC::$server->getL10N('settings');
$showLog = (\OC::$server->getConfig()->getSystemValue('log_type', 'owncloud') === 'owncloud');
$numEntriesToLoad = 3;

View file

@ -148,7 +148,7 @@ sort($groups2);
$tmpl->assign('groups', $groups2);
// add hardcoded forms from the template
$l = OC_L10N::get('settings');
$l = \OC::$server->getL10N('settings');
$formsAndMore = [];
$formsAndMore[]= ['anchor' => 'clientsbox', 'section-name' => $l->t('Sync clients')];
$formsAndMore[]= ['anchor' => 'passwordform', 'section-name' => $l->t('Personal info')];