Commit d2c595de authored by Franco Fichtner's avatar Franco Fichtner

src: fix typos

parent 2720f74f
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<Admin_Access VisibleName="Admin Access" url="/system_advanced_admin.php"/> <Admin_Access VisibleName="Admin Access" url="/system_advanced_admin.php"/>
<Firewall_NAT VisibleName="Firewall/NAT" url="/system_advanced_firewall.php"/> <Firewall_NAT VisibleName="Firewall/NAT" url="/system_advanced_firewall.php"/>
<Networking url="/system_advanced_network.php"></Networking> <Networking url="/system_advanced_network.php"></Networking>
<Miscellaneos url="/system_advanced_misc.php"/> <Miscellaneous url="/system_advanced_misc.php"/>
<System_Tunables VisibleName="System Tunables" url="/system_advanced_sysctl.php"/> <System_Tunables VisibleName="System Tunables" url="/system_advanced_sysctl.php"/>
<Notifications url="/system_advanced_notifications.php"/> <Notifications url="/system_advanced_notifications.php"/>
</Settings> </Settings>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</System> </System>
<Interfaces order="2" cssClass="glyphicon glyphicon-wrench"> <Interfaces order="2" cssClass="glyphicon glyphicon-wrench">
<Assign VisibleName="(Assign)" order="999" url="/interfaces_assign.php"> <Assign VisibleName="(Assign)" order="999" url="/interfaces_assign.php">
<InterfaceAssignments VisibleName="Interface Addignments" url="/interfaces_assign.php"/> <InterfaceAssignments VisibleName="Interface Assignments" url="/interfaces_assign.php"/>
<InterfaceGroups VisibleName="Interface Groups" url="/interfaces_groups.php"/> <InterfaceGroups VisibleName="Interface Groups" url="/interfaces_groups.php"/>
<Wireless url="/interfaces_wireless.php"/> <Wireless url="/interfaces_wireless.php"/>
<VLANs url="/interfaces_vlan.php"/> <VLANs url="/interfaces_vlan.php"/>
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
<Outbound order="300" VisibleName="Outbound" url="/firewall_nat_out.php"> <Outbound order="300" VisibleName="Outbound" url="/firewall_nat_out.php">
<OutboundEdit url="/firewall_nat_out_edit.php*"/> <OutboundEdit url="/firewall_nat_out_edit.php*"/>
</Outbound> </Outbound>
<NPt VisibleName="NPt (IPv6)" order="400" url="/firewall_nat_npt.php"> <NPT VisibleName="NPT (IPv6)" order="400" url="/firewall_nat_npt.php">
<NPtEdit url="/firewall_nat_npt_edit.php*"/> <NPTEdit url="/firewall_nat_npt_edit.php*"/>
</NPt> </NPT>
</NAT> </NAT>
<Rules url="/firewall_rules.php"> <Rules url="/firewall_rules.php">
<RulesEdit url="/firewall_rules_edit.php*"/> <RulesEdit url="/firewall_rules_edit.php*"/>
......
...@@ -359,8 +359,8 @@ ...@@ -359,8 +359,8 @@
] ]
}, },
"page-firewall-nat-npt-edit": { "page-firewall-nat-npt-edit": {
"name": "WebCfg - Firewall: NAT: NPt: Edit page", "name": "WebCfg - Firewall: NAT: NPT: Edit page",
"descr": "Allow access to the 'Firewall: NAT: NPt: Edit' page.", "descr": "Allow access to the 'Firewall: NAT: NPT: Edit' page.",
"match": [ "match": [
"firewall_nat_npt_edit.php*" "firewall_nat_npt_edit.php*"
] ]
...@@ -542,8 +542,8 @@ ...@@ -542,8 +542,8 @@
] ]
}, },
"page-interfaces-ppps": { "page-interfaces-ppps": {
"name": "WebCfg - Interfaces: ppps page", "name": "WebCfg - Interfaces: PPPs page",
"descr": "Allow access to the 'Interfaces: ppps' page.", "descr": "Allow access to the 'Interfaces: PPPs' page.",
"match": [ "match": [
"interfaces_ppps.php*" "interfaces_ppps.php*"
] ]
...@@ -1218,15 +1218,15 @@ ...@@ -1218,15 +1218,15 @@
] ]
}, },
"page-service-upnp": { "page-service-upnp": {
"name": "WebCfg - Service: Univeral Plug and Play page", "name": "WebCfg - Service: Universal Plug and Play page",
"descr": "Allow access to the 'Service: Univeral Plug and Play' page.", "descr": "Allow access to the 'Service: Universal Plug and Play' page.",
"match": [ "match": [
"services_upnp.php*" "services_upnp.php*"
] ]
}, },
"page-status-upnpstatus": { "page-status-upnpstatus": {
"name": "WebCfg - Status: Univeral Plug and Play Status page", "name": "WebCfg - Status: Universal Plug and Play Status page",
"descr": "Allow access to the 'Status: Univeral Plug and Play Status' page.", "descr": "Allow access to the 'Status: Universal Plug and Play Status' page.",
"match": [ "match": [
"status_upnp.php*" "status_upnp.php*"
] ]
......
...@@ -87,7 +87,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -87,7 +87,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
} else { } else {
$a_npt[$id]['disabled'] = true; $a_npt[$id]['disabled'] = true;
} }
if (write_config("Firewall: NAT: NPt, enable/disable NAT rule")) { if (write_config("Firewall: NAT: NPT, enable/disable NAT rule")) {
mark_subsystem_dirty('natconf'); mark_subsystem_dirty('natconf');
} }
header("Location: firewall_nat_npt.php"); header("Location: firewall_nat_npt.php");
...@@ -98,7 +98,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -98,7 +98,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
legacy_html_escape_form_data($a_npt); legacy_html_escape_form_data($a_npt);
$pgtitle = array(gettext("Firewall"),gettext("NAT"),gettext("NPt")); $pgtitle = array(gettext('Firewall'), gettext('NAT'), gettext('NPT'));
include("head.inc"); include("head.inc");
$main_buttons = array( $main_buttons = array(
......
...@@ -155,7 +155,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -155,7 +155,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
legacy_html_escape_form_data($pconfig); legacy_html_escape_form_data($pconfig);
$pgtitle = array(gettext("Firewall"),gettext("NAT"),gettext("NPt"),gettext("Edit")); $pgtitle = array(gettext('Firewall'), gettext('NAT'), gettext('NPT'), gettext('Edit'));
include("head.inc"); include("head.inc");
?> ?>
...@@ -171,7 +171,7 @@ include("head.inc"); ...@@ -171,7 +171,7 @@ include("head.inc");
<form action="firewall_nat_npt_edit.php" method="post" name="iform" id="iform"> <form action="firewall_nat_npt_edit.php" method="post" name="iform" id="iform">
<table class="table table-striped"> <table class="table table-striped">
<tr> <tr>
<td><?=gettext("Edit NAT NPt entry"); ?></td> <td><?=gettext("Edit NAT NPT entry"); ?></td>
<td align="right"> <td align="right">
<small><?=gettext("full help"); ?> </small> <small><?=gettext("full help"); ?> </small>
<i class="fa fa-toggle-off text-danger" style="cursor: pointer;" id="show_all_help_page" type="button"></i></a> <i class="fa fa-toggle-off text-danger" style="cursor: pointer;" id="show_all_help_page" type="button"></i></a>
......
...@@ -776,7 +776,7 @@ if ($_POST['apply']) { ...@@ -776,7 +776,7 @@ if ($_POST['apply']) {
if (isset($config['dhcpd']) && isset($config['dhcpd'][$if]['enable']) && (! preg_match("/^staticv4/", $_POST['type']))) if (isset($config['dhcpd']) && isset($config['dhcpd'][$if]['enable']) && (! preg_match("/^staticv4/", $_POST['type'])))
$input_errors[] = gettext("The DHCP Server is active on this interface and it can be used only with a static IP configuration. Please disable the DHCP Server service on this interface first, then change the interface configuration."); $input_errors[] = gettext("The DHCP Server is active on this interface and it can be used only with a static IP configuration. Please disable the DHCP Server service on this interface first, then change the interface configuration.");
if (isset($config['dhcpdv6']) && isset($config['dhcpdv6'][$if]['enable']) && (! preg_match("/^staticv6/", $_POST['type6']))) if (isset($config['dhcpdv6']) && isset($config['dhcpdv6'][$if]['enable']) && (! preg_match("/^staticv6/", $_POST['type6'])))
$input_errors[] = gettext("The DHCP6 Server is active on this interface and it can be used only with a static IPv6 configuration. Please disable the DHCPv6 Server service on this interface first, then change the interface configuration."); $input_errors[] = gettext("The DHCPv6 Server is active on this interface and it can be used only with a static IPv6 configuration. Please disable the DHCPv6 Server service on this interface first, then change the interface configuration.");
switch(strtolower($_POST['type'])) { switch(strtolower($_POST['type'])) {
case "staticv4": case "staticv4":
...@@ -1623,7 +1623,7 @@ $shortcut_section = "interfaces"; ...@@ -1623,7 +1623,7 @@ $shortcut_section = "interfaces";
$closehead = false; $closehead = false;
include("head.inc"); include("head.inc");
$types4 = array("none" => gettext("None"), "staticv4" => gettext("Static IPv4"), "dhcp" => gettext("DHCP"), "ppp" => gettext("PPP"), "pppoe" => gettext("PPPoE"), "pptp" => gettext("PPTP"), "l2tp" => gettext("L2TP")); $types4 = array("none" => gettext("None"), "staticv4" => gettext("Static IPv4"), "dhcp" => gettext("DHCP"), "ppp" => gettext("PPP"), "pppoe" => gettext("PPPoE"), "pptp" => gettext("PPTP"), "l2tp" => gettext("L2TP"));
$types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"), "dhcp6" => gettext("DHCP6"), "slaac" => gettext("SLAAC"), "6rd" => gettext("6rd Tunnel"), "6to4" => gettext("6to4 Tunnel"), "track6" => gettext("Track Interface")); $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"), "dhcp6" => gettext("DHCPv6"), "slaac" => gettext("SLAAC"), "6rd" => gettext("6rd Tunnel"), "6to4" => gettext("6to4 Tunnel"), "track6" => gettext("Track Interface"));
?> ?>
...@@ -2432,7 +2432,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"), ...@@ -2432,7 +2432,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<td colspan="2" style="padding: 0px;"> <td colspan="2" style="padding: 0px;">
<table width="100%" class="table table-striped" border="0" cellpadding="6" cellspacing="0" summary="dhcp6"> <table width="100%" class="table table-striped" border="0" cellpadding="6" cellspacing="0" summary="dhcp6">
<tr> <tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("DHCP6 client configuration &nbsp; &nbsp; " . <td colspan="2" valign="top" class="listtopic"><?=gettext("DHCPv6 client configuration &nbsp; &nbsp; " .
' <input name="adv_dhcp6_config_advanced" type="checkbox" id="adv_dhcp6_config_advanced" value="" onclick="show_adv_dhcp6_config(this)" /> ' . ' <input name="adv_dhcp6_config_advanced" type="checkbox" id="adv_dhcp6_config_advanced" value="" onclick="show_adv_dhcp6_config(this)" /> ' .
" Advanced &nbsp; &nbsp; " . " Advanced &nbsp; &nbsp; " .
' <input name="adv_dhcp6_config_file_override" type="checkbox" id="adv_dhcp6_config_file_override" value="" onclick="show_adv_dhcp6_config(this)" /> ' . ' <input name="adv_dhcp6_config_file_override" type="checkbox" id="adv_dhcp6_config_file_override" value="" onclick="show_adv_dhcp6_config(this)" /> ' .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment