Commit 07b0b347 authored by Fabian Franz's avatar Fabian Franz

translation

parent dfd53322
......@@ -255,7 +255,7 @@ $(document).ready(function() {
<select name="members[]" multiple="multiple" class="selectpicker" data-size="5" data-live-search="true">
<?php
foreach ($ifacelist as $ifn => $ifinfo):?>
<option value="<?=$ifn;?>" <?=!empty($pconfig['members']) && in_array($ifn, $pconfig['members']) ? "selected=\"selected\"" : "";?>>
<option value="<?=$ifn;?>" <?=!empty($pconfig['members']) && in_array($ifn, $pconfig['members']) ? 'selected="selected"' : "";?>>
<?=$ifinfo;?>
</option>
<?php
......@@ -298,7 +298,7 @@ $(document).ready(function() {
<tr>
<td width="22%"><a id="help_for_enablestp" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Enable");?></td>
<td width="78%">
<input type="checkbox" name="enablestp" <?= !empty($pconfig['enablestp']) ? "checked=\"checked\"" : "";?> />
<input type="checkbox" name="enablestp" <?= !empty($pconfig['enablestp']) ? 'checked="checked"' : "";?> />
<div class="hidden" for="help_for_enablestp">
<?=gettext("Enable spanning tree options for this bridge."); ?>
</div>
......@@ -386,8 +386,8 @@ $(document).ready(function() {
<td>
<input name="holdcnt" type="text" value="<?=$pconfig['holdcnt'];?>" />
<div class="hidden" for="help_for_holdcnt">
<?=gettext("Set the transmit hold count for Spanning Tree. This is the number" .
" of packets transmitted before being rate limited. The " .
<?=gettext("Set the transmit hold count for Spanning Tree. This is the number " .
"of packets transmitted before being rate limited. The " .
"default is 6. The minimum is 1 and the maximum is 10."); ?>
</div>
</td>
......@@ -408,8 +408,8 @@ $(document).ready(function() {
endforeach;?>
</table>
<div class="hidden" for="help_for_intf_priority">
<?=gettext("Set the Spanning Tree priority of interface to value. The " .
"default is 128. The minimum is 0 and the maximum is 240. Increments of 16."); ?>
<?=gettext("Set the Spanning Tree priority of interface to value. " .
"The default is 128. The minimum is 0 and the maximum is 240. Increments of 16."); ?>
</div>
</td>
</tr>
......@@ -538,7 +538,7 @@ $(document).ready(function() {
<select name="ptp[]" class="selectpicker" multiple="multiple" size="3" data-live-search="true">
<?php
foreach ($ifacelist as $ifn => $ifdescr):?>
<option value="<?=$ifn;?>" <?=!empty($pconfig['ptp']) && in_array($ifn, $pconfig['ptp']) ? "selected=\"selected\"" : "";?>>
<option value="<?=$ifn;?>" <?=!empty($pconfig['ptp']) && in_array($ifn, $pconfig['ptp']) ? 'selected="selected"' : "";?>>
<?=$ifdescr;?>
</option>
<?php
......@@ -557,7 +557,7 @@ $(document).ready(function() {
<select name="autoptp[]" class="selectpicker" multiple="multiple" size="3" data-live-search="true">
<?php
foreach ($ifacelist as $ifn => $ifdescr):?>
<option value="<?=$ifn;?>" <?=!empty($pconfig['autoptp']) && in_array($ifn, $pconfig['autoptp']) ? "selected=\"selected\"" : "";?>>
<option value="<?=$ifn;?>" <?=!empty($pconfig['autoptp']) && in_array($ifn, $pconfig['autoptp']) ? 'selected="selected"' : "";?>>
<?=$ifdescr;?>
</option>
<?php
......@@ -585,9 +585,9 @@ $(document).ready(function() {
endforeach;?>
</select>
<div class="hidden" for="help_for_static">
<?=gettext("Mark an interface as a \"sticky\" interface. Dynamically learned " .
"address entries are treated as static once entered into the " .
"cache. Sticky entries are never aged out of the cache or " .
<?=gettext('Mark an interface as a "sticky" interface. Dynamically learned ' .
"address entries are treated as static once entered into the cache. " .
"Sticky entries are never aged out of the cache or " .
"replaced, even if the address is seen on a different interface."); ?>
</div>
</td>
......@@ -605,7 +605,7 @@ $(document).ready(function() {
endforeach;?>
</select>
<div class="hidden" for="help_for_private">
<?=gettext("Mark an interface as a \"private\" interface. A private interface does not forward any traffic to any other port that is also " .
<?=gettext('Mark an interface as a "private" interface. A private interface does not forward any traffic to any other port that is also ' .
"a private interface."); ?>
</div>
</td>
......
......@@ -174,7 +174,7 @@ include("head.inc");
<thead>
<tr>
<td width="22%">
<strong><?=gettext("UPnP &amp; NAT-PMP Settings");?></strong>
<strong><?=gettext("UPnP and NAT-PMP Settings");?></strong>
</td>
<td width="78%" align="right">
<small><?=gettext("full help"); ?> </small>
......@@ -283,7 +283,7 @@ include("head.inc");
<td>
<input name="sysuptime" type="checkbox" value="yes" <?=!empty($pconfig['sysuptime']) ? "checked=\"checked\"" : ""; ?> />
<div class="hidden" for="help_for_sysuptime">
<?=gettext("Use system uptime instead of UPnP &amp; NAT-PMP service uptime?");?>
<?=gettext("Use system uptime instead of UPnP and NAT-PMP service uptime?");?>
</div>
</td>
</tr>
......@@ -292,7 +292,7 @@ include("head.inc");
<td>
<input name="permdefault" type="checkbox" value="yes" <?=!empty($pconfig['permdefault']) ? "checked=\"checked\"" : ""; ?> />
<div class="hidden" for="help_for_permdefault">
<?=gettext("By default deny access to UPnP &amp; NAT-PMP?");?>
<?=gettext("By default deny access to UPnP and NAT-PMP?");?>
</div>
</td>
</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