Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
4b95bed1
Commit
4b95bed1
authored
Nov 07, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: translation tweaks by SimonB
parent
2dcb24c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
PortField.php
...nse/mvc/app/models/OPNsense/Base/FieldTypes/PortField.php
+1
-1
firewall_nat_out_edit.php
src/www/firewall_nat_out_edit.php
+1
-1
services_dnsmasq_domainoverride_edit.php
src/www/services_dnsmasq_domainoverride_edit.php
+1
-1
services_ntpd_gps.php
src/www/services_ntpd_gps.php
+1
-1
No files found.
src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/PortField.php
View file @
4b95bed1
...
@@ -129,7 +129,7 @@ class PortField extends BaseField
...
@@ -129,7 +129,7 @@ class PortField extends BaseField
{
{
$validators
=
parent
::
getValidators
();
$validators
=
parent
::
getValidators
();
if
(
$this
->
internalValidationMessage
==
null
)
{
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
{
}
else
{
$msg
=
$this
->
internalValidationMessage
;
$msg
=
$this
->
internalValidationMessage
;
...
...
src/www/firewall_nat_out_edit.php
View file @
4b95bed1
...
@@ -232,7 +232,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
...
@@ -232,7 +232,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$natent
[
'target'
]
=
$pconfig
[
'targetip'
];
$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
(
in_array
(
$pconfig
[
'protocol'
],
explode
(
" "
,
"any tcp udp tcp/udp"
)))
{
if
(
isset
(
$pconfig
[
'staticnatport'
])
&&
empty
(
$pconfig
[
'nonat'
]))
{
if
(
isset
(
$pconfig
[
'staticnatport'
])
&&
empty
(
$pconfig
[
'nonat'
]))
{
$natent
[
'staticnatport'
]
=
true
;
$natent
[
'staticnatport'
]
=
true
;
...
...
src/www/services_dnsmasq_domainoverride_edit.php
View file @
4b95bed1
...
@@ -93,7 +93,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
...
@@ -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."
);
$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'
]))
{
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
()))
{
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."
);
$input_errors
[]
=
gettext
(
"An interface IP address must be specified for the DNS query source."
);
...
...
src/www/services_ntpd_gps.php
View file @
4b95bed1
...
@@ -437,7 +437,7 @@ SureGPS = #Sure Electronics SKG16B
...
@@ -437,7 +437,7 @@ SureGPS = #Sure Electronics SKG16B
<input
name=
"noselect"
type=
"checkbox"
id=
"gpsselect"
<?=
!
empty
(
$pconfig
[
'noselect'
])
?
" checked=
\"
checked
\"
"
:
""
;
?>
/>
<input
name=
"noselect"
type=
"checkbox"
id=
"gpsselect"
<?=
!
empty
(
$pconfig
[
'noselect'
])
?
" checked=
\"
checked
\"
"
:
""
;
?>
/>
</td>
</td>
<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>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment