Commit 60caf7d3 authored by Franco Fichtner's avatar Franco Fichtner

src: translation corrections

Suggested by: @Antonio-Prado

(cherry picked from commit 7f9fcfb2)
parent 485dce28
...@@ -35,14 +35,14 @@ ...@@ -35,14 +35,14 @@
<Default>0</Default> <Default>0</Default>
<MinimumValue>0</MinimumValue> <MinimumValue>0</MinimumValue>
<MaximumValue>10080</MaximumValue> <MaximumValue>10080</MaximumValue>
<ValidationMessage>Idle timeout must be between 0(no timeout) and 10080 (a week)</ValidationMessage> <ValidationMessage>Idle timeout, in minutes, must be between 0 (no timeout) and 10080 (a week)</ValidationMessage>
</idletimeout> </idletimeout>
<hardtimeout type="IntegerField"> <hardtimeout type="IntegerField">
<Required>Y</Required> <Required>Y</Required>
<Default>0</Default> <Default>0</Default>
<MinimumValue>0</MinimumValue> <MinimumValue>0</MinimumValue>
<MaximumValue>10080</MaximumValue> <MaximumValue>10080</MaximumValue>
<ValidationMessage>Hard timeout must be between 0(no timeout) and 10080 (a week)</ValidationMessage> <ValidationMessage>Hard timeout, in minutes, must be between 0 (no timeout) and 10080 (a week)</ValidationMessage>
</hardtimeout> </hardtimeout>
<concurrentlogins type="BooleanField"> <concurrentlogins type="BooleanField">
<Required>Y</Required> <Required>Y</Required>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<Kbit>Kbit/s</Kbit> <Kbit>Kbit/s</Kbit>
<Mbit>Mbit/s</Mbit> <Mbit>Mbit/s</Mbit>
</OptionValues> </OptionValues>
<ValidationMessage>Bandwidth metric should be one of bit,Kbit,Mbit</ValidationMessage> <ValidationMessage>Bandwidth metric should be one of bit, kbit, Mbit</ValidationMessage>
</bandwidthMetric> </bandwidthMetric>
<queue type="IntegerField"> <queue type="IntegerField">
<Required>N</Required> <Required>N</Required>
......
...@@ -171,14 +171,6 @@ include("head.inc"); ...@@ -171,14 +171,6 @@ include("head.inc");
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="container-fluid">
<p>
<span class="text-danger"><b><?=gettext("Note: ");?></b></span>
<?=gettext("Traceroute may take a while to complete. You may hit the Stop button on your browser at any time to see the progress of failed traceroutes.");?>
<br /><br />
<?=gettext("Using a source interface/IP address that does not match selected type (IPv4, IPv6) will result in an error or empty output.");?>
</p>
</div>
</div> </div>
</form> </form>
</div> </div>
......
...@@ -498,7 +498,7 @@ endforeach; ...@@ -498,7 +498,7 @@ endforeach;
<?=gettext("Networks")?><br/> <?=gettext("Networks")?><br/>
</span> </span>
<small> <small>
<?=gettext("Networks are specified in CIDR format. Select the CIDR mask that pertains to each entry. /32 specifies a single IPv4 host, /128 specifies a single IPv6 host, /24 specifies 255.255.255.0, /64 specifies a normal IPv6 network, etc. Hostnames (FQDNs) may also be specified, using a /32 mask for IPv4 or /128 for IPv6.");?> <?=gettext("Networks are specified in CIDR format. Select the CIDR suffix that pertains to each entry. /32 specifies a single IPv4 host, /128 specifies a single IPv6 host, /24 in IPv4 corresponds to 255.255.255.0, /64 specifies commonly used IPv6 network, etc. Hostnames (FQDNs) may also be specified, using /32 for IPv4 and /128 for IPv6.");?>
<br/> <br/>
</small> </small>
<span class="text-info"> <span class="text-info">
...@@ -516,10 +516,10 @@ endforeach; ...@@ -516,10 +516,10 @@ endforeach;
<br/> <br/>
</small> </small>
<span class="text-info"> <span class="text-info">
<?=gettext("URL's")?><br/> <?=gettext("URLs")?><br/>
</span> </span>
<small> <small>
<?=gettext("Enter a URL containing a large number of IPs,ports and/or Subnets. After saving the lists will be downloaded and scheduled for automatic updates when a frequency is provided.");?> <?=gettext("Enter an URL containing a large number of IPs, ports or subnets. After saving the lists will be downloaded and scheduled for automatic updates when a frequency is provided.");?>
</small> </small>
</div> </div>
</td> </td>
......
...@@ -62,7 +62,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -62,7 +62,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
include("head.inc"); include("head.inc");
legacy_html_escape_form_data($a_ifgroups); legacy_html_escape_form_data($a_ifgroups);
$main_buttons = array( $main_buttons = array(
array('href' => 'interfaces_groups_edit.php', 'label' => gettext('Add')), array('href' => 'interfaces_groups_edit.php', 'label' => gettext('Add a new group')),
); );
?> ?>
...@@ -132,10 +132,10 @@ $main_buttons = array( ...@@ -132,10 +132,10 @@ $main_buttons = array(
</td> </td>
<td><?=$ifgroupentry['descr'];?></td> <td><?=$ifgroupentry['descr'];?></td>
<td> <td>
<a href="interfaces_groups_edit.php?id=<?=$i;?>" class="btn btn-xs btn-default" data-toggle="tooltip" title="<?=gettext("edit group");?>"> <a href="interfaces_groups_edit.php?id=<?=$i;?>" class="btn btn-xs btn-default" data-toggle="tooltip" title="<?=gettext("Edit this group");?>">
<span class="glyphicon glyphicon-edit"></span> <span class="glyphicon glyphicon-edit"></span>
</a> </a>
<button title="<?=gettext("delete ifgroupentry");?>" data-toggle="tooltip" data-id="<?=$i;?>" class="btn btn-default btn-xs act_delete" type="submit"> <button title="<?=gettext("Remove this group");?>" data-toggle="tooltip" data-id="<?=$i;?>" class="btn btn-default btn-xs act_delete" type="submit">
<span class="fa fa-trash text-muted"></span> <span class="fa fa-trash text-muted"></span>
</button> </button>
</td> </td>
......
...@@ -60,7 +60,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -60,7 +60,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
include("head.inc"); include("head.inc");
legacy_html_escape_form_data($a_igmpproxy); legacy_html_escape_form_data($a_igmpproxy);
$main_buttons = array( $main_buttons = array(
array('label'=>gettext("add a new igmpentry"), 'href'=>'services_igmpproxy_edit.php'), array('label' => gettext('Add a new IGMP entry'), 'href' => 'services_igmpproxy_edit.php'),
); );
?> ?>
...@@ -130,7 +130,7 @@ $main_buttons = array( ...@@ -130,7 +130,7 @@ $main_buttons = array(
</td> </td>
<td><?=$igmpentry['descr'];?></td> <td><?=$igmpentry['descr'];?></td>
<td> <td>
<a href="services_igmpproxy_edit.php?id=<?=$i;?>" title="<?=gettext("edit igmpentry"); ?>" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-pencil"></span></a> <a href="services_igmpproxy_edit.php?id=<?=$i;?>" title="<?=gettext("Edit this IGMP entry"); ?>" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="#" data-id="<?=$i;?>" class="act_delete_entry"><button type="button" class="btn btn-xs btn-default"><span class="fa fa-trash text-muted"></span></button></a> <a href="#" data-id="<?=$i;?>" class="act_delete_entry"><button type="button" class="btn btn-xs btn-default"><span class="fa fa-trash text-muted"></span></button></a>
</td> </td>
</tr> </tr>
......
...@@ -305,11 +305,11 @@ include_once("head.inc"); ...@@ -305,11 +305,11 @@ include_once("head.inc");
<td><a id="help_for_infra_cache_numhosts" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Number of Hosts to cache");?></td> <td><a id="help_for_infra_cache_numhosts" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Number of Hosts to cache");?></td>
<td> <td>
<select id="infra_cache_numhosts" name="infra_cache_numhosts" class="selectpicker"> <select id="infra_cache_numhosts" name="infra_cache_numhosts" class="selectpicker">
<option value="1000" <?=$pconfig['infra_cache_numhosts'] == "1000" ? "selected=\"selected\"" : ""; ?>><?=gettext('1000') ?></option> <option value="1000" <?=$pconfig['infra_cache_numhosts'] == "1000" ? "selected=\"selected\"" : ""; ?>>1000</option>
<option value="5000" <?=$pconfig['infra_cache_numhosts'] == "5000" ? "selected=\"selected\"" : ""; ?>><?=gettext('5000') ?></option> <option value="5000" <?=$pconfig['infra_cache_numhosts'] == "5000" ? "selected=\"selected\"" : ""; ?>>5000</option>
<option value="10000" <?=$pconfig['infra_cache_numhosts'] == "10000" ? "selected=\"selected\"" : ""; ?>><?=gettext('10 000') ?></option> <option value="10000" <?=$pconfig['infra_cache_numhosts'] == "10000" ? "selected=\"selected\"" : ""; ?>>10000</option>
<option value="20000" <?=$pconfig['infra_cache_numhosts'] == "20000" ? "selected=\"selected\"" : ""; ?>><?=gettext('20 000') ?></option> <option value="20000" <?=$pconfig['infra_cache_numhosts'] == "20000" ? "selected=\"selected\"" : ""; ?>>20000</option>
<option value="50000" <?=$pconfig['infra_cache_numhosts'] == "50000" ? "selected=\"selected\"" : ""; ?>><?=gettext('50 000') ?></option> <option value="50000" <?=$pconfig['infra_cache_numhosts'] == "50000" ? "selected=\"selected\"" : ""; ?>>50000</option>
</select> </select>
<div class="hidden" for="help_for_infra_cache_numhosts"> <div class="hidden" for="help_for_infra_cache_numhosts">
<?=gettext("Number of hosts for which information is cached. The default is 10,000.");?> <?=gettext("Number of hosts for which information is cached. The default is 10,000.");?>
......
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