diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-21 23:15:21 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-21 23:15:21 +0200 |
commit | 76a195a0be5d36c090c05ce60e02466e9783fea3 (patch) | |
tree | 6d6ef9f79bf1adce61187cb7d0a4ca538b85bd00 /apps/user_ldap | |
parent | 17010e8f587dc2e822660da342b3dc64475f8f41 (diff) | |
download | nextcloud-server-76a195a0be5d36c090c05ce60e02466e9783fea3.tar.gz nextcloud-server-76a195a0be5d36c090c05ce60e02466e9783fea3.zip |
LDAP Wizard: l10n improvements
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/ajax/wizard.php | 3 | ||||
-rw-r--r-- | apps/user_ldap/templates/part.wizard-groupfilter.php | 4 | ||||
-rw-r--r-- | apps/user_ldap/templates/part.wizard-loginfilter.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/templates/part.wizard-userfilter.php | 4 |
4 files changed, 7 insertions, 6 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index c90efdf7e9e..e580c097867 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -82,7 +82,8 @@ switch($action) { $setParameters = array(); $configuration->setConfiguration($cfg, $setParameters); if(!in_array($key, $setParameters)) { - \OCP\JSON::error(array('message' => $l->t($key.' Could not set configuration '.$setParameters[0]))); + \OCP\JSON::error(array('message' => $l->t($key. + ' Could not set configuration %s', $setParameters[0]))); exit; } $configuration->saveConfiguration(); diff --git a/apps/user_ldap/templates/part.wizard-groupfilter.php b/apps/user_ldap/templates/part.wizard-groupfilter.php index d36c171b639..17ce815589a 100644 --- a/apps/user_ldap/templates/part.wizard-groupfilter.php +++ b/apps/user_ldap/templates/part.wizard-groupfilter.php @@ -1,7 +1,7 @@ <fieldset id="ldapWizard4"> <div> <p> - <?php p($l->t('Limit the access to ownCloud to groups meeting this criteria:'));?> + <?php p($l->t('Limit the access to %s to groups meeting this criteria:', $theme->getName()));?> </p> <p> <label for="ldap_groupfilter_objectclass"> @@ -28,7 +28,7 @@ <input type="text" id="ldap_group_filter" name="ldap_group_filter" class="lwautosave" placeholder="<?php p($l->t('Raw LDAP filter'));?>" - title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the ownCloud instance.'));?>" + title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', $theme->getName()));?>" /> </p> <p> diff --git a/apps/user_ldap/templates/part.wizard-loginfilter.php b/apps/user_ldap/templates/part.wizard-loginfilter.php index 4cad6595449..d4a36eb0cb7 100644 --- a/apps/user_ldap/templates/part.wizard-loginfilter.php +++ b/apps/user_ldap/templates/part.wizard-loginfilter.php @@ -13,7 +13,7 @@ </p> <p> <label for="ldap_loginfilter_email"> - <?php p($l->t('LDAP Email Adress:'));?> + <?php p($l->t('LDAP Email Address:'));?> </label> <input type="checkbox" id="ldap_loginfilter_email" diff --git a/apps/user_ldap/templates/part.wizard-userfilter.php b/apps/user_ldap/templates/part.wizard-userfilter.php index 85c870b5de3..146e6bb739a 100644 --- a/apps/user_ldap/templates/part.wizard-userfilter.php +++ b/apps/user_ldap/templates/part.wizard-userfilter.php @@ -1,7 +1,7 @@ <fieldset id="ldapWizard2"> <div> <p> - <?php p($l->t('Limit the access to ownCloud to users meeting this criteria:'));?> + <?php p($l->t('Limit the access to %s to users meeting this criteria:', $theme->getName()));?> </p> <p> <label for="ldap_userfilter_objectclass"> @@ -28,7 +28,7 @@ <input type="text" id="ldap_userlist_filter" name="ldap_userlist_filter" class="lwautosave" placeholder="<?php p($l->t('Raw LDAP filter'));?>" - title="<?php p($l->t('The filter specifies which LDAP users shall have access to the ownCloud instance.'));?>" + title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', $theme->getName()));?>" /> </p> <p> |