summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_usermanager_settings_test.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-02-08 10:27:41 +0545
committerPhil Davis <phil.davis@inf.org>2016-02-08 10:27:41 +0545
commited10e389c0e10cdf65804a033d0417a23e21335c (patch)
tree997ef2845a777fad38643162592dd15c741f6167 /src/usr/local/www/system_usermanager_settings_test.php
parent1f97f2e6f6d7ea7c5212dc0a2a84df93a4124067 (diff)
downloadpfsense-ed10e389c0e10cdf65804a033d0417a23e21335c.zip
pfsense-ed10e389c0e10cdf65804a033d0417a23e21335c.tar.gz
Internationalize system user and group code
Diffstat (limited to 'src/usr/local/www/system_usermanager_settings_test.php')
-rwxr-xr-xsrc/usr/local/www/system_usermanager_settings_test.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/local/www/system_usermanager_settings_test.php b/src/usr/local/www/system_usermanager_settings_test.php
index 83b5d29..18238c7 100755
--- a/src/usr/local/www/system_usermanager_settings_test.php
+++ b/src/usr/local/www/system_usermanager_settings_test.php
@@ -90,18 +90,18 @@ if (!$authcfg) {
echo "<table>";
- echo "<tr><td>" . gettext("Attempting connection to") . " " . "<td><center>" . htmlspecialchars($auth_server). "</b></center></td>";
+ echo "<tr><td>" . sprintf(gettext("Attempting connection to %s%s%s"), "<td><center>", htmlspecialchars($auth_server), "</center></td>");
if (ldap_test_connection($authcfg)) {
- echo "<td><span class=\"text-center text-success\">OK</span></td></tr>";
+ echo "<td><span class=\"text-center text-success\">" . gettext("OK") . "</span></td></tr>";
- echo "<tr><td>" . gettext("Attempting bind to") . " " . "<td><center>" . htmlspecialchars($auth_server). "</b></center></td>";
+ echo "<tr><td>" . sprintf(gettext("Attempting bind to %s%s%s"), "<td><center>", htmlspecialchars($auth_server), "</center></td>");
if (ldap_test_bind($authcfg)) {
- echo "<td><span class=\"text-center text-success\">OK</span></td></tr>";
+ echo "<td><span class=\"text-center text-success\">" . gettext("OK") . "</span></td></tr>";
- echo "<tr><td>" . gettext("Attempting to fetch Organizational Units from") . " " . "<td><center>" . htmlspecialchars($auth_server). "</b></center></td>";
+ echo "<tr><td>" . sprintf(gettext("Attempting to fetch Organizational Units from %s%s%s"), "<td><center>", htmlspecialchars($auth_server), "</center></td>");
$ous = ldap_get_user_ous(true, $authcfg);
if (count($ous)>1) {
- echo "<td><span class=\"text-center text-success\">OK</span></td></tr>";
+ echo "<td><span class=\"text-center text-success\">" . gettext("OK") . "</span></td></tr>";
echo "</table>";
if (is_array($ous)) {
echo "<br/>";
@@ -130,7 +130,7 @@ if (!$authcfg) {
?>
</pre>
- <a href="javascript:window.close();" class="btn btn-primary">Return</a>
+ <a href="javascript:window.close();" class="btn btn-primary"><?=gettext("Return")?></a>
</div>
</div>
</div>
OpenPOWER on IntegriCloud