summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-06-30 19:56:20 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-06-30 19:56:20 -0300
commit9eae66813c1071dd323f8efe5dd2208879f4f1ac (patch)
tree03d11e31d064bb69c0429ddc106b823c5c0271f3
parent7fcd0934b9ab90b08e483a77182ac904e68dad22 (diff)
downloadpfsense-9eae66813c1071dd323f8efe5dd2208879f4f1ac.zip
pfsense-9eae66813c1071dd323f8efe5dd2208879f4f1ac.tar.gz
Implement gettext() calls on firewall_shaper_wizards.php
Conflicts: usr/local/www/firewall_shaper_wizards.php
-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 1631e13..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(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",
- );
+$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