diff options
author | Luiz Gustavo Costa <luizgustavo@fidelize.com.br> | 2014-03-07 14:00:48 -0300 |
---|---|---|
committer | Luiz Gustavo Costa <luizgustavo@fidelize.com.br> | 2014-03-07 14:00:48 -0300 |
commit | 15e477769db4263ebffab918ac99afa03d7aaa1f (patch) | |
tree | b2daa5f6bf354a02b1e8f094039d8f24e6f23d31 /usr/local | |
parent | e28307d08af57fa38a701a6bd1f6ae8b77f6bdcd (diff) | |
download | pfsense-15e477769db4263ebffab918ac99afa03d7aaa1f.zip pfsense-15e477769db4263ebffab918ac99afa03d7aaa1f.tar.gz |
more fix some variables gettext
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/fbegin.inc | 10 | ||||
-rwxr-xr-x | usr/local/www/firewall_rules.php | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index dacead2..775148e 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -116,7 +116,7 @@ $system_menu = msort(array_merge($system_menu, return_ext_menu("System")),0); // Interfaces $interfaces_menu = array(); if (!isset($config['system']['webgui']['noassigninterfaces'])) - $interfaces_menu[] = array("(assign)", "/interfaces_assign.php"); + $interfaces_menu[] = array(gettext("(assign)"), "/interfaces_assign.php"); $opts = get_configured_interface_with_descr(false, true); foreach ($opts as $oif => $odescr) if (!isset($config['interfaces'][$oif]['ovpn'])) @@ -189,7 +189,7 @@ $status_menu[] = array(gettext("RRD Graphs"), "/status_rrd_graph.php"); $status_menu[] = array(gettext("Services"), "/status_services.php"); $status_menu[] = array(gettext("System Logs"), "/diag_logs.php"); $status_menu[] = array(gettext("Traffic Graph"), "/status_graph.php?if=wan"); -if(count($config['interfaces']) > 1) +if(count($config['interfaces']) > 1) $status_menu[] = array(gettext("UPnP & NAT-PMP"), "/status_upnp.php"); $ifentries = get_configured_interface_with_descr(); foreach ($ifentries as $ent => $entdesc) { @@ -233,14 +233,14 @@ if($g['platform'] == "nanobsd") if (isset($config['system']['developer'])) { $diagnostics_menu[] = array(gettext("Restart HTTPD"), "/restart_httpd.php", "style" => "font-weight: bold; color: yellow;"); - + } $diagnostics_menu = msort(array_merge($diagnostics_menu, return_ext_menu("Diagnostics")),0); if(! $g['disablehelpmenu']) { $help_menu = array(); $help_menu[] = array(gettext("About this Page"), $helpurl); - if($g['product_name'] == "pfSense") + if($g['product_name'] == "pfSense") $help_menu[] = array(gettext("Bug Database"), "http://www.pfsense.org/j.php?jumpto=redmine"); $help_menu[] = array(gettext("User Forum"), "http://www.pfsense.org/j.php?jumpto=forum"); $help_menu[] = array(gettext("Documentation"), "http://www.pfsense.org/j.php?jumpto=doc"); @@ -249,7 +249,7 @@ if(! $g['disablehelpmenu']) { $help_menu[] = array(gettext("pfSense Book"), "http://www.pfsense.org/j.php?jumpto=book"); $help_menu[] = array(gettext("Search portal"), "http://www.pfsense.org/j.php?jumpto=searchportal"); $help_menu[] = array(gettext("FreeBSD Handbook"), "http://www.pfsense.org/j.php?jumpto=fbsdhandbook"); - $help_menu = msort(array_merge($help_menu, return_ext_menu("Help")),0); + $help_menu = msort(array_merge($help_menu, return_ext_menu("Help")),0); } ?> diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index 0759fe2..fb9807e 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -105,7 +105,7 @@ if($_REQUEST['dragdroporder']) { // Overwrite filter rules with newly created items $config['filter']['rule'] = array_merge($a_filter_before, $a_filter_order, $a_filter_after); // Write configuration - $config = write_config("Drag and drop firewall rules ordering update."); + $config = write_config(gettext("Drag and drop firewall rules ordering update.")); // Redirect back to page mark_subsystem_dirty('filter'); $undo = array(); @@ -316,7 +316,7 @@ if($_REQUEST['undodrag']) { <br/> <?php endif; ?> <div id="loading" style="visibity:hidden"> - <img src="/themes/<?=$g['theme']?>/images/misc/loader.gif" alt="loader" /> Loading, please wait... + <img src="/themes/<?=$g['theme']?>/images/misc/loader.gif" alt="loader" /> <?php echo gettext("Loading, please wait..."); ?> <p> </p> </div> <?php |