Commit 83554e53 authored by Frédéric LIETART (TheLinuxFr)'s avatar Frédéric LIETART (TheLinuxFr) Committed by Franco Fichtner

src: missing translations for #427 closes #466

parent 605fb08c
......@@ -232,7 +232,7 @@ include("head.inc");
<td colspan="2" valign="top" class="listtopic"><?=gettext("NTP Server Configuration"); ?></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Interface(s)</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Interface(s)') ?></td>
<td width="78%" class="vtable">
<?php
$interfaces = get_configured_interface_with_descr();
......@@ -263,7 +263,7 @@ include("head.inc");
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Time servers</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Time servers') ?></td>
<td width="78%" class="vtable">
<?php
$timeservers = explode( ' ', $config['system']['timeservers']);
......@@ -301,21 +301,21 @@ include("head.inc");
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Orphan mode</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Orphan mode') ?></td>
<td width="78%" class="vtable">
<input name="ntporphan" type="text" class="formfld unknown" id="ntporphan" min="1" max="16" size="20" value="<?=htmlspecialchars(isset($pconfig['orphan']) ? $pconfig['orphan']:"");?>" /><?php echo gettext("(0-15)");?><br />
<?php echo gettext("Orphan mode allows the system clock to be used when no other clocks are available. The number here specifies the stratum reported during orphan mode and should normally be set to a number high enough to insure that any other servers available to clients are preferred over this server. (default: 12)."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">NTP graphs</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('NTP graphs') ?></td>
<td width="78%" class="vtable">
<input name="statsgraph" type="checkbox" class="formcheckbox" id="statsgraph" <?php if(!empty($pconfig['statsgraph'])) echo " checked=\"checked\""; ?> />
<?php echo gettext("Enable rrd graphs of NTP statistics (default: disabled)."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Syslog logging</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Syslog logging') ?></td>
<td width="78%" class="vtable">
<?php echo gettext("These options enable additional messages from NTP to be written to the System Log");?> (<a href="diag_logs_ntpd.php"><?php echo gettext("Status > System Logs > NTP"); ?></a>).
<br /><br />
......@@ -327,7 +327,7 @@ include("head.inc");
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Statistics logging</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Statistics logging') ?></td>
<td width="78%" class="vtable">
<div id="showstatisticsbox">
<input class="btn btn-default btn-xs" type="button" onclick="show_advanced('showstatisticsbox', 'showstatistics')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show statistics logging options");?>
......@@ -347,7 +347,7 @@ include("head.inc");
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Access restrictions</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Access restrictions') ?></td>
<td width="78%" class="vtable">
<div id="showrestrictbox">
<input type="button" class="btn btn-default btn-xs" onclick="show_advanced('showrestrictbox', 'showrestrict')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show access restriction options");?>
......@@ -376,7 +376,7 @@ include("head.inc");
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Leap seconds</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Leap seconds') ?></td>
<td width="78%" class="vtable">
<div id="showleapsecbox">
<input type="button" class="btn btn-default btn-xs" onclick="show_advanced('showleapsecbox', 'showleapsec')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show Leap second configuration");?>
......
......@@ -370,7 +370,7 @@ SureGPS = #Sure Electronics SKG16B
<tr>
<td width="22%" valign="top" class="vncellreq">
</td>
<td width="78%" class="vtable">A GPS connected via a serial port may be used as a reference clock for NTP. If the GPS also supports PPS and is properly configured, and connected, that GPS may also be used as a Pulse Per Second clock reference. NOTE: a USB GPS may work, but is not recommended due to USB bus timing issues.
<td width="78%" class="vtable"><?=gettext('A GPS connected via a serial port may be used as a reference clock for NTP. If the GPS also supports PPS and is properly configured, and connected, that GPS may also be used as a Pulse Per Second clock reference. NOTE: a USB GPS may work, but is not recommended due to USB bus timing issues.') ?>
<br />
<br /><?php echo gettext("For the best results, NTP should have at least three sources of time. So it is best to configure at least 2 servers under"); ?> <a href="services_ntpd.php"><?php echo gettext("Services > NTP"); ?></a> <?php echo gettext("to minimize clock drift if the GPS data is not valid over time. Otherwise ntpd may only use values from the unsynchronized local clock when providing time to clients."); ?>
</td>
......@@ -380,14 +380,14 @@ SureGPS = #Sure Electronics SKG16B
<td width="78%" valign="top" class="vtable">
<!-- Start with the original "Default", list a "Generic" and then specific configs alphabetically -->
<select id="gpstype" name="gpstype" class="formselect" onchange="set_gps_default(this.form)">
<option value="Custom"<?php if($pconfig['type'] == 'Custom') echo " selected=\"selected\""; ?>>Custom</option>
<option value="Default"<?php if($pconfig['type'] == 'Default') echo " selected=\"selected\""; ?>>Default</option>
<option value="Generic" title="Generic"<?php if($pconfig['type'] == 'Generic' ) echo " selected=\"selected\"";?>>Generic</option>
<option value="Garmin" title="$PGRM... Most Garmin"<?php if($pconfig['type'] == 'Garmin') echo " selected=\"selected\"";?>>Garmin</option>
<option value="Custom"<?php if($pconfig['type'] == 'Custom') echo " selected=\"selected\""; ?>><?=gettext('Custom') ?></option>
<option value="Default"<?php if($pconfig['type'] == 'Default') echo " selected=\"selected\""; ?>><?=gettext('Default') ?></option>
<option value="Generic" title="Generic"<?php if($pconfig['type'] == 'Generic' ) echo " selected=\"selected\"";?>><?=gettext('Generic') ?></option>
<option value="Garmin" title="$PGRM... Most Garmin"<?php if($pconfig['type'] == 'Garmin') echo " selected=\"selected\"";?>><?=gettext('Garmin') ?></option>
<option value="MediaTek" title="$PMTK... Adafruit, Fastrax, some Garmin and others"<?php if($pconfig['type'] == 'MediaTek') echo " selected=\"selected\"";?>>MediaTek</option>
<option value="SiRF" title="$PSRF... Used by many devices"<?php if($pconfig['type'] == 'sirf') echo " selected=\"selected\"";?>>SiRF</option>
<option value="U-Blox" title="$PUBX... U-Blox 5, 6 and probably 7"<?php if($pconfig['type'] == 'U-Blox') echo " selected=\"selected\"";?>>U-Blox</option>
<option value="SureGPS" title="$PMTK... Sure Electronics SKG16B"<?php if($pconfig['type'] == 'SureGPS') echo " selected=\"selected\"";?>>SureGPS</option>
<option value="SiRF" title="$PSRF... Used by many devices"<?php if($pconfig['type'] == 'sirf') echo " selected=\"selected\"";?>><?=gettext('SiRF') ?></option>
<option value="U-Blox" title="$PUBX... U-Blox 5, 6 and probably 7"<?php if($pconfig['type'] == 'U-Blox') echo " selected=\"selected\"";?>><?=gettext('U-Blox') ?></option>
<option value="SureGPS" title="$PMTK... Sure Electronics SKG16B"<?php if($pconfig['type'] == 'SureGPS') echo " selected=\"selected\"";?>><?=gettext('SureGPS') ?></option>
</select> <?php echo gettext("This option allows you to select a predefined configuration.");?>
<br />
<br />
......@@ -402,7 +402,7 @@ SureGPS = #Sure Electronics SKG16B
if (!empty($serialports)):
?>
<tr>
<td width="22%" valign="top" class="vncellreq">Serial port</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Serial port') ?></td>
<td width="78%" class="vtable">
<select name="gpsport" class="formselect">
<option value="">none</option>
......@@ -436,7 +436,7 @@ SureGPS = #Sure Electronics SKG16B
?>
<tr>
<!-- 1 = RMC, 2 = GGA, 4 = GLL, 8 = ZDA or ZDG -->
<td width="22%" valign="top" class="vncellreq">NMEA sentences</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('NMEA sentences') ?></td>
<td width="78%" class="vtable">
<select id="gpsnmea" name="gpsnmea[]" multiple="multiple" class="formselect" size="5">
<option value="0"<?php if(empty($pconfig['nmea'])) echo " selected=\"selected\""; ?>>All</option>
......@@ -449,25 +449,25 @@ SureGPS = #Sure Electronics SKG16B
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Fudge time 1</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Fudge time 1') ?></td>
<td width="78%" class="vtable">
<input name="gpsfudge1" type="text" class="formfld unknown" id="gpsfudge1" min="-1" max="1" size="20" value="<?=htmlspecialchars(isset($pconfig['fudge1'])?$pconfig['fudge1']:"");?>" />(<?php echo gettext("seconds");?>)<br />
<?php echo gettext("Fudge time 1 is used to specify the GPS PPS signal offset");?> (<?php echo gettext("default");?>: 0.0).</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Fudge time 2</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Fudge time 2') ?></td>
<td width="78%" class="vtable">
<input name="gpsfudge2" type="text" class="formfld unknown" id="gpsfudge2" min="-1" max="1" size="20" value="<?=htmlspecialchars(isset($pconfig['fudge2'])?$pconfig['fudge2']:"");?>" />(<?php echo gettext("seconds");?>)<br />
<?php echo gettext("Fudge time 2 is used to specify the GPS time offset");?> (<?php echo gettext("default");?>: 0.0).</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Stratum</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Stratum') ?></td>
<td width="78%" class="vtable">
<input name="gpsstratum" type="text" class="formfld unknown" id="gpsstratum" max="16" size="20" value="<?=htmlspecialchars(isset($pconfig['stratum'])?$pconfig['stratum']:"");?>" /><?php echo gettext("(0-16)");?><br />
<?php echo gettext("This may be used to change the GPS Clock stratum");?> (<?php echo gettext("default");?>: 0). <?php echo gettext("This may be useful if, for some reason, you want ntpd to prefer a different clock"); ?></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Flags</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Flags') ?></td>
<td width="78%" class="vtable">
<table>
<tr>
......@@ -537,13 +537,13 @@ SureGPS = #Sure Electronics SKG16B
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Clock ID</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Clock ID') ?></td>
<td width="78%" class="vtable">
<input name="gpsrefid" type="text" class="formfld unknown" id="gpsrefid" maxlength= "4" size="20" value="<?=htmlspecialchars(isset($pconfig['refid'])?$pconfig['refid']:"");?>" /><?php echo gettext("(1 to 4 charactors)");?><br />
<?php echo gettext("This may be used to change the GPS Clock ID");?> (<?php echo gettext("default");?>: GPS).</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">GPS Initialization</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('GPS Initialization') ?></td>
<td width="78%" class="vtable">
<div id="showgpsinitbox">
<input type="button" onclick="show_advanced('showgpsinitbox', 'showgpsinit')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show GPS Initialization commands");?>
......
......@@ -129,7 +129,7 @@ include("head.inc");
<?php $serialports = glob("/dev/cua?[0-9]{,.[0-9]}", GLOB_BRACE); ?>
<?php if (!empty($serialports)): ?>
<tr>
<td width="22%" valign="top" class="vncellreq">Serial port</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Serial port') ?></td>
<td width="78%" class="vtable">
<select name="ppsport" class="formselect">
<option value="">none</option>
......@@ -144,19 +144,19 @@ include("head.inc");
</tr>
<?php endif; ?>
<tr>
<td width="22%" valign="top" class="vncellreq">Fudge time</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Fudge time') ?></td>
<td width="78%" class="vtable">
<input name="ppsfudge1" type="text" class="formfld unknown" id="ppsfudge1" min="-1" max="1" size="20" value="<?=htmlspecialchars(isset($pconfig['fudge1'])?$pconfig['fudge1']:"");?>" />(<?php echo gettext("seconds");?>)<br />
<?php echo gettext("Fudge time is used to specify the PPS signal offset from the actual second such as the transmission delay between the transmitter and the receiver.");?> (<?php echo gettext("default");?>: 0.0).</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Stratum</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Stratum') ?></td>
<td width="78%" class="vtable">
<input name="ppsstratum" type="text" class="formfld unknown" id="ppsstratum" max="16" size="20" value="<?=htmlspecialchars(isset($pconfig['stratum'])?$pconfig['stratum']:"");?>" /><?php echo gettext("(0-16)");?><br />
<?php echo gettext("This may be used to change the PPS Clock stratum");?> (<?php echo gettext("default");?>: 0). <?php echo gettext("This may be useful if, for some reason, you want ntpd to prefer a different clock and just monitor this source."); ?></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Flags</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Flags') ?></td>
<td width="78%" class="vtable">
<table summary="flags">
<tr>
......@@ -194,7 +194,7 @@ include("head.inc");
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Clock ID</td>
<td width="22%" valign="top" class="vncellreq"><?=gettext('Clock ID') ?></td>
<td width="78%" class="vtable">
<input name="ppsrefid" type="text" class="formfld unknown" id="ppsrefid" maxlength= "4" size="20" value="<?php htmlspecialchars(isset($pconfig['refid'])?$pconfig['refid']:"");?>" /><?php echo gettext("(1 to 4 charactors)");?><br />
<?php echo gettext("This may be used to change the PPS Clock ID");?> (<?php echo gettext("default");?>: PPS).</td>
......
......@@ -337,11 +337,11 @@ include_once("head.inc");
<td width="78%" class="vtable">
<p>
<select id="infra_host_ttl" name="infra_host_ttl" class="selectpicker">
<option value="60" <?php if ($pconfig['infra_host_ttl'] == "60") echo "selected=\"selected\""; ?>>1 minute</option>
<option value="120" <?php if ($pconfig['infra_host_ttl'] == "120") echo "selected=\"selected\""; ?>>2 minutes</option>
<option value="300" <?php if ($pconfig['infra_host_ttl'] == "300") echo "selected=\"selected\""; ?>>5 minutes</option>
<option value="600" <?php if ($pconfig['infra_host_ttl'] == "600") echo "selected=\"selected\""; ?>>10 minutes</option>
<option value="900" <?php if ($pconfig['infra_host_ttl'] == "900") echo "selected=\"selected\""; ?>>15 minutes</option>
<option value="60" <?php if ($pconfig['infra_host_ttl'] == "60") echo "selected=\"selected\""; ?>><?=gettext('1 minute') ?></option>
<option value="120" <?php if ($pconfig['infra_host_ttl'] == "120") echo "selected=\"selected\""; ?>><?=gettext('2 minutes') ?></option>
<option value="300" <?php if ($pconfig['infra_host_ttl'] == "300") echo "selected=\"selected\""; ?>><?=gettext('5 minutes') ?></option>
<option value="600" <?php if ($pconfig['infra_host_ttl'] == "600") echo "selected=\"selected\""; ?>><?=gettext('10 minutes') ?></option>
<option value="900" <?php if ($pconfig['infra_host_ttl'] == "900") echo "selected=\"selected\""; ?>><?=gettext('15 minutes') ?></option>
</select><br />
<?=gettext("Time to live for entries in the host cache. The host cache contains roundtrip timing and EDNS support information. The default is 15 minutes.");?>
</p>
......@@ -352,11 +352,11 @@ include_once("head.inc");
<td width="78%" class="vtable">
<p>
<select id="infra_lame_ttl" name="infra_lame_ttl" class="selectpicker">
<option value="60" <?php if ($pconfig['infra_lame_ttl'] == "60") echo "selected=\"selected\""; ?>>1 minute</option>
<option value="120" <?php if ($pconfig['infra_lame_ttl'] == "120") echo "selected=\"selected\""; ?>>2 minutes</option>
<option value="300" <?php if ($pconfig['infra_lame_ttl'] == "300") echo "selected=\"selected\""; ?>>5 minutes</option>
<option value="600" <?php if ($pconfig['infra_lame_ttl'] == "600") echo "selected=\"selected\""; ?>>10 minutes</option>
<option value="900" <?php if ($pconfig['infra_lame_ttl'] == "900") echo "selected=\"selected\""; ?>>15 minutes</option>
<option value="60" <?php if ($pconfig['infra_lame_ttl'] == "60") echo "selected=\"selected\""; ?>><?=gettext('1 minute') ?></option>
<option value="120" <?php if ($pconfig['infra_lame_ttl'] == "120") echo "selected=\"selected\""; ?>><?=gettext('2 minutes') ?></option>
<option value="300" <?php if ($pconfig['infra_lame_ttl'] == "300") echo "selected=\"selected\""; ?>><?=gettext('5 minutes') ?></option>
<option value="600" <?php if ($pconfig['infra_lame_ttl'] == "600") echo "selected=\"selected\""; ?>><?=gettext('10 minutes') ?></option>
<option value="900" <?php if ($pconfig['infra_lame_ttl'] == "900") echo "selected=\"selected\""; ?>><?=gettext('15 minutes') ?></option>
</select><br />
<?=gettext("Time to live for when a delegation is considered to be lame. The default is 15 minutes.");?>
</p>
......@@ -367,11 +367,11 @@ include_once("head.inc");
<td width="78%" class="vtable">
<p>
<select id="infra_cache_numhosts" name="infra_cache_numhosts" class="selectpicker">
<option value="1000" <?php if ($pconfig['infra_cache_numhosts'] == "1000") echo "selected=\"selected\""; ?>>1000</option>
<option value="5000" <?php if ($pconfig['infra_cache_numhosts'] == "5000") echo "selected=\"selected\""; ?>>5000</option>
<option value="10000" <?php if ($pconfig['infra_cache_numhosts'] == "10000") echo "selected=\"selected\""; ?>>10 000</option>
<option value="20000" <?php if ($pconfig['infra_cache_numhosts'] == "20000") echo "selected=\"selected\""; ?>>20 000</option>
<option value="50000" <?php if ($pconfig['infra_cache_numhosts'] == "50000") echo "selected=\"selected\""; ?>>50 000</option>
<option value="1000" <?php if ($pconfig['infra_cache_numhosts'] == "1000") echo "selected=\"selected\""; ?>><?=gettext('1000') ?></option>
<option value="5000" <?php if ($pconfig['infra_cache_numhosts'] == "5000") echo "selected=\"selected\""; ?>><?=gettext('5000') ?></option>
<option value="10000" <?php if ($pconfig['infra_cache_numhosts'] == "10000") echo "selected=\"selected\""; ?>><?=gettext('10 000') ?></option>
<option value="20000" <?php if ($pconfig['infra_cache_numhosts'] == "20000") echo "selected=\"selected\""; ?>><?=gettext('20 000') ?></option>
<option value="50000" <?php if ($pconfig['infra_cache_numhosts'] == "50000") echo "selected=\"selected\""; ?>><?=gettext('50 000') ?></option>
</select><br />
<?=gettext("Number of hosts for which information is cached. The default is 10,000.");?>
</p>
......@@ -382,12 +382,12 @@ include_once("head.inc");
<td width="78%" class="vtable">
<p>
<select id="unwanted_reply_threshold" name="unwanted_reply_threshold" class="selectpicker">
<option value="disabled" <?php if ($pconfig['unwanted_reply_threshold'] == "disabled") echo "selected=\"selected\""; ?>>disabled</option>
<option value="5000000" <?php if ($pconfig['unwanted_reply_threshold'] == "5000000") echo "selected=\"selected\""; ?>>5 million</option>
<option value="10000000" <?php if ($pconfig['unwanted_reply_threshold'] == "10000000") echo "selected=\"selected\""; ?>>10 million</option>
<option value="20000000" <?php if ($pconfig['unwanted_reply_threshold'] == "20000000") echo "selected=\"selected\""; ?>>20 million</option>
<option value="40000000" <?php if ($pconfig['unwanted_reply_threshold'] == "40000000") echo "selected=\"selected\""; ?>>40 million</option>
<option value="50000000" <?php if ($pconfig['unwanted_reply_threshold'] == "50000000") echo "selected=\"selected\""; ?>>50 million</option>
<option value="disabled" <?php if ($pconfig['unwanted_reply_threshold'] == "disabled") echo "selected=\"selected\""; ?>><?=gettext('disabled') ?></option>
<option value="5000000" <?php if ($pconfig['unwanted_reply_threshold'] == "5000000") echo "selected=\"selected\""; ?>><?=gettext('5 million') ?></option>
<option value="10000000" <?php if ($pconfig['unwanted_reply_threshold'] == "10000000") echo "selected=\"selected\""; ?>><?=gettext('10 million') ?></option>
<option value="20000000" <?php if ($pconfig['unwanted_reply_threshold'] == "20000000") echo "selected=\"selected\""; ?>><?=gettext('20 million') ?></option>
<option value="40000000" <?php if ($pconfig['unwanted_reply_threshold'] == "40000000") echo "selected=\"selected\""; ?>><?=gettext('40 million') ?></option>
<option value="50000000" <?php if ($pconfig['unwanted_reply_threshold'] == "50000000") echo "selected=\"selected\""; ?>><?=gettext('50 million') ?></option>
</select><br />
<?=gettext("If enabled, a total number of unwanted replies is kept track of in every thread. When it reaches the threshold, a defensive action is taken and a warning is printed to the log file. This defensive action is to clear the RRSet and message caches, hopefully flushing away any poison. The default is disabled, but if enabled a value of 10 million is suggested.");?>
</p>
......
......@@ -189,11 +189,11 @@ include("head.inc");
<tbody>
<?php if (isset($config['ntpd']['noquery'])): ?>
<tr><td class="listlr" colspan="11" align="center">
Statistics unavailable because ntpq and ntpdc queries are disabled in the <a href="services_ntpd.php">NTP service settings</a>.
<?= sprintf(gettext('Statistics unavailable because ntpq and ntpdc queries are disabled in the %sNTP service settings%s.'), '<a href="services_ntpd.php">','</a>') ?>
</td></tr>
<?php elseif (count($ntpq_servers) == 0): ?>
<tr><td class="listlr" colspan="11" align="center">
No peers found, <a href="status_services.php">is the ntp service running?</a>.
<?= sprintf(gettext('No peers found, %sis the ntp service running%s?'), '<a href="status_services.php">','</a>') ?>
</td></tr>
<?php else: ?>
<?php $i = 0; foreach ($ntpq_servers as $server): ?>
......
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2004 Scott Ullrich
......@@ -187,9 +188,8 @@ if(empty($if)) {
</table>
</div>
<b>Flags:</b> A = authorized, E = Extended Rate (802.11g), P = Power save mode<br />
<b>Capabilities:</b> E = ESS (infrastructure mode), I = IBSS (ad-hoc mode), P = privacy (WEP/TKIP/AES),
S = Short preamble, s = Short slot time
<b><?=gettext('Flags:') ?></b> <?=gettext('A = authorized, E = Extended Rate (802.11g), P = Power save mode') ?><br />
<b><?=gettext('Capabilities:') ?></b> <?=gettext('E = ESS (infrastructure mode), I = IBSS (ad-hoc mode), P = privacy (WEP/TKIP/AES), S = Short preamble, s = Short slot time') ?>
</form>
</div>
</section>
......
......@@ -430,7 +430,7 @@ endif; ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Disable Auto-added VPN rules</td>
<td width="22%" valign="top" class="vncell"><?=gettext('Disable Auto-added VPN rules') ?></td>
<td width="78%" class="vtable">
<input name="disablevpnrules" type="checkbox" id="disablevpnrules" value="yes" <?php if (isset($config['system']['disablevpnrules'])) {
echo "checked=\"checked\"";
......@@ -442,7 +442,7 @@ endif; ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Disable reply-to</td>
<td width="22%" valign="top" class="vncell"><?=gettext('Disable reply-to') ?></td>
<td width="78%" class="vtable">
<input name="disablereplyto" type="checkbox" id="disablereplyto" value="yes" <?php if ($pconfig['disablereplyto']) {
echo "checked=\"checked\"";
......@@ -455,7 +455,7 @@ endif; ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Disable Negate rules</td>
<td width="22%" valign="top" class="vncell"><?=gettext('Disable Negate rules') ?></td>
<td width="78%" class="vtable">
<input name="disablenegate" type="checkbox" id="disablenegate" value="yes" <?php if ($pconfig['disablenegate']) {
echo "checked=\"checked\"";
......
......@@ -928,7 +928,7 @@ else :
loaded = <?php echo $counter; ?>;
//]]>
</script>
<br />NOTE: Type must be one of DNS (FQDN or Hostname), IP (IP address), URI, or email.
<br /><?=gettext('NOTE: Type must be one of DNS (FQDN or Hostname), IP (IP address), URI, or email.') ?>
</td>
</tr>
</table>
......@@ -1256,8 +1256,8 @@ else :
<?php if (is_array($purpose)) :
?>
<tr><td colspan="2">
CA: <?php echo $purpose['ca']; ?>,
Server: <?php echo $purpose['server']; ?>
<?=gettext('CA:') ?> <?php echo $purpose['ca']; ?>,
<?=gettext('Server:') ?> <?php echo $purpose['server']; ?>
</td></tr>
<?php
endif; ?>
......@@ -1281,32 +1281,32 @@ endif; ?>
<td class="listr">
<?php if (is_cert_revoked($cert)) :
?>
<b>Revoked</b><br />
<b><?=gettext('Revoked') ?></b><br />
<?php
endif; ?>
<?php if (is_webgui_cert($cert['refid'])) :
?>
webConfigurator<br />
<?=gettext('webConfigurator') ?><br />
<?php
endif; ?>
<?php if (is_user_cert($cert['refid'])) :
?>
User Cert<br />
<?=gettext('User Cert') ?><br />
<?php
endif; ?>
<?php if (is_openvpn_server_cert($cert['refid'])) :
?>
OpenVPN Server<br />
<?=gettext('OpenVPN Server') ?><br />
<?php
endif; ?>
<?php if (is_openvpn_client_cert($cert['refid'])) :
?>
OpenVPN Client<br />
<?=gettext('OpenVPN Client') ?><br />
<?php
endif; ?>
<?php if (is_ipsec_cert($cert['refid'])) :
?>
IPsec Tunnel<br />
<?=gettext('IPsec Tunnel') ?><br />
<?php
endif; ?>
......
This diff is collapsed.
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