summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorheitor.lessa <heitor.lessa@hotmail.com>2010-06-30 19:40:10 -0300
committerheitor.lessa <heitor.lessa@hotmail.com>2010-06-30 19:40:10 -0300
commit0e1c398e3b435a6308a720dee28c96d74131b4e0 (patch)
tree68d3e99643fe8c1c663577290175bbef33ea9cc9 /usr
parent8cc6876f823744433e3c8200ae2259d97227a0a3 (diff)
downloadpfsense-0e1c398e3b435a6308a720dee28c96d74131b4e0.zip
pfsense-0e1c398e3b435a6308a720dee28c96d74131b4e0.tar.gz
Implement gettext() calls on firewall_shaper_wizards.php
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_shaper_wizards.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/local/www/firewall_shaper_wizards.php b/usr/local/www/firewall_shaper_wizards.php
index acd744c..8f93b86 100755
--- a/usr/local/www/firewall_shaper_wizards.php
+++ b/usr/local/www/firewall_shaper_wizards.php
@@ -70,14 +70,14 @@ if ($_POST['apply']) {
clear_subsystem_dirty('shaper');
}
-$pgtitle = array("Firewall", "Traffic Shaper", "Wizards");
+$pgtitle = array(gettext("Firewall"),gettext("Traffic Shaper"),gettext("Wizards"));
$statusurl = "status_queues.php";
-$wizards = array("Single Lan multi Wan" => "traffic_shaper_wizard.xml",
- "Single Wan multi Lan" => "traffic_shaper_wizard_multi_lan.xml",
- "Multiple Lan/Wan" => "traffic_shaper_wizard_multi_all.xml",
- "Dedicated Links" => "traffic_shaper_wizard_dedicated.xml",
- );
+$wizards = array(gettext("Single Lan multi Wan")) => "traffic_shaper_wizard.xml",
+ gettext("Single Wan multi Lan") => "traffic_shaper_wizard_multi_lan.xml",
+ gettext("Multiple Lan/Wan") => "traffic_shaper_wizard_multi_all.xml",
+ gettext("Dedicated Links") => "traffic_shaper_wizard_dedicated.xml",
+ ;
include("head.inc");
?>
@@ -93,17 +93,17 @@ include("fbegin.inc");
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if (is_subsystem_dirty('shaper')): ?><p>
-<?php print_info_box_np("The traffic shaper 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 traffic shaper 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>
<?php
$tab_array = array();
- $tab_array[0] = array("By Interface", false, "firewall_shaper.php");
- $tab_array[1] = array("By Queue", false, "firewall_shaper_queues.php");
- $tab_array[2] = array("Limiter", false, "firewall_shaper_vinterface.php");
- $tab_array[3] = array("Layer7", false, "firewall_shaper_layer7.php");
- $tab_array[4] = array("Wizards", true, "firewall_shaper_wizards.php");
+ $tab_array[0] = array(gettext("By Interface")), false, "firewall_shaper.php");
+ $tab_array[1] = array(gettext("By Queue")), false, "firewall_shaper_queues.php");
+ $tab_array[2] = array(gettext("Limiter")), false, "firewall_shaper_vinterface.php");
+ $tab_array[3] = array(gettext("Layer7")), false, "firewall_shaper_layer7.php");
+ $tab_array[4] = array(gettext("Wizards")), true, "firewall_shaper_wizards.php");
display_top_tabs($tab_array);
?>
</td></tr>
OpenPOWER on IntegriCloud