Commit 7ed72b10 authored by Franco Fichtner's avatar Franco Fichtner

src: fix typos

parent b34a07b4
......@@ -24,7 +24,7 @@
<Admin_Access VisibleName="Admin Access" url="/system_advanced_admin.php"/>
<Firewall_NAT VisibleName="Firewall/NAT" url="/system_advanced_firewall.php"/>
<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"/>
<Notifications url="/system_advanced_notifications.php"/>
</Settings>
......@@ -38,7 +38,7 @@
</System>
<Interfaces order="2" cssClass="glyphicon glyphicon-wrench">
<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"/>
<Wireless url="/interfaces_wireless.php"/>
<VLANs url="/interfaces_vlan.php"/>
......@@ -65,8 +65,8 @@
<OneOnOneEdit url="/firewall_nat_1to1_edit.php*"/>
<Outbound url="/firewall_nat_out.php"/>
<OutboundEdit url="/firewall_nat_out_edit.php*"/>
<NPt url="/firewall_nat_npt.php"/>
<NPtEdit url="/firewall_nat_npt_edit.php*"/>
<NPT url="/firewall_nat_npt.php"/>
<NPTEdit url="/firewall_nat_npt_edit.php*"/>
</NAT>
<Rules url="/firewall_rules.php">
<RulesEdit url="/firewall_rules_edit.php*"/>
......
......@@ -359,8 +359,8 @@
]
},
"page-firewall-nat-npt-edit": {
"name": "WebCfg - Firewall: NAT: NPt: Edit page",
"descr": "Allow access to the 'Firewall: NAT: NPt: Edit' page.",
"name": "WebCfg - Firewall: NAT: NPT: Edit page",
"descr": "Allow access to the 'Firewall: NAT: NPT: Edit' page.",
"match": [
"firewall_nat_npt_edit.php*"
]
......@@ -542,8 +542,8 @@
]
},
"page-interfaces-ppps": {
"name": "WebCfg - Interfaces: ppps page",
"descr": "Allow access to the 'Interfaces: ppps' page.",
"name": "WebCfg - Interfaces: PPPs page",
"descr": "Allow access to the 'Interfaces: PPPs' page.",
"match": [
"interfaces_ppps.php*"
]
......@@ -1218,15 +1218,15 @@
]
},
"page-service-upnp": {
"name": "WebCfg - Service: Univeral Plug and Play page",
"descr": "Allow access to the 'Service: Univeral Plug and Play' page.",
"name": "WebCfg - Service: Universal Plug and Play page",
"descr": "Allow access to the 'Service: Universal Plug and Play' page.",
"match": [
"services_upnp.php*"
]
},
"page-status-upnpstatus": {
"name": "WebCfg - Status: Univeral Plug and Play Status page",
"descr": "Allow access to the 'Status: Univeral Plug and Play Status' page.",
"name": "WebCfg - Status: Universal Plug and Play Status page",
"descr": "Allow access to the 'Status: Universal Plug and Play Status' page.",
"match": [
"status_upnp.php*"
]
......
......@@ -254,7 +254,7 @@ $main_buttons = array(
$tab_array[] = array(gettext("Port Forward"), true, "firewall_nat.php");
$tab_array[] = array(gettext("1:1"), false, "firewall_nat_1to1.php");
$tab_array[] = array(gettext("Outbound"), false, "firewall_nat_out.php");
$tab_array[] = array(gettext("NPt"), false, "firewall_nat_npt.php");
$tab_array[] = array(gettext("NPT"), false, "firewall_nat_npt.php");
display_top_tabs($tab_array);
?>
......
<?php
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
......@@ -163,7 +164,7 @@ $main_buttons = array(
$tab_array[] = array(gettext("Port Forward"), false, "firewall_nat.php");
$tab_array[] = array(gettext("1:1"), true, "firewall_nat_1to1.php");
$tab_array[] = array(gettext("Outbound"), false, "firewall_nat_out.php");
$tab_array[] = array(gettext("NPt"), false, "firewall_nat_npt.php");
$tab_array[] = array(gettext("NPT"), false, "firewall_nat_npt.php");
display_top_tabs($tab_array);
?>
......
......@@ -62,7 +62,7 @@ if ($_GET['act'] == "del") {
}
}
$pgtitle = array(gettext("Firewall"),gettext("NAT"),gettext("NPt"));
$pgtitle = array(gettext('Firewall'), gettext('NAT'), gettext('NPT'));
include("head.inc");
$main_buttons = array(
......@@ -92,7 +92,7 @@ $main_buttons = array(
$tab_array[] = array(gettext("Port Forward"), false, "firewall_nat.php");
$tab_array[] = array(gettext("1:1"), false, "firewall_nat_1to1.php");
$tab_array[] = array(gettext("Outbound"), false, "firewall_nat_out.php");
$tab_array[] = array(gettext("NPt"), true, "firewall_nat_npt.php");
$tab_array[] = array(gettext("NPT"), true, "firewall_nat_npt.php");
display_top_tabs($tab_array);
?>
......
<?php
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2011 Seth Mos <seth.mos@dds.nl>.
......@@ -130,7 +131,7 @@ if ($_POST) {
}
}
$pgtitle = array(gettext("Firewall"),gettext("NAT"),gettext("NPt"),gettext("Edit"));
$pgtitle = array(gettext('Firewall'), gettext('NAT'), gettext('NPT'), gettext('Edit'));
include("head.inc");
?>
......@@ -156,7 +157,7 @@ include("head.inc");
<tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("Edit NAT NPt entry"); ?></td>
<td colspan="2" valign="top" class="listtopic"><?=gettext("Edit NAT NPT entry"); ?></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Disabled"); ?></td>
......
......@@ -224,7 +224,7 @@ include("head.inc");
$tab_array[] = array(gettext("Port Forward"), false, "firewall_nat.php");
$tab_array[] = array(gettext("1:1"), false, "firewall_nat_1to1.php");
$tab_array[] = array(gettext("Outbound"), true, "firewall_nat_out.php");
$tab_array[] = array(gettext("NPt"), false, "firewall_nat_npt.php");
$tab_array[] = array(gettext("NPT"), false, "firewall_nat_npt.php");
display_top_tabs($tab_array);
?>
......
......@@ -776,7 +776,7 @@ if ($_POST['apply']) {
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.");
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'])) {
case "staticv4":
......@@ -1623,7 +1623,7 @@ $shortcut_section = "interfaces";
$closehead = false;
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"));
$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"),
<td colspan="2" style="padding: 0px;">
<table width="100%" class="table table-striped" border="0" cellpadding="6" cellspacing="0" summary="dhcp6">
<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)" /> ' .
" 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)" /> ' .
......
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