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
77ec6d5d
Commit
77ec6d5d
authored
Nov 07, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #458 from fabianfrz/translation
work on #427
parents
1b03f583
45f297ad
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
24 deletions
+24
-24
firewall_rules_edit.php
src/www/firewall_rules_edit.php
+5
-5
interfaces_bridge.php
src/www/interfaces_bridge.php
+1
-1
interfaces_gif.php
src/www/interfaces_gif.php
+1
-1
interfaces_gre.php
src/www/interfaces_gre.php
+1
-1
interfaces_lagg.php
src/www/interfaces_lagg.php
+1
-1
interfaces_ppps.php
src/www/interfaces_ppps.php
+1
-1
interfaces_qinq.php
src/www/interfaces_qinq.php
+1
-1
interfaces_vlan.php
src/www/interfaces_vlan.php
+1
-1
interfaces_wireless.php
src/www/interfaces_wireless.php
+1
-1
status_graph.php
src/www/status_graph.php
+11
-11
No files found.
src/www/firewall_rules_edit.php
View file @
77ec6d5d
...
...
@@ -664,13 +664,13 @@ include("head.inc");
<td
width=
"78%"
>
<select
name=
"type"
class=
"selectpicker"
data-live-search=
"true"
data-size=
"5"
>
<?php
$type_options
=
array
(
'Pass'
,
'Block'
,
'Reject'
);
$type_options
=
array
(
'Pass'
=>
gettext
(
'Pass'
),
'Block'
=>
gettext
(
'Block'
),
'Reject'
=>
gettext
(
'Reject'
)
);
if
(
!
empty
(
$pconfig
[
'floating'
]))
{
$type_options
[
]
=
'Match'
;
$type_options
[
'Match'
]
=
gettext
(
'Match'
)
;
}
foreach
(
$type_options
as
$type
)
:
?>
foreach
(
$type_options
as
$type
=>
$type_translated
)
:
?>
<option
value=
"
<?=
strtolower
(
$type
);
?>
"
<?=
strtolower
(
$type
)
==
strtolower
(
$pconfig
[
'type'
])
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
$type
;
?>
<?=
$type
_translated
;
?>
</option>
<?php
endforeach
;
?>
...
...
@@ -1124,7 +1124,7 @@ include("head.inc");
<td><a
id=
"help_for_sourceos"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"Source OS"
);
?>
</td>
<td>
<select
name=
"os"
class=
"selectpicker"
data-live-search=
"true"
data-size=
"5"
data-width=
"auto"
>
<option
value=
""
<?=
empty
(
$pconfig
[
'os'
])
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
Any
</option>
<option
value=
""
<?=
empty
(
$pconfig
[
'os'
])
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
gettext
(
'Any'
)
?>
</option>
<?php
foreach
(
$ostypes
as
$ostype
)
:
?>
<option
value=
"
<?=
$ostype
;
?>
"
<?=
$ostype
==
$pconfig
[
'os'
]
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
...
...
src/www/interfaces_bridge.php
View file @
77ec6d5d
...
...
@@ -81,7 +81,7 @@ $pgtitle = array(gettext("Interfaces"),gettext("Bridge"));
include
(
"head.inc"
);
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_bridge_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_bridge_edit.php'
,
'label'
=>
gettext
(
'Add'
)
),
);
?>
...
...
src/www/interfaces_gif.php
View file @
77ec6d5d
...
...
@@ -72,7 +72,7 @@ $pgtitle = array(gettext("Interfaces"),gettext("GIF"));
include
(
"head.inc"
);
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_gif_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_gif_edit.php'
,
'label'
=>
gettext
(
'Add'
)
),
);
?>
...
...
src/www/interfaces_gre.php
View file @
77ec6d5d
...
...
@@ -72,7 +72,7 @@ $pgtitle = array(gettext("Interfaces"),gettext("GRE"));
include
(
"head.inc"
);
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_gre_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_gre_edit.php'
,
'label'
=>
gettext
(
'Add'
)
),
);
?>
...
...
src/www/interfaces_lagg.php
View file @
77ec6d5d
...
...
@@ -77,7 +77,7 @@ $pgtitle = array(gettext("Interfaces"),gettext("LAGG"));
include
(
"head.inc"
);
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_lagg_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_lagg_edit.php'
,
'label'
=>
gettext
(
'Add'
)
),
);
?>
...
...
src/www/interfaces_ppps.php
View file @
77ec6d5d
...
...
@@ -73,7 +73,7 @@ $pgtitle = gettext("Interfaces: PPPs");
include
(
"head.inc"
);
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_ppps_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_ppps_edit.php'
,
'label'
=>
gettext
(
'Add'
)
),
);
?>
...
...
src/www/interfaces_qinq.php
View file @
77ec6d5d
...
...
@@ -80,7 +80,7 @@ $pgtitle = array(gettext("Interfaces"),gettext("QinQ"));
include
(
"head.inc"
);
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_qinq_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_qinq_edit.php'
,
'label'
=>
gettext
(
'Add'
)
),
);
?>
...
...
src/www/interfaces_vlan.php
View file @
77ec6d5d
...
...
@@ -78,7 +78,7 @@ $pgtitle = array(gettext("Interfaces"),gettext("VLAN"));
include
(
"head.inc"
);
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_vlan_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_vlan_edit.php'
,
'label'
=>
gettext
(
'Add'
)
),
);
...
...
src/www/interfaces_wireless.php
View file @
77ec6d5d
...
...
@@ -68,7 +68,7 @@ $pgtitle = array(gettext("Interfaces"),gettext("Wireless"));
include
(
"head.inc"
);
$main_buttons
=
array
(
array
(
'href'
=>
'interfaces_wireless_edit.php'
,
'label'
=>
'Add'
),
array
(
'href'
=>
'interfaces_wireless_edit.php'
,
'label'
=>
gettext
(
'Add'
)
),
);
?>
...
...
src/www/status_graph.php
View file @
77ec6d5d
...
...
@@ -204,9 +204,9 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enabl
<thead>
<tr>
<th>
<?=
gettext
(
"Interface"
);
?>
</th>
<th>
Sort by
</th>
<th>
Filter
</th>
<th>
Display
</th>
<th>
<?=
gettext
(
'Sort by'
)
?>
</th>
<th>
<?=
gettext
(
'Filter'
)
?>
</th>
<th>
<?=
gettext
(
'Display'
)
?>
</th>
</tr>
</thead>
<tbody>
...
...
@@ -221,18 +221,18 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enabl
?>
</select></td>
<td><select
id=
"sort"
name=
"sort"
class=
"form-control"
style=
"z-index: -10;"
onchange=
"document.form1.submit()"
>
<option
value=
""
>
Bw In
</option>
<option
value=
"out"
<?php
if
(
$cursort
==
"out"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
Bw Out
</option>
<option
value=
""
>
<?=
gettext
(
'Bw In'
)
?>
</option>
<option
value=
"out"
<?php
if
(
$cursort
==
"out"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
<?=
gettext
(
'Bw Out'
)
?>
</option>
</select></td>
<td><select
id=
"filter"
name=
"filter"
class=
"form-control"
style=
"z-index: -10;"
onchange=
"document.form1.submit()"
>
<option
value=
"local"
<?php
if
(
$curfilter
==
"local"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
Local
</option>
<option
value=
"remote"
<?php
if
(
$curfilter
==
"remote"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
Remote
</option>
<option
value=
"all"
<?php
if
(
$curfilter
==
"all"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
All
</option>
<option
value=
"local"
<?php
if
(
$curfilter
==
"local"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
<?=
gettext
(
'Local'
)
?>
</option>
<option
value=
"remote"
<?php
if
(
$curfilter
==
"remote"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
<?=
gettext
(
'Remote'
)
?>
</option>
<option
value=
"all"
<?php
if
(
$curfilter
==
"all"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
<?=
gettext
(
'All'
)
?>
</option>
</select></td>
<td><select
id=
"hostipformat"
name=
"hostipformat"
class=
"form-control"
style=
"z-index: -10;"
onchange=
"document.form1.submit()"
>
<option
value=
""
>
IP Address
</option>
<option
value=
"hostname"
<?php
if
(
$curhostipformat
==
"hostname"
)
echo
" selected"
;
?>
>
Host Name
</option>
<option
value=
"fqdn"
<?php
if
(
$curhostipformat
==
"fqdn"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
FQDN
</option>
<option
value=
""
>
<?=
gettext
(
'IP Address'
)
?>
</option>
<option
value=
"hostname"
<?php
if
(
$curhostipformat
==
"hostname"
)
echo
" selected"
;
?>
>
<?=
gettext
(
'Host Name'
)
?>
</option>
<option
value=
"fqdn"
<?php
if
(
$curhostipformat
==
"fqdn"
)
echo
" selected=
\"
selected
\"
"
;
?>
>
<?=
gettext
(
'FQDN'
)
?>
</option>
</select></td>
</tr>
</tbody>
...
...
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