summaryrefslogtreecommitdiffstats
path: root/usr/local/www/load_balancer_monitor.php
diff options
context:
space:
mode:
authorJeann <wjeann@gmail.com>2010-07-08 23:33:49 -0300
committerJeann <wjeann@gmail.com>2010-07-08 23:33:49 -0300
commit1a48c02757cc567f640949f75a08ef7676001994 (patch)
treee1fb7574b74a7b48549ebfb9362abd359639bb09 /usr/local/www/load_balancer_monitor.php
parentd75ad412ee62219a6adeeb0df585b114f2c80495 (diff)
downloadpfsense-1a48c02757cc567f640949f75a08ef7676001994.zip
pfsense-1a48c02757cc567f640949f75a08ef7676001994.tar.gz
Implemment gettext() calls
Diffstat (limited to 'usr/local/www/load_balancer_monitor.php')
-rwxr-xr-xusr/local/www/load_balancer_monitor.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/load_balancer_monitor.php b/usr/local/www/load_balancer_monitor.php
index 2f0f372..375d2c5 100755
--- a/usr/local/www/load_balancer_monitor.php
+++ b/usr/local/www/load_balancer_monitor.php
@@ -69,7 +69,7 @@ if ($_GET['act'] == "del") {
if (is_array($config['load_balancer']['lbpool'])) {
foreach ($config['load_balancer']['pool'] as $pool) {
if ($pool['monitor'] == $a_monitor[$_GET['id']]['name']) {
- $input_errors[] = "This entry cannot be deleted because it is still referenced by at least one pool.";
+ $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by at least one pool.");
break;
}
}
@@ -85,7 +85,7 @@ if ($_GET['act'] == "del") {
}
}
-$pgtitle = array("Services", "Load Balancer","Monitor");
+$pgtitle = array(gettext("Services", "Load Balancer","Monitor"));
#$statusurl = "status_slbd_vs.php";
$statusurl = "status_slbd_pool.php";
$logurl = "diag_logs_relayd.php";
@@ -99,7 +99,7 @@ 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>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">
OpenPOWER on IntegriCloud