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() { ...@@ -255,7 +255,7 @@ $(document).ready(function() {
<select name="members[]" multiple="multiple" class="selectpicker" data-size="5" data-live-search="true"> <select name="members[]" multiple="multiple" class="selectpicker" data-size="5" data-live-search="true">
<?php <?php
foreach ($ifacelist as $ifn => $ifinfo):?> 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;?> <?=$ifinfo;?>
</option> </option>
<?php <?php
...@@ -298,7 +298,7 @@ $(document).ready(function() { ...@@ -298,7 +298,7 @@ $(document).ready(function() {
<tr> <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="22%"><a id="help_for_enablestp" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Enable");?></td>
<td width="78%"> <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"> <div class="hidden" for="help_for_enablestp">
<?=gettext("Enable spanning tree options for this bridge."); ?> <?=gettext("Enable spanning tree options for this bridge."); ?>
</div> </div>
...@@ -386,8 +386,8 @@ $(document).ready(function() { ...@@ -386,8 +386,8 @@ $(document).ready(function() {
<td> <td>
<input name="holdcnt" type="text" value="<?=$pconfig['holdcnt'];?>" /> <input name="holdcnt" type="text" value="<?=$pconfig['holdcnt'];?>" />
<div class="hidden" for="help_for_holdcnt"> <div class="hidden" for="help_for_holdcnt">
<?=gettext("Set the transmit hold count for Spanning Tree. This is the number" . <?=gettext("Set the transmit hold count for Spanning Tree. This is the number " .
" of packets transmitted before being rate limited. The " . "of packets transmitted before being rate limited. The " .
"default is 6. The minimum is 1 and the maximum is 10."); ?> "default is 6. The minimum is 1 and the maximum is 10."); ?>
</div> </div>
</td> </td>
...@@ -408,8 +408,8 @@ $(document).ready(function() { ...@@ -408,8 +408,8 @@ $(document).ready(function() {
endforeach;?> endforeach;?>
</table> </table>
<div class="hidden" for="help_for_intf_priority"> <div class="hidden" for="help_for_intf_priority">
<?=gettext("Set the Spanning Tree priority of interface to value. The " . <?=gettext("Set the Spanning Tree priority of interface to value. " .
"default is 128. The minimum is 0 and the maximum is 240. Increments of 16."); ?> "The default is 128. The minimum is 0 and the maximum is 240. Increments of 16."); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -538,7 +538,7 @@ $(document).ready(function() { ...@@ -538,7 +538,7 @@ $(document).ready(function() {
<select name="ptp[]" class="selectpicker" multiple="multiple" size="3" data-live-search="true"> <select name="ptp[]" class="selectpicker" multiple="multiple" size="3" data-live-search="true">
<?php <?php
foreach ($ifacelist as $ifn => $ifdescr):?> 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;?> <?=$ifdescr;?>
</option> </option>
<?php <?php
...@@ -557,7 +557,7 @@ $(document).ready(function() { ...@@ -557,7 +557,7 @@ $(document).ready(function() {
<select name="autoptp[]" class="selectpicker" multiple="multiple" size="3" data-live-search="true"> <select name="autoptp[]" class="selectpicker" multiple="multiple" size="3" data-live-search="true">
<?php <?php
foreach ($ifacelist as $ifn => $ifdescr):?> 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;?> <?=$ifdescr;?>
</option> </option>
<?php <?php
...@@ -585,9 +585,9 @@ $(document).ready(function() { ...@@ -585,9 +585,9 @@ $(document).ready(function() {
endforeach;?> endforeach;?>
</select> </select>
<div class="hidden" for="help_for_static"> <div class="hidden" for="help_for_static">
<?=gettext("Mark an interface as a \"sticky\" interface. Dynamically learned " . <?=gettext('Mark an interface as a "sticky" interface. Dynamically learned ' .
"address entries are treated as static once entered into the " . "address entries are treated as static once entered into the cache. " .
"cache. Sticky entries are never aged out of the cache or " . "Sticky entries are never aged out of the cache or " .
"replaced, even if the address is seen on a different interface."); ?> "replaced, even if the address is seen on a different interface."); ?>
</div> </div>
</td> </td>
...@@ -605,7 +605,7 @@ $(document).ready(function() { ...@@ -605,7 +605,7 @@ $(document).ready(function() {
endforeach;?> endforeach;?>
</select> </select>
<div class="hidden" for="help_for_private"> <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."); ?> "a private interface."); ?>
</div> </div>
</td> </td>
......
...@@ -210,8 +210,8 @@ legacy_html_escape_form_data($pconfig); ...@@ -210,8 +210,8 @@ legacy_html_escape_form_data($pconfig);
<div class="hidden" for="help_for_proto"> <div class="hidden" for="help_for_proto">
<ul> <ul>
<li><b><?=gettext("failover"); ?></b></li> <li><b><?=gettext("failover"); ?></b></li>
<?=gettext("Sends and receives traffic only through the master port. If " . <?=gettext("Sends and receives traffic only through the master port. " .
"the master port becomes unavailable, the next active port is " . "If the master port becomes unavailable, the next active port is " .
"used. The first interface added is the master port; any " . "used. The first interface added is the master port; any " .
"interfaces added after that are used as failover devices."); ?> "interfaces added after that are used as failover devices."); ?>
<li><b><?=gettext("fec"); ?></b><br /></li> <li><b><?=gettext("fec"); ?></b><br /></li>
...@@ -237,14 +237,14 @@ legacy_html_escape_form_data($pconfig); ...@@ -237,14 +237,14 @@ legacy_html_escape_form_data($pconfig);
"does not negotiate aggregation with the peer or exchange " . "does not negotiate aggregation with the peer or exchange " .
"frames to monitor the link. The hash includes the Ethernet " . "frames to monitor the link. The hash includes the Ethernet " .
"source and destination address, and, if available, the VLAN " . "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> <li><b><?=gettext("roundrobin"); ?></b></li>
<?=gettext("Distributes outgoing traffic using a round-robin scheduler " . <?=gettext("Distributes outgoing traffic using a round-robin scheduler " .
"through all active ports and accepts incoming traffic from " . "through all active ports and accepts incoming traffic from " .
"any active port"); ?>. "any active port."); ?>
<li><b><?=gettext("none"); ?></b></li> <li><b><?=gettext("none"); ?></b></li>
<?=gettext("This protocol is intended to do nothing: it disables any " . <?=gettext("This protocol is intended to do nothing: It disables any " .
"traffic without disabling the lagg interface itself"); ?>. "traffic without disabling the lagg interface itself."); ?>
</ul> </ul>
</div> </div>
...@@ -255,8 +255,7 @@ legacy_html_escape_form_data($pconfig); ...@@ -255,8 +255,7 @@ legacy_html_escape_form_data($pconfig);
<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>
......
...@@ -547,8 +547,8 @@ include("head.inc"); ...@@ -547,8 +547,8 @@ include("head.inc");
</tbody> </tbody>
</table> </table>
<div class="hidden" for="help_for_prefixrange"> <div class="hidden" for="help_for_prefixrange">
<?= gettext("You can define a Prefix range here for DHCP Prefix Delegation. This allows for <?= gettext("You can define a Prefix range here for DHCP Prefix Delegation. This allows for assigning networks to subrouters. " .
assigning networks to subrouters. The start and end of the range must end on boundaries of the prefix delegation size."); ?> "The start and end of the range must end on boundaries of the prefix delegation size."); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -558,7 +558,7 @@ include("head.inc"); ...@@ -558,7 +558,7 @@ include("head.inc");
<input name="dns1" type="text" id="dns1" value="<?=$pconfig['dns1'];?>" /><br /> <input name="dns1" type="text" id="dns1" value="<?=$pconfig['dns1'];?>" /><br />
<input name="dns2" type="text" id="dns2" value="<?=$pconfig['dns2'];?>" /> <input name="dns2" type="text" id="dns2" value="<?=$pconfig['dns2'];?>" />
<div class="hidden" for="help_for_dns"> <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> </div>
</td> </td>
</tr> </tr>
...@@ -585,7 +585,7 @@ include("head.inc"); ...@@ -585,7 +585,7 @@ include("head.inc");
<td> <td>
<input name="defaultleasetime" type="text" value="<?=$pconfig['defaultleasetime'];?>" /> <input name="defaultleasetime" type="text" value="<?=$pconfig['defaultleasetime'];?>" />
<div class="hidden" for="help_for_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.");?> <?=gettext("The default is 7200 seconds.");?>
</div> </div>
</td> </td>
...@@ -595,7 +595,7 @@ include("head.inc"); ...@@ -595,7 +595,7 @@ include("head.inc");
<td> <td>
<input name="maxleasetime" type="text" id="maxleasetime" size="10" value="<?=$pconfig['maxleasetime'];?>" /> <input name="maxleasetime" type="text" id="maxleasetime" size="10" value="<?=$pconfig['maxleasetime'];?>" />
<div class="hidden" for="help_for_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.");?> <?=gettext("The default is 86400 seconds.");?>
</div> </div>
</td> </td>
...@@ -608,7 +608,7 @@ include("head.inc"); ...@@ -608,7 +608,7 @@ include("head.inc");
<?=gettext("Change DHCPv6 display lease time from UTC to local time."); ?> <?=gettext("Change DHCPv6 display lease time from UTC to local time."); ?>
</strong> </strong>
<div class="hidden" for="help_for_dhcpv6leaseinlocaltime"> <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> </div>
</td> </td>
</tr> </tr>
...@@ -664,7 +664,7 @@ include("head.inc"); ...@@ -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");?> <input type="button" onclick="show_netboot_config()" value="<?=gettext("Advanced");?>" class="btn btn-xs btn-default"/> - <?=gettext("Show Network booting");?>
</div> </div>
<div id="shownetboot" style="display:none"> <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> <b><?=gettext("Enables network booting.");?></b>
<br/> <br/>
<?=gettext("Enter the Bootfile URL");?> <?=gettext("Enter the Bootfile URL");?>
...@@ -752,7 +752,7 @@ include("head.inc"); ...@@ -752,7 +752,7 @@ include("head.inc");
</tfoot> </tfoot>
</table> </table>
<div class="hidden" for="help_for_numberoptions"> <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>
</div> </div>
</td> </td>
......
...@@ -174,7 +174,7 @@ include("head.inc"); ...@@ -174,7 +174,7 @@ include("head.inc");
<thead> <thead>
<tr> <tr>
<td width="22%"> <td width="22%">
<strong><?=gettext("UPnP &amp; NAT-PMP Settings");?></strong> <strong><?=gettext("UPnP and NAT-PMP Settings");?></strong>
</td> </td>
<td width="78%" align="right"> <td width="78%" align="right">
<small><?=gettext("full help"); ?> </small> <small><?=gettext("full help"); ?> </small>
...@@ -283,7 +283,7 @@ include("head.inc"); ...@@ -283,7 +283,7 @@ include("head.inc");
<td> <td>
<input name="sysuptime" type="checkbox" value="yes" <?=!empty($pconfig['sysuptime']) ? "checked=\"checked\"" : ""; ?> /> <input name="sysuptime" type="checkbox" value="yes" <?=!empty($pconfig['sysuptime']) ? "checked=\"checked\"" : ""; ?> />
<div class="hidden" for="help_for_sysuptime"> <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> </div>
</td> </td>
</tr> </tr>
...@@ -292,7 +292,7 @@ include("head.inc"); ...@@ -292,7 +292,7 @@ include("head.inc");
<td> <td>
<input name="permdefault" type="checkbox" value="yes" <?=!empty($pconfig['permdefault']) ? "checked=\"checked\"" : ""; ?> /> <input name="permdefault" type="checkbox" value="yes" <?=!empty($pconfig['permdefault']) ? "checked=\"checked\"" : ""; ?> />
<div class="hidden" for="help_for_permdefault"> <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> </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