Commit 631de412 authored by Fabian Franz's avatar Fabian Franz

translation and some style

parent df53c506
......@@ -282,9 +282,8 @@ $( document ).ready(function() {
<strong><?=gettext("Query DNS servers sequentially");?></strong>
<div class="hidden" for="help_for_strict_order">
<?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>), ".
"rather than all at once in parallel. ".
""), $g['product_name']); ?>
"query the DNS servers sequentially in the order specified (%sSystem - General Setup - DNS Servers%s), ".
"rather than all at once in parallel."), $g['product_name'],'<i>','</i>'); ?>
</div>
</td>
</tr>
......@@ -294,9 +293,8 @@ $( document ).ready(function() {
<strong><?=gettext("Require domain");?></strong>
<div class="hidden" for="help_for_strict_order">
<?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. ".
"If the name is not known from /etc/hosts or DHCP then a \"not found\" answer is returned. ".
""), $g['product_name']); ?>
"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.'), $g['product_name']); ?>
</div>
</td>
</tr>
......@@ -306,10 +304,9 @@ $( document ).ready(function() {
<strong><?=gettext("Do not forward private reverse lookups");?></strong>
<div class="hidden" for="help_for_strict_order">
<?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. ".
"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. ".
""), $g['product_name']); ?>
"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. '.
'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']); ?>
</div>
</td>
</tr>
......@@ -497,7 +494,7 @@ $( document ).ready(function() {
<tfoot>
<tr>
<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>
</tr>
</tfoot>
......
This diff is collapsed.
......@@ -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");?>
</div>
<div id="showstatistics" style="display:none">
<strong><?=gettext("Warning: ")?></strong><?=gettext("these options will create persistant daily log files in /var/log/ntp."); ?>
<?= sprintf(gettext("%sWarning:%s these options will create persistant daily log files in /var/log/ntp."),'<strong>','</strong>') ?>
<br /><br />
<input name="clockstats" type="checkbox" id="clockstats"<?=!empty($pconfig['clockstats']) ? " checked=\"checked\"" : ""; ?> />
<?=gettext("Enable logging of reference clock statistics (default: disabled)."); ?>
......
......@@ -168,7 +168,7 @@ include("head.inc");
</td>
</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>
<input name="pollport" type="text" value="<?=$pconfig['pollport'];?>" />
<div class="hidden" for="help_for_pollport">
......@@ -228,7 +228,7 @@ include("head.inc");
</td>
</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>
<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">
......
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