mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Implement gettext() calls on load_balancer_relay_protocol.php
This commit is contained in:
parent
7a03e6087b
commit
338b8ff904
@ -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");
|
||||
<?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", false, "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"), false, "load_balancer_pool.php");
|
||||
$tab_array[] = array(gettext("Virtual Servers"), false, "load_balancer_virtual_server.php");
|
||||
display_top_tabs($tab_array);
|
||||
?>
|
||||
</td></tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user