diff --git a/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/PortField.php b/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/PortField.php index 6c5ea14e6..f7401d6b5 100644 --- a/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/PortField.php +++ b/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/PortField.php @@ -129,7 +129,7 @@ class PortField extends BaseField { $validators = parent::getValidators(); if ($this->internalValidationMessage == null) { - $msg = "please specify a valid portnumber (1-65535) or name (" . implode(",", self::$wellknownservices) . + $msg = "please specify a valid port number (1-65535) or name (" . implode(",", self::$wellknownservices) . ")"; } else { $msg = $this->internalValidationMessage; diff --git a/src/www/firewall_nat_out_edit.php b/src/www/firewall_nat_out_edit.php index 226f2bc94..6329f20ba 100644 --- a/src/www/firewall_nat_out_edit.php +++ b/src/www/firewall_nat_out_edit.php @@ -232,7 +232,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $natent['target'] = $pconfig['targetip']; } - // handle fields containing portnumbers + // handle fields containing port numbers if (in_array($pconfig['protocol'], explode(" ", "any tcp udp tcp/udp"))) { if (isset($pconfig['staticnatport']) && empty($pconfig['nonat'])) { $natent['staticnatport'] = true; diff --git a/src/www/services_dnsmasq_domainoverride_edit.php b/src/www/services_dnsmasq_domainoverride_edit.php index 54a3b4a64..3f9095b93 100644 --- a/src/www/services_dnsmasq_domainoverride_edit.php +++ b/src/www/services_dnsmasq_domainoverride_edit.php @@ -93,7 +93,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $input_errors[] = gettext("A valid IP address must be specified, or # for an exclusion or ! to not forward at all."); } if (!empty($pconfig['port']) && !is_port($pconfig['port'])) { - $input_errors[] = gettext("A valid portnumber must be specified."); + $input_errors[] = gettext("A valid port number must be specified."); } if (!empty($pconfig['dnssrcip']) && !in_array($pconfig['dnssrcip'], get_configured_ip_addresses())) { $input_errors[] = gettext("An interface IP address must be specified for the DNS query source."); diff --git a/src/www/services_ntpd_gps.php b/src/www/services_ntpd_gps.php index 7596a8bb7..27401f40e 100644 --- a/src/www/services_ntpd_gps.php +++ b/src/www/services_ntpd_gps.php @@ -437,7 +437,7 @@ SureGPS = #Sure Electronics SKG16B /> - +