mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
src: translation tweaks by SimonB
This commit is contained in:
parent
2dcb24c5f8
commit
4b95bed167
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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.");
|
||||
|
||||
@ -437,7 +437,7 @@ SureGPS = #Sure Electronics SKG16B
|
||||
<input name="noselect" type="checkbox" id="gpsselect" <?=!empty($pconfig['noselect']) ? " checked=\"checked\"" : ""; ?> />
|
||||
</td>
|
||||
<td>
|
||||
<?=gettext("NTP should not use this clock, it will be displayed for reference only(default: disabled)."); ?>
|
||||
<?=gettext("NTP should not use this clock, it will be displayed for reference only (default: disabled)."); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user