Commit de8ee164 authored by Franco Fichtner's avatar Franco Fichtner Committed by GitHub

Merge pull request #1061 from fabianfrz/translation

translation
parents f70e8f75 7cbab9f3
......@@ -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>
......
......@@ -210,8 +210,8 @@ legacy_html_escape_form_data($pconfig);
<div class="hidden" for="help_for_proto">
<ul>
<li><b><?=gettext("failover"); ?></b></li>
<?=gettext("Sends and receives traffic only through the master port. If " .
"the master port becomes unavailable, the next active port is " .
<?=gettext("Sends and receives traffic only through the master port. " .
"If the master port becomes unavailable, the next active port is " .
"used. The first interface added is the master port; any " .
"interfaces added after that are used as failover devices."); ?>
<li><b><?=gettext("fec"); ?></b><br /></li>
......@@ -237,14 +237,14 @@ legacy_html_escape_form_data($pconfig);
"does not negotiate aggregation with the peer or exchange " .
"frames to monitor the link. The hash includes the Ethernet " .
"source and destination address, and, if available, the VLAN " .
"tag, and the IP source and destination address") ?>.
"tag, and the IP source and destination address.") ?>
<li><b><?=gettext("roundrobin"); ?></b></li>
<?=gettext("Distributes outgoing traffic using a round-robin scheduler " .
"through all active ports and accepts incoming traffic from " .
"any active port"); ?>.
"any active port."); ?>
<li><b><?=gettext("none"); ?></b></li>
<?=gettext("This protocol is intended to do nothing: it disables any " .
"traffic without disabling the lagg interface itself"); ?>.
<?=gettext("This protocol is intended to do nothing: It disables any " .
"traffic without disabling the lagg interface itself."); ?>
</ul>
</div>
......@@ -255,8 +255,7 @@ legacy_html_escape_form_data($pconfig);
<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>
......
......@@ -547,8 +547,8 @@ include("head.inc");
</tbody>
</table>
<div class="hidden" for="help_for_prefixrange">
<?= gettext("You can define a Prefix range here for DHCP Prefix Delegation. This allows for
assigning networks to subrouters. The start and end of the range must end on boundaries of the prefix delegation size."); ?>
<?= gettext("You can define a Prefix range here for DHCP Prefix Delegation. This allows for assigning networks to subrouters. " .
"The start and end of the range must end on boundaries of the prefix delegation size."); ?>
</div>
</td>
</tr>
......@@ -558,7 +558,7 @@ include("head.inc");
<input name="dns1" type="text" id="dns1" value="<?=$pconfig['dns1'];?>" /><br />
<input name="dns2" type="text" id="dns2" value="<?=$pconfig['dns2'];?>" />
<div class="hidden" for="help_for_dns">
<?=gettext("NOTE: leave blank to use the system default DNS servers - this interface's IP if DNS forwarder is enabled, otherwise the servers configured on the General page.");?>
<?=gettext("Leave blank to use the system default DNS servers - this interface's IP if DNS forwarder is enabled, otherwise the servers configured on the General page.");?>
</div>
</td>
</tr>
......@@ -585,7 +585,7 @@ include("head.inc");
<td>
<input name="defaultleasetime" type="text" value="<?=$pconfig['defaultleasetime'];?>" />
<div class="hidden" for="help_for_defaultleasetime">
<?=gettext("This is used for clients that do not ask for a specific " ."expiration time."); ?><br />
<?=gettext("This is used for clients that do not ask for a specific expiration time."); ?><br />
<?=gettext("The default is 7200 seconds.");?>
</div>
</td>
......@@ -595,7 +595,7 @@ include("head.inc");
<td>
<input name="maxleasetime" type="text" id="maxleasetime" size="10" value="<?=$pconfig['maxleasetime'];?>" />
<div class="hidden" for="help_for_maxleasetime">
<?=gettext("This is the maximum lease time for clients that ask"." for a specific expiration time."); ?><br />
<?=gettext("This is the maximum lease time for clients that ask for a specific expiration time."); ?><br />
<?=gettext("The default is 86400 seconds.");?>
</div>
</td>
......@@ -608,7 +608,7 @@ include("head.inc");
<?=gettext("Change DHCPv6 display lease time from UTC to local time."); ?>
</strong>
<div class="hidden" for="help_for_dhcpv6leaseinlocaltime">
<strong><?=gettext("Note:");?></strong> <?=gettext("By default DHCPv6 leases are displayed in UTC time. By checking this box DHCPv6 lease time will be displayed in local time and set to time zone selected. This will be used for all DHCPv6 interfaces lease time."); ?>
<?=gettext("By default DHCPv6 leases are displayed in UTC time. By checking this box DHCPv6 lease time will be displayed in local time and set to time zone selected. This will be used for all DHCPv6 interfaces lease time."); ?>
</div>
</td>
</tr>
......@@ -664,7 +664,7 @@ include("head.inc");
<input type="button" onclick="show_netboot_config()" value="<?=gettext("Advanced");?>" class="btn btn-xs btn-default"/> - <?=gettext("Show Network booting");?>
</div>
<div id="shownetboot" style="display:none">
<input style="vertical-align:middle" type="checkbox" value="yes" name="netboot" id="netboot" <?=!empty($pconfig['netboot']) ? " checked=\"checked\"" : ""; ?> />
<input style="vertical-align:middle" type="checkbox" value="yes" name="netboot" id="netboot" <?=!empty($pconfig['netboot']) ? 'checked="checked"' : ""; ?> />
<b><?=gettext("Enables network booting.");?></b>
<br/>
<?=gettext("Enter the Bootfile URL");?>
......@@ -752,7 +752,7 @@ include("head.inc");
</tfoot>
</table>
<div class="hidden" for="help_for_numberoptions">
<?=gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this"); ?> <a href="http://www.iana.org/assignments/bootp-dhcp-parameters/" target="_blank"><?=gettext("URL"); ?></a>
<?= sprintf(gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this %sURL%s"),'<a href="http://www.iana.org/assignments/bootp-dhcp-parameters/" target="_blank">','</a>') ?>
</div>
</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