Commit f80b48ca authored by Fabian Franz's avatar Fabian Franz

translation

parent a4956c0f
...@@ -737,7 +737,7 @@ function upgrade_040_to_041() { ...@@ -737,7 +737,7 @@ function upgrade_040_to_041() {
$config['sysctl']['item'][15]['value'] = "default"; $config['sysctl']['item'][15]['value'] = "default";
$config['sysctl']['item'][16]['tunable'] = "net.inet.tcp.inflight.enable"; $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'][16]['value'] = "default";
$config['sysctl']['item'][17]['tunable'] = "net.inet.icmp.icmplim"; $config['sysctl']['item'][17]['tunable'] = "net.inet.icmp.icmplim";
...@@ -749,15 +749,15 @@ function upgrade_040_to_041() { ...@@ -749,15 +749,15 @@ function upgrade_040_to_041() {
$config['sysctl']['item'][18]['value'] = "default"; $config['sysctl']['item'][18]['value'] = "default";
$config['sysctl']['item'][19]['tunable'] = "net.inet.ip.portrange.first"; $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'][19]['value'] = "default";
$config['sysctl']['item'][20]['tunable'] = "hw.syscons.kbd_reboot"; $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'][20]['value'] = "default";
$config['sysctl']['item'][21]['tunable'] = "kern.ipc.maxsockbuf"; $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"; $config['sysctl']['item'][21]['value'] = "default";
} }
......
...@@ -267,7 +267,7 @@ $main_buttons = array( ...@@ -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"> <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> <span class="glyphicon glyphicon-arrow-left"></span>
</a> </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> <span class="glyphicon glyphicon-pencil"></span>
</a> </a>
<a id="del_<?=$i;?>" title="<?=gettext("delete rule"); ?>" data-toggle="tooltip" class="act_delete btn btn-default btn-xs"> <a id="del_<?=$i;?>" title="<?=gettext("delete rule"); ?>" data-toggle="tooltip" class="act_delete btn btn-default btn-xs">
......
...@@ -246,11 +246,11 @@ include("head.inc"); ...@@ -246,11 +246,11 @@ include("head.inc");
</td> </td>
</tr> </tr>
<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> <td>
<input name="link0" type="checkbox" id="link0" <?=!empty($pconfig['link0']) ? "checked=\"checked\"" :"";?> /> <input name="link0" type="checkbox" id="link0" <?=!empty($pconfig['link0']) ? "checked=\"checked\"" :"";?> />
<div class="hidden" for="help_for_link0"> <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> </div>
</td> </td>
</tr> </tr>
...@@ -259,8 +259,7 @@ include("head.inc"); ...@@ -259,8 +259,7 @@ include("head.inc");
<td> <td>
<input name="link1" type="checkbox" id="link1" <?=!empty($pconfig['link1']) ? "checked=\"checked\"" : "";?> /> <input name="link1" type="checkbox" id="link1" <?=!empty($pconfig['link1']) ? "checked=\"checked\"" : "";?> />
<div class="hidden" for="help_for_link1"> <div class="hidden" for="help_for_link1">
<?=gettext("Note that the ECN friendly behavior violates RFC2893. This should be " . <?=gettext("Note that the ECN friendly behavior violates RFC2893. This should be used in mutual agreement with the peer."); ?>
"used in mutual agreement with the peer."); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -269,8 +268,7 @@ include("head.inc"); ...@@ -269,8 +268,7 @@ include("head.inc");
<td> <td>
<input name="descr" type="text" value="<?=$pconfig['descr'];?>" /> <input name="descr" type="text" value="<?=$pconfig['descr'];?>" />
<div class="hidden" for="help_for_descr"> <div class="hidden" for="help_for_descr">
<?=gettext("You may enter a description here " . <?=gettext("You may enter a description here for your reference (not parsed)."); ?>
"for your reference (not parsed)."); ?>
</div> </div>
</td> </td>
</tr> </tr>
......
...@@ -183,12 +183,12 @@ include("head.inc"); ...@@ -183,12 +183,12 @@ include("head.inc");
<td> <td>
<input name="remote-addr" type="text" value="<?=$pconfig['remote-addr'];?>" /> <input name="remote-addr" type="text" value="<?=$pconfig['remote-addr'];?>" />
<div class="hidden" for="help_for_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> </div>
</td> </td>
</tr> </tr>
<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> <td>
<input name="tunnel-local-addr" type="text" value="<?=$pconfig['tunnel-local-addr'];?>" /> <input name="tunnel-local-addr" type="text" value="<?=$pconfig['tunnel-local-addr'];?>" />
<div class="hidden" for="help_for_tunnel-local-addr"> <div class="hidden" for="help_for_tunnel-local-addr">
...@@ -197,7 +197,7 @@ include("head.inc"); ...@@ -197,7 +197,7 @@ include("head.inc");
</td> </td>
</tr> </tr>
<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> <td>
<table class="table table-condensed"> <table class="table table-condensed">
<tr> <tr>
...@@ -227,7 +227,7 @@ include("head.inc"); ...@@ -227,7 +227,7 @@ include("head.inc");
<td> <td>
<input name="link0" type="checkbox" id="link0" <?= !empty($pconfig['link0']) ? "checked=\"checked\"" : "";?> /> <input name="link0" type="checkbox" id="link0" <?= !empty($pconfig['link0']) ? "checked=\"checked\"" : "";?> />
<div class="hidden" for="help_for_link0"> <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> </div>
</td> </td>
</tr> </tr>
...@@ -236,10 +236,10 @@ include("head.inc"); ...@@ -236,10 +236,10 @@ include("head.inc");
<td> <td>
<input name="link1" type="checkbox" id="link1" <?= !empty($pconfig['link1']) ? "checked=\"checked\"" : "";?> /> <input name="link1" type="checkbox" id="link1" <?= !empty($pconfig['link1']) ? "checked=\"checked\"" : "";?> />
<div class="hidden" for="help_for_link1"> <div class="hidden" for="help_for_link1">
<?=gettext("For correct operation, the GRE device needs a route to the destination". <?=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". "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". "needs to be a route to the decapsulating host that does not run over the ".
" tunnel, as this would be a loop.");?> "tunnel, as this would be a loop.");?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -257,8 +257,7 @@ include("head.inc"); ...@@ -257,8 +257,7 @@ include("head.inc");
<td> <td>
<input name="descr" type="text" value="<?=$pconfig['descr'];?>" /> <input name="descr" type="text" value="<?=$pconfig['descr'];?>" />
<div class="hidden" for="help_for_descr"> <div class="hidden" for="help_for_descr">
<?=gettext("You may enter a description here " . <?=gettext("You may enter a description here for your reference (not parsed)."); ?>
"for your reference (not parsed)."); ?>
</div> </div>
</td> </td>
</tr> </tr>
......
...@@ -952,10 +952,10 @@ include("head.inc"); ...@@ -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");?> <input type="button" onclick="show_maccontrol_config()" class="btn btn-default btn-xs" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show MAC Address Control");?>
</div> </div>
<div id="showmaccontrol" style="display:none"> <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 <?= 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'];?>" /> <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 <?= 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 /> <input name="mac_deny" type="text" id="mac_deny" value="<?= $pconfig['mac_deny'] ?>" /><br />
</div> </div>
</td> </td>
</tr> </tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment