From 338b8ff904700ce2a1f4e46482fde9be2ec4802a Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Thu, 15 Jul 2010 13:33:06 -0300 Subject: Implement gettext() calls on load_balancer_relay_protocol.php --- usr/local/www/load_balancer_relay_protocol.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr/local/www/load_balancer_relay_protocol.php') diff --git a/usr/local/www/load_balancer_relay_protocol.php b/usr/local/www/load_balancer_relay_protocol.php index d184f1d..673bc63 100755 --- a/usr/local/www/load_balancer_relay_protocol.php +++ b/usr/local/www/load_balancer_relay_protocol.php @@ -68,7 +68,7 @@ if ($_GET['act'] == "del") { if (is_array($config['load_balancer']['virtual_server'])) { foreach ($config['load_balancer']['virtual_server'] as $vs) { if ($vs['protocol'] == $a_protocol[$_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; } } @@ -97,7 +97,7 @@ if ($_GET['act'] == "del") { } */ -$pgtitle = array("Services", "Load Balancer","Relay Protocol"); +$pgtitle = array(gettext("Services"), gettext("Load Balancer"),gettext("Relay Protocol")); #$statusurl = "status_lb_vs.php"; $statusurl = "status_lb_pool.php"; $logurl = "diag_logs_relayd.php"; @@ -111,16 +111,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