Commit d3ea7812 authored by Franco Fichtner's avatar Franco Fichtner

Merge pull request #931 from fabianfrz/translation

translation and some style
parents 06817d43 02910b50
...@@ -49,7 +49,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -49,7 +49,7 @@ POSSIBILITY OF SUCH DAMAGE.
updateVoucherGroupList(); updateVoucherGroupList();
} else { } else {
// A voucher server is needed before we can add vouchers, alert user // A voucher server is needed before we can add vouchers, alert user
BootstrapDialog.alert('{{ lang._('Please setup a voucher server first ') }} (<a href="/system_authservers.php">{{ lang._('goto auth servers') }}</a> )'); BootstrapDialog.alert('{{ lang._('Please setup a voucher server first (%sgoto auth servers%s)') | format('<a href="/system_authservers.php">','</a>') }}');
} }
} }
}); });
......
...@@ -194,11 +194,11 @@ include("head.inc"); ...@@ -194,11 +194,11 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr> <tr>
<td><a id="help_for_tag" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("VLAN tag ");?></td> <td><a id="help_for_tag" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("VLAN tag");?></td>
<td> <td>
<input name="tag" type="text" value="<?=$pconfig['tag'];?>" /> <input name="tag" type="text" value="<?=$pconfig['tag'];?>" />
<div class="hidden" for="help_for_tag"> <div class="hidden" for="help_for_tag">
<?=gettext("802.1Q VLAN tag (between 1 and 4094) ");?> <?=gettext("802.1Q VLAN tag (between 1 and 4094)");?>
</div> </div>
</td> </td>
</tr> </tr>
......
...@@ -282,9 +282,8 @@ $( document ).ready(function() { ...@@ -282,9 +282,8 @@ $( document ).ready(function() {
<strong><?=gettext("Query DNS servers sequentially");?></strong> <strong><?=gettext("Query DNS servers sequentially");?></strong>
<div class="hidden" for="help_for_strict_order"> <div class="hidden" for="help_for_strict_order">
<?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ". <?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ".
"query the DNS servers sequentially in the order specified (<i>System - General Setup - DNS Servers</i>), ". "query the DNS servers sequentially in the order specified (%sSystem - General Setup - DNS Servers%s), ".
"rather than all at once in parallel. ". "rather than all at once in parallel."), $g['product_name'],'<i>','</i>'); ?>
""), $g['product_name']); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -294,9 +293,8 @@ $( document ).ready(function() { ...@@ -294,9 +293,8 @@ $( document ).ready(function() {
<strong><?=gettext("Require domain");?></strong> <strong><?=gettext("Require domain");?></strong>
<div class="hidden" for="help_for_strict_order"> <div class="hidden" for="help_for_strict_order">
<?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ". <?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ".
"not forward A or AAAA queries for plain names, without dots or domain parts, to upstream name servers. ". "not forward A or AAAA queries for plain names, without dots or domain parts, to upstream name servers. ".
"If the name is not known from /etc/hosts or DHCP then a \"not found\" answer is returned. ". 'If the name is not known from /etc/hosts or DHCP then a "not found" answer is returned.'), $g['product_name']); ?>
""), $g['product_name']); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -306,10 +304,9 @@ $( document ).ready(function() { ...@@ -306,10 +304,9 @@ $( document ).ready(function() {
<strong><?=gettext("Do not forward private reverse lookups");?></strong> <strong><?=gettext("Do not forward private reverse lookups");?></strong>
<div class="hidden" for="help_for_strict_order"> <div class="hidden" for="help_for_strict_order">
<?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ". <?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ".
"not forward reverse DNS lookups (PTR) for private addresses (RFC 1918) to upstream name servers. ". "not forward reverse DNS lookups (PTR) for private addresses (RFC 1918) to upstream name servers. ".
"Any entries in the Domain Overrides section forwarding private \"n.n.n.in-addr.arpa\" names to a specific server are still forwarded. ". 'Any entries in the Domain Overrides section forwarding private "n.n.n.in-addr.arpa" names to a specific server are still forwarded. '.
"If the IP to name is not known from /etc/hosts, DHCP or a specific domain override then a \"not found\" answer is immediately returned. ". 'If the IP to name is not known from /etc/hosts, DHCP or a specific domain override then a "not found" answer is immediately returned.'), $g['product_name']); ?>
""), $g['product_name']); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -497,7 +494,7 @@ $( document ).ready(function() { ...@@ -497,7 +494,7 @@ $( document ).ready(function() {
<tfoot> <tfoot>
<tr> <tr>
<td colspan="4"> <td colspan="4">
<?=gettext("Entries in this area override an entire domain, and subdomains, by specifying an"." authoritative DNS server to be queried for that domain.");?> <?=gettext("Entries in this area override an entire domain, and subdomains, by specifying an authoritative DNS server to be queried for that domain.");?>
</td> </td>
</tr> </tr>
</tfoot> </tfoot>
......
This diff is collapsed.
...@@ -321,7 +321,7 @@ include("head.inc"); ...@@ -321,7 +321,7 @@ include("head.inc");
<input class="btn btn-default btn-xs" type="button" onclick="show_advanced('showstatisticsbox', 'showstatistics')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show statistics logging options");?> <input class="btn btn-default btn-xs" type="button" onclick="show_advanced('showstatisticsbox', 'showstatistics')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show statistics logging options");?>
</div> </div>
<div id="showstatistics" style="display:none"> <div id="showstatistics" style="display:none">
<strong><?=gettext("Warning: ")?></strong><?=gettext("these options will create persistant daily log files in /var/log/ntp."); ?> <?= gettext("These options will create persistent daily log files in /var/log/ntp.") ?>
<br /><br /> <br /><br />
<input name="clockstats" type="checkbox" id="clockstats"<?=!empty($pconfig['clockstats']) ? " checked=\"checked\"" : ""; ?> /> <input name="clockstats" type="checkbox" id="clockstats"<?=!empty($pconfig['clockstats']) ? " checked=\"checked\"" : ""; ?> />
<?=gettext("Enable logging of reference clock statistics (default: disabled)."); ?> <?=gettext("Enable logging of reference clock statistics (default: disabled)."); ?>
......
...@@ -168,7 +168,7 @@ include("head.inc"); ...@@ -168,7 +168,7 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr> <tr>
<td><a id="help_for_pollport" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Polling Port ");?></td> <td><a id="help_for_pollport" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Polling Port") ?></td>
<td> <td>
<input name="pollport" type="text" value="<?=$pconfig['pollport'];?>" /> <input name="pollport" type="text" value="<?=$pconfig['pollport'];?>" />
<div class="hidden" for="help_for_pollport"> <div class="hidden" for="help_for_pollport">
...@@ -228,7 +228,7 @@ include("head.inc"); ...@@ -228,7 +228,7 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr> <tr>
<td><a id="help_for_trapserverport" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Trap server port ");?></td> <td><a id="help_for_trapserverport" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Trap server port") ?></td>
<td> <td>
<input name="trapserverport" type="text" id="trapserverport" size="40" value="<?=htmlspecialchars($pconfig['trapserverport']) ? htmlspecialchars($pconfig['trapserverport']) : htmlspecialchars(162);?>" /> <input name="trapserverport" type="text" id="trapserverport" size="40" value="<?=htmlspecialchars($pconfig['trapserverport']) ? htmlspecialchars($pconfig['trapserverport']) : htmlspecialchars(162);?>" />
<div class="hidden" for="help_for_trapserverport"> <div class="hidden" for="help_for_trapserverport">
......
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