summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-15 14:31:37 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-15 14:31:37 -0300
commit9ea28030e201f3ee015eb109e0f539444b5710fc (patch)
tree2b36afe0aadb1452c5ff4bfe95022e5f0bd80a70
parent8f65f4ed1ed3452083bb43496106cbe1df2a8a73 (diff)
downloadpfsense-9ea28030e201f3ee015eb109e0f539444b5710fc.zip
pfsense-9ea28030e201f3ee015eb109e0f539444b5710fc.tar.gz
Implement gettext() calls on load_balancer_virtual_server.php
-rwxr-xr-xusr/local/www/load_balancer_virtual_server.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/load_balancer_virtual_server.php b/usr/local/www/load_balancer_virtual_server.php
index 4e6186e..0390678 100755
--- a/usr/local/www/load_balancer_virtual_server.php
+++ b/usr/local/www/load_balancer_virtual_server.php
@@ -93,7 +93,7 @@ for ($i = 0; isset($config['load_balancer']['virtual_server'][$i]); $i++) {
}
}
-$pgtitle = array("Services","Load Balancer","Virtual Servers");
+$pgtitle = array(gettext("Services"),gettext("Load Balancer"),gettext("Virtual Servers"));
$statusurl = "status_lb_vs.php";
#$statusurl = "status_lb_pool.php";
$logurl = "diag_logs_relayd.php";
@@ -107,16 +107,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 virtual server 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 virtual server 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", false, "load_balancer_pool.php");
- $tab_array[] = array("Virtual Servers", true, "load_balancer_virtual_server.php");
+ $tab_array[] = array(gettext("Monitors"), false, "load_balancer_monitor.php");
+ $tab_array[] = array(gettext("Pools"), false, "load_balancer_pool.php");
+ $tab_array[] = array(gettext("Virtual Servers"), true, "load_balancer_virtual_server.php");
display_top_tabs($tab_array);
?>
</td></tr>
OpenPOWER on IntegriCloud