diff options
author | Volkan Gezer <volkangezer@gmail.com> | 2014-05-25 12:35:46 +0200 |
---|---|---|
committer | Volkan Gezer <volkangezer@gmail.com> | 2014-05-25 14:41:59 +0200 |
commit | f880734827210e3d0ce0eb3255a0b7e40c0bcd8c (patch) | |
tree | 4c12b6646358199927360074b768afd7468013ac /apps/user_ldap/settings.php | |
parent | 3348019bfa96b62a54ce53d3f738d6f6062d12c7 (diff) | |
download | nextcloud-server-f880734827210e3d0ce0eb3255a0b7e40c0bcd8c.tar.gz nextcloud-server-f880734827210e3d0ce0eb3255a0b7e40c0bcd8c.zip |
make user_ldap fully translatable
Diffstat (limited to 'apps/user_ldap/settings.php')
-rw-r--r-- | apps/user_ldap/settings.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php index 7acc997e288..fcde5df3716 100644 --- a/apps/user_ldap/settings.php +++ b/apps/user_ldap/settings.php @@ -46,11 +46,13 @@ $wControls = $wControls->fetchPage(); $sControls = new OCP\Template('user_ldap', 'part.settingcontrols'); $sControls = $sControls->fetchPage(); +$l = \OC_L10N::get('user_ldap'); + $wizTabs = array(); -$wizTabs[] = array('tpl' => 'part.wizard-server', 'cap' => 'Server'); -$wizTabs[] = array('tpl' => 'part.wizard-userfilter', 'cap' => 'User Filter'); -$wizTabs[] = array('tpl' => 'part.wizard-loginfilter', 'cap' => 'Login Filter'); -$wizTabs[] = array('tpl' => 'part.wizard-groupfilter', 'cap' => 'Group Filter'); +$wizTabs[] = array('tpl' => 'part.wizard-server', 'cap' => $l->t('Server')); +$wizTabs[] = array('tpl' => 'part.wizard-userfilter', 'cap' => $l->t('User Filter')); +$wizTabs[] = array('tpl' => 'part.wizard-loginfilter', 'cap' => $l->t('Login Filter')); +$wizTabs[] = array('tpl' => 'part.wizard-groupfilter', 'cap' => $l->t('Group Filter')); for($i = 0; $i < count($wizTabs); $i++) { $tab = new OCP\Template('user_ldap', $wizTabs[$i]['tpl']); |