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
91a6e982
Commit
91a6e982
authored
Nov 07, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www: more translation fixes for #427
parent
77ec6d5d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
10 deletions
+10
-10
diag_confbak.php
src/www/diag_confbak.php
+1
-1
firewall_nat_1to1.php
src/www/firewall_nat_1to1.php
+1
-1
graph.php
src/www/graph.php
+1
-1
interfaces_ppps.php
src/www/interfaces_ppps.php
+1
-1
services_rfc2136.php
src/www/services_rfc2136.php
+1
-1
services_rfc2136_edit.php
src/www/services_rfc2136_edit.php
+1
-1
services_snmp.php
src/www/services_snmp.php
+1
-1
system_usermanager.php
src/www/system_usermanager.php
+3
-3
No files found.
src/www/diag_confbak.php
View file @
91a6e982
...
@@ -39,7 +39,7 @@ if (isset($_POST['backupcount'])) {
...
@@ -39,7 +39,7 @@ if (isset($_POST['backupcount'])) {
}
else
{
}
else
{
unset
(
$config
[
'system'
][
'backupcount'
]);
unset
(
$config
[
'system'
][
'backupcount'
]);
}
}
write_config
(
'Changed backup revision count'
);
write_config
(
gettext
(
'Changed backup revision count.'
)
);
}
elseif
(
isset
(
$_POST
[
'newver'
])
&&
$_POST
[
'newver'
]
!=
''
)
{
}
elseif
(
isset
(
$_POST
[
'newver'
])
&&
$_POST
[
'newver'
]
!=
''
)
{
foreach
(
$confvers
as
$filename
=>
$revision
)
{
foreach
(
$confvers
as
$filename
=>
$revision
)
{
if
(
isset
(
$revision
[
'time'
])
&&
$revision
[
'time'
]
==
$_POST
[
'newver'
])
{
if
(
isset
(
$revision
[
'time'
])
&&
$revision
[
'time'
]
==
$_POST
[
'newver'
])
{
...
...
src/www/firewall_nat_1to1.php
View file @
91a6e982
...
@@ -87,7 +87,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
...
@@ -87,7 +87,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
else
{
}
else
{
$a_1to1
[
$id
][
'disabled'
]
=
true
;
$a_1to1
[
$id
][
'disabled'
]
=
true
;
}
}
if
(
write_config
(
"Firewall: NAT: Outbound, enable/disable NAT rule"
))
{
if
(
write_config
(
gettext
(
'Toggled NAT rule'
)
))
{
mark_subsystem_dirty
(
'natconf'
);
mark_subsystem_dirty
(
'natconf'
);
}
}
header
(
"Location: firewall_nat_1to1.php"
);
header
(
"Location: firewall_nat_1to1.php"
);
...
...
src/www/graph.php
View file @
91a6e982
...
@@ -76,7 +76,7 @@ $attribs['error']='fill="blue" font-family="Arial" font-size="4"';
...
@@ -76,7 +76,7 @@ $attribs['error']='fill="blue" font-family="Arial" font-size="4"';
$attribs
[
'collect_initial'
]
=
'fill="gray" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4"'
;
$attribs
[
'collect_initial'
]
=
'fill="gray" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4"'
;
//Error text if we cannot fetch data : depends on which method is used
//Error text if we cannot fetch data : depends on which method is used
$error_text
=
"Cannot get data about interface "
.
htmlspecialchars
(
$ifnum
);
$error_text
=
sprintf
(
gettext
(
'Cannot get data about interface %s'
),
htmlspecialchars
(
$ifnum
)
);
$height
=
100
;
//SVG internal height : do not modify
$height
=
100
;
//SVG internal height : do not modify
$width
=
200
;
//SVG internal width : do not modify
$width
=
200
;
//SVG internal width : do not modify
...
...
src/www/interfaces_ppps.php
View file @
91a6e982
...
@@ -68,7 +68,7 @@ if (!is_array($config['ppps']['ppp'])) {
...
@@ -68,7 +68,7 @@ if (!is_array($config['ppps']['ppp'])) {
$a_ppps
=
$config
[
'ppps'
][
'ppp'
];
$a_ppps
=
$config
[
'ppps'
][
'ppp'
];
$pgtitle
=
gettext
(
"Interfaces: PPPs"
);
$pgtitle
=
array
(
gettext
(
'Interfaces'
),
gettext
(
'PPPs'
)
);
include
(
"head.inc"
);
include
(
"head.inc"
);
...
...
src/www/services_rfc2136.php
View file @
91a6e982
...
@@ -51,7 +51,7 @@ $pgtitle = array(gettext("Services"), gettext("RFC 2136 clients"));
...
@@ -51,7 +51,7 @@ $pgtitle = array(gettext("Services"), gettext("RFC 2136 clients"));
include
(
"head.inc"
);
include
(
"head.inc"
);
$main_buttons
=
array
(
$main_buttons
=
array
(
array
(
'label'
=>
'Add'
,
'href'
=>
'services_rfc2136_edit.php'
),
array
(
'label'
=>
gettext
(
'Add'
),
'href'
=>
'services_rfc2136_edit.php'
),
);
);
?>
?>
...
...
src/www/services_rfc2136_edit.php
View file @
91a6e982
...
@@ -166,7 +166,7 @@ include("head.inc");
...
@@ -166,7 +166,7 @@ include("head.inc");
<td
width=
"22%"
valign=
"top"
class=
"vncellreq"
>
<?=
gettext
(
"Hostname"
);
?>
</td>
<td
width=
"22%"
valign=
"top"
class=
"vncellreq"
>
<?=
gettext
(
"Hostname"
);
?>
</td>
<td
width=
"78%"
class=
"vtable"
>
<td
width=
"78%"
class=
"vtable"
>
<input
name=
"host"
type=
"text"
class=
"formfld unknown"
id=
"host"
size=
"30"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'host'
]);
?>
"
/>
<input
name=
"host"
type=
"text"
class=
"formfld unknown"
id=
"host"
size=
"30"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'host'
]);
?>
"
/>
<br
/><span>
Fully qualified hostname of the host to be updated
</span>
<br
/><span>
<?=
gettext
(
'Fully qualified hostname of the host to be updated.'
)
?>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
src/www/services_snmp.php
View file @
91a6e982
...
@@ -462,7 +462,7 @@ function enable_change(whichone) {
...
@@ -462,7 +462,7 @@ function enable_change(whichone) {
<td
width=
"22%"
valign=
"top"
class=
"vncellreq"
>
<?=
gettext
(
"Bind Interface"
);
?>
</td>
<td
width=
"22%"
valign=
"top"
class=
"vncellreq"
>
<?=
gettext
(
"Bind Interface"
);
?>
</td>
<td
width=
"78%"
class=
"vtable"
>
<td
width=
"78%"
class=
"vtable"
>
<select
name=
"bindip"
class=
"formselect"
>
<select
name=
"bindip"
class=
"formselect"
>
<option
value=
""
>
All
</option>
<option
value=
""
>
<?=
gettext
(
'All'
)
?>
</option>
<?php
$listenips
=
get_possible_listen_ips
();
<?php
$listenips
=
get_possible_listen_ips
();
foreach
(
$listenips
as
$lip
)
:
foreach
(
$listenips
as
$lip
)
:
$selected
=
""
;
$selected
=
""
;
...
...
src/www/system_usermanager.php
View file @
91a6e982
...
@@ -1050,11 +1050,11 @@ endforeach;
...
@@ -1050,11 +1050,11 @@ endforeach;
<td></td>
<td></td>
<td
width=
"20px"
></td>
<td
width=
"20px"
></td>
<td
width=
"20px"
><span
class=
"glyphicon glyphicon-user text-danger"
></span></td>
<td
width=
"20px"
><span
class=
"glyphicon glyphicon-user text-danger"
></span></td>
<td
width=
"200px"
>
System Admininistrator
</td>
<td
width=
"200px"
>
<?=
gettext
(
'System Admininistrator'
)
?>
</td>
<td
width=
"20px"
><span
class=
"glyphicon glyphicon-user text-muted"
></span></td>
<td
width=
"20px"
><span
class=
"glyphicon glyphicon-user text-muted"
></span></td>
<td
width=
"200px"
>
Disabled User
</td>
<td
width=
"200px"
>
<?=
gettext
(
'Disabled User'
)
?>
</td>
<td
width=
"20px"
><span
class=
"glyphicon glyphicon-user text-info"
></span></td>
<td
width=
"20px"
><span
class=
"glyphicon glyphicon-user text-info"
></span></td>
<td
width=
"200px"
>
Normal User
</td>
<td
width=
"200px"
>
<?=
gettext
(
'Normal User'
)
?>
</td>
<td></td>
<td></td>
</tr>
</tr>
</table>
</table>
...
...
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