more fix some variables gettext

This commit is contained in:
Luiz Gustavo Costa 2014-03-07 14:00:48 -03:00
parent e28307d08a
commit 15e477769d
2 changed files with 7 additions and 7 deletions

View File

@ -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);
}
?>

View File

@ -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>&nbsp;</p>
</div>
<?php