From 019db2a37b789d375fb0bc31d54af2d6d6b6f643 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Fri, 16 Jul 2010 10:20:33 -0300 Subject: Implement gettext() calls on load_balancer_pool.php --- usr/local/www/load_balancer_pool.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr') 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_pool[$i]['monitor']}"; } -$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");

-You must apply the changes in order for them to take effect.");?>
+" . gettext("You must apply the changes in order for them to take effect."));?>
-- cgit v1.1