LDAP Wizard: l10n improvements

This commit is contained in:
Arthur Schiwon 2013-10-21 23:15:21 +02:00
parent 17010e8f58
commit 76a195a0be
4 changed files with 7 additions and 6 deletions

View File

@ -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();

View File

@ -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>

View File

@ -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"

View File

@ -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>