diff options
author | Neriberto C.Prado <neriberto@gmail.com> | 2010-06-29 09:12:56 -0300 |
---|---|---|
committer | Neriberto C.Prado <neriberto@gmail.com> | 2010-06-29 09:12:56 -0300 |
commit | 3d2e70eda056509a37584f67c5139d1174fe6622 (patch) | |
tree | a5ec749a57468942aea3fd12d70572c50c1bd83f /usr | |
parent | 813a3ef6898e5291287d8adacec115e7dd74e24a (diff) | |
download | pfsense-3d2e70eda056509a37584f67c5139d1174fe6622.zip pfsense-3d2e70eda056509a37584f67c5139d1174fe6622.tar.gz |
Implement gettext() calls in firewall_shaper_queues.php
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_shaper_queues.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php index 35b6f21..2c17f50 100755 --- a/usr/local/www/firewall_shaper_queues.php +++ b/usr/local/www/firewall_shaper_queues.php @@ -169,7 +169,7 @@ if ($_POST['apply']) { clear_subsystem_dirty('shaper'); } -$pgtitle = "Firewall: Shaper: By Queues View"; +$pgtitle = gettext("Firewall: Shaper: By Queues View"); $statusurl = "status_queues.php"; include("head.inc"); @@ -184,17 +184,17 @@ include("head.inc"); <form action="firewall_shaper_queues.php" method="post" name="iform" id="iform"> <?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>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", true, "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", false, "firewall_shaper_wizards.php"); + $tab_array[0] = array(gettext("By Interface"), false, "firewall_shaper.php"); + $tab_array[1] = array(gettext("By Queue"), true, "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"), false, "firewall_shaper_wizards.php"); display_top_tabs($tab_array); ?> </td></tr> |