summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates/part.wizard-server.php
diff options
context:
space:
mode:
authorVolkan Gezer <volkangezer@gmail.com>2014-05-25 12:35:46 +0200
committerVolkan Gezer <volkangezer@gmail.com>2014-05-25 14:41:59 +0200
commitf880734827210e3d0ce0eb3255a0b7e40c0bcd8c (patch)
tree4c12b6646358199927360074b768afd7468013ac /apps/user_ldap/templates/part.wizard-server.php
parent3348019bfa96b62a54ce53d3f738d6f6062d12c7 (diff)
downloadnextcloud-server-f880734827210e3d0ce0eb3255a0b7e40c0bcd8c.tar.gz
nextcloud-server-f880734827210e3d0ce0eb3255a0b7e40c0bcd8c.zip
make user_ldap fully translatable
Diffstat (limited to 'apps/user_ldap/templates/part.wizard-server.php')
-rw-r--r--apps/user_ldap/templates/part.wizard-server.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_ldap/templates/part.wizard-server.php b/apps/user_ldap/templates/part.wizard-server.php
index 0312c17ab7b..3d4b0feead9 100644
--- a/apps/user_ldap/templates/part.wizard-server.php
+++ b/apps/user_ldap/templates/part.wizard-server.php
@@ -3,14 +3,14 @@
<select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser">
<?php if(count($_['serverConfigurationPrefixes']) === 0 ) {
?>
- <option value="" selected>1. Server</option>');
+ <option value="" selected><?php p($l->t('1. Server'));?></option>');
<?php
} else {
$i = 1;
$sel = ' selected';
foreach($_['serverConfigurationPrefixes'] as $prefix) {
?>
- <option value="<?php p($prefix); ?>"<?php p($sel); $sel = ''; ?>><?php p($i++); ?>. Server: <?php p($_['serverConfigurationHosts'][$prefix]); ?></option>
+ <option value="<?php p($prefix); ?>"<?php p($sel); $sel = ''; ?>><?php p($l->t('%s. Server:', array($i++)));?> <?php p(' '.$_['serverConfigurationHosts'][$prefix]); ?></option>
<?php
}
}
@@ -18,7 +18,7 @@
<option value="NEW"><?php p($l->t('Add Server Configuration'));?></option>
</select>
<button id="ldap_action_delete_configuration"
- name="ldap_action_delete_configuration">Delete Configuration</button>
+ name="ldap_action_delete_configuration"><?php p($l->t('Delete Configuration'));?></button>
</p>
<div class="hostPortCombinator">
@@ -68,4 +68,4 @@
</div>
</div>
<?php print_unescaped($_['wizardControls']); ?>
- </fieldset> \ No newline at end of file
+ </fieldset>