translation

This commit is contained in:
Fabian Franz 2016-07-10 17:53:41 +02:00
parent a4956c0ff8
commit f80b48caa0
5 changed files with 22 additions and 25 deletions

View File

@ -737,7 +737,7 @@ function upgrade_040_to_041() {
$config['sysctl']['item'][15]['value'] = "default";
$config['sysctl']['item'][16]['tunable'] = "net.inet.tcp.inflight.enable";
$config['sysctl']['item'][16]['descr'] = gettext("The system will attempt to calculate the bandwidth delay product for each connection and limit the amount of data queued to the network to just the amount required to maintain optimum throughput. ");
$config['sysctl']['item'][16]['descr'] = gettext("The system will attempt to calculate the bandwidth delay product for each connection and limit the amount of data queued to the network to just the amount required to maintain optimum throughput.");
$config['sysctl']['item'][16]['value'] = "default";
$config['sysctl']['item'][17]['tunable'] = "net.inet.icmp.icmplim";
@ -749,15 +749,15 @@ function upgrade_040_to_041() {
$config['sysctl']['item'][18]['value'] = "default";
$config['sysctl']['item'][19]['tunable'] = "net.inet.ip.portrange.first";
$config['sysctl']['item'][19]['descr'] = "Set the ephemeral port range starting port";
$config['sysctl']['item'][19]['descr'] = gettext("Set the ephemeral port range starting port");
$config['sysctl']['item'][19]['value'] = "default";
$config['sysctl']['item'][20]['tunable'] = "hw.syscons.kbd_reboot";
$config['sysctl']['item'][20]['descr'] = "Enables ctrl+alt+delete";
$config['sysctl']['item'][20]['descr'] = gettext("Enables ctrl+alt+delete");
$config['sysctl']['item'][20]['value'] = "default";
$config['sysctl']['item'][21]['tunable'] = "kern.ipc.maxsockbuf";
$config['sysctl']['item'][21]['descr'] = "Maximum socket buffer size";
$config['sysctl']['item'][21]['descr'] = gettext("Maximum socket buffer size");
$config['sysctl']['item'][21]['value'] = "default";
}

View File

@ -267,7 +267,7 @@ $main_buttons = array(
<a type="submit" id="move_<?=$i;?>" name="move_<?=$i;?>_x" data-toggle="tooltip" title="<?=gettext("move selected rules before this rule");?>" class="act_move btn btn-default btn-xs">
<span class="glyphicon glyphicon-arrow-left"></span>
</a>
<a href="firewall_nat_1to1_edit.php?id=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" title="<?=gettext("edit rule ");?>">
<a href="firewall_nat_1to1_edit.php?id=<?=$i;?>" class="btn btn-default btn-xs" data-toggle="tooltip" title="<?=gettext("edit rule");?>">
<span class="glyphicon glyphicon-pencil"></span>
</a>
<a id="del_<?=$i;?>" title="<?=gettext("delete rule"); ?>" data-toggle="tooltip" class="act_delete btn btn-default btn-xs">

View File

@ -246,11 +246,11 @@ include("head.inc");
</td>
</tr>
<tr>
<td><a id="help_for_link0" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Route caching "); ?></td>
<td><a id="help_for_link0" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Route caching"); ?></td>
<td>
<input name="link0" type="checkbox" id="link0" <?=!empty($pconfig['link0']) ? "checked=\"checked\"" :"";?> />
<div class="hidden" for="help_for_link0">
<?=gettext("Specify if route caching can be enabled. Be careful with these settings on dynamic networks. "); ?>
<?=gettext("Specify if route caching can be enabled. Be careful with these settings on dynamic networks."); ?>
</div>
</td>
</tr>
@ -259,8 +259,7 @@ include("head.inc");
<td>
<input name="link1" type="checkbox" id="link1" <?=!empty($pconfig['link1']) ? "checked=\"checked\"" : "";?> />
<div class="hidden" for="help_for_link1">
<?=gettext("Note that the ECN friendly behavior violates RFC2893. This should be " .
"used in mutual agreement with the peer."); ?>
<?=gettext("Note that the ECN friendly behavior violates RFC2893. This should be used in mutual agreement with the peer."); ?>
</div>
</td>
</tr>
@ -269,8 +268,7 @@ include("head.inc");
<td>
<input name="descr" type="text" value="<?=$pconfig['descr'];?>" />
<div class="hidden" for="help_for_descr">
<?=gettext("You may enter a description here " .
"for your reference (not parsed)."); ?>
<?=gettext("You may enter a description here for your reference (not parsed)."); ?>
</div>
</td>
</tr>

View File

@ -183,12 +183,12 @@ include("head.inc");
<td>
<input name="remote-addr" type="text" value="<?=$pconfig['remote-addr'];?>" />
<div class="hidden" for="help_for_remote-addr">
<?=gettext("Peer address where encapsulated GRE packets will be sent ");?>
<?=gettext("Peer address where encapsulated GRE packets will be sent");?>
</div>
</td>
</tr>
<tr>
<td><a id="help_for_tunnel-local-addr" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("GRE tunnel local address ");?></td>
<td><a id="help_for_tunnel-local-addr" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("GRE tunnel local address");?></td>
<td>
<input name="tunnel-local-addr" type="text" value="<?=$pconfig['tunnel-local-addr'];?>" />
<div class="hidden" for="help_for_tunnel-local-addr">
@ -197,7 +197,7 @@ include("head.inc");
</td>
</tr>
<tr>
<td><a id="help_for_tunnel-remote-addr" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("GRE tunnel remote address ");?></td>
<td><a id="help_for_tunnel-remote-addr" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("GRE tunnel remote address");?></td>
<td>
<table class="table table-condensed">
<tr>
@ -227,7 +227,7 @@ include("head.inc");
<td>
<input name="link0" type="checkbox" id="link0" <?= !empty($pconfig['link0']) ? "checked=\"checked\"" : "";?> />
<div class="hidden" for="help_for_link0">
<?=gettext("Specify which encapsulation method the tunnel should use. ");?>
<?=gettext("Specify which encapsulation method the tunnel should use.");?>
</div>
</td>
</tr>
@ -236,10 +236,10 @@ include("head.inc");
<td>
<input name="link1" type="checkbox" id="link1" <?= !empty($pconfig['link1']) ? "checked=\"checked\"" : "";?> />
<div class="hidden" for="help_for_link1">
<?=gettext("For correct operation, the GRE device needs a route to the destination".
" that is less specific than the one over the tunnel. (Basically, there".
" needs to be a route to the decapsulating host that does not run over the".
" tunnel, as this would be a loop.");?>
<?=gettext("For correct operation, the GRE device needs a route to the destination ".
"that is less specific than the one over the tunnel. (Basically, there ".
"needs to be a route to the decapsulating host that does not run over the ".
"tunnel, as this would be a loop.");?>
</div>
</td>
</tr>
@ -257,8 +257,7 @@ include("head.inc");
<td>
<input name="descr" type="text" value="<?=$pconfig['descr'];?>" />
<div class="hidden" for="help_for_descr">
<?=gettext("You may enter a description here " .
"for your reference (not parsed)."); ?>
<?=gettext("You may enter a description here for your reference (not parsed)."); ?>
</div>
</td>
</tr>

View File

@ -952,10 +952,10 @@ include("head.inc");
<input type="button" onclick="show_maccontrol_config()" class="btn btn-default btn-xs" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show MAC Address Control");?>
</div>
<div id="showmaccontrol" style="display:none">
<?=gettext("Enter a list of partial MAC addresses to allow, comma separated, no spaces, such as ");?>00:00:00,01:E5:FF
<input name="mac_allow" type="text" id="mac_allow" value="<?=$pconfig['mac_allow'];?>" />
<?=gettext("Enter a list of partial MAC addresses to deny access, comma separated, no spaces, such as ");?>00:00:00,01:E5:FF
<input name="mac_deny" type="text" id="mac_deny" value="<?=$pconfig['mac_deny'];?>" /><br />
<?= sprintf(gettext("Enter a list of partial MAC addresses to allow, comma separated, no spaces, such as %s"), '00:00:00,01:E5:FF') ?>
<input name="mac_allow" type="text" id="mac_allow" value="<?= $pconfig['mac_allow'] ?>" />
<?= sprintf(gettext("Enter a list of partial MAC addresses to deny access, comma separated, no spaces, such as %s"), '00:00:00,01:E5:FF') ?>
<input name="mac_deny" type="text" id="mac_deny" value="<?= $pconfig['mac_deny'] ?>" /><br />
</div>
</td>
</tr>