summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-16 10:20:33 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-16 10:20:33 -0300
commit019db2a37b789d375fb0bc31d54af2d6d6b6f643 (patch)
tree3ae63e9c436fea99d3530ea0c396fcf5ebf9d858
parent42256271759c581e39d58e76b02692212f53b522 (diff)
downloadpfsense-019db2a37b789d375fb0bc31d54af2d6d6b6f643.zip
pfsense-019db2a37b789d375fb0bc31d54af2d6d6b6f643.tar.gz
Implement gettext() calls on load_balancer_pool.php
-rwxr-xr-xusr/local/www/load_balancer_pool.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/load_balancer_pool.php b/usr/local/www/load_balancer_pool.php
index bc97d85..2cb4ff8 100755
--- a/usr/local/www/load_balancer_pool.php
+++ b/usr/local/www/load_balancer_pool.php
@@ -69,7 +69,7 @@ if ($_GET['act'] == "del") {
if (is_array($config['load_balancer']['virtual_server'])) {
foreach ($config['load_balancer']['virtual_server'] as $vs) {
if ($vs['pool'] == $a_pool[$_GET['id']]['name']) {
- $input_errors[] = "This entry cannot be deleted because it is still referenced by at least one virtual server.";
+ $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by at least one virtual server.");
break;
}
}
@@ -94,7 +94,7 @@ for ($i = 0; isset($config['load_balancer']['lbpool'][$i]); $i++) {
$a_pool[$i]['monitor'] = "<a href=\"/load_balancer_monitor_edit.php?id={$mondex[$a_pool[$i]['monitor']]}\">{$a_pool[$i]['monitor']}</a>";
}
-$pgtitle = array("Services", "Load Balancer","Pool");
+$pgtitle = array(gettext("Services"), gettext("Load Balancer"),gettext("Pool"));
#$statusurl = "status_lb_vs.php";
$statusurl = "status_lb_pool.php";
$logurl = "diag_logs_relayd.php";
@@ -108,16 +108,16 @@ include("head.inc");
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if (is_subsystem_dirty('loadbalancer')): ?><p>
-<?php print_info_box_np("The load balancer configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br>
+<?php print_info_box_np(gettext("The load balancer configuration has been changed") ".<br>" . gettext("You must apply the changes in order for them to take effect."));?><br>
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
/* active tabs */
$tab_array = array();
- $tab_array[] = array("Monitors", false, "load_balancer_monitor.php");
- $tab_array[] = array("Pools", true, "load_balancer_pool.php");
- $tab_array[] = array("Virtual Servers", false, "load_balancer_virtual_server.php");
+ $tab_array[] = array(gettext("Monitors"), false, "load_balancer_monitor.php");
+ $tab_array[] = array(gettext("Pools"), true, "load_balancer_pool.php");
+ $tab_array[] = array(gettext("Virtual Servers"), false, "load_balancer_virtual_server.php");
display_top_tabs($tab_array);
?>
</td></tr>
OpenPOWER on IntegriCloud