Commit 0ba381f2 authored by Franco Fichtner's avatar Franco Fichtner

Merge pull request #690 from fabianfrz/translation

Translation
parents b3053e79 ae7c24b5
......@@ -95,7 +95,7 @@ if (function_exists("display_error_form") && !isset($config['system']['webgui'][
if($found_host == false) {
if(!security_checks_disabled()) {
display_error_form("501", gettext("Potential DNS Rebind attack detected, see http://en.wikipedia.org/wiki/DNS_rebinding<br />Try accessing the router by IP address instead of by hostname."));
display_error_form("501", sprintf(gettext("A potential %sDNS Rebind attack%s has been detected.%sTry to access the router by IP address instead of by hostname."),'<a href="http://en.wikipedia.org/wiki/DNS_rebinding">','</a>','<br />'));
exit;
}
$security_passed = false;
......
......@@ -84,9 +84,9 @@ include("head.inc");
</span><span class="vexpl"><?=gettext("The firewall will normally leave " .
"the state tables intact when changing rules."); ?><br />
<br />
<?=gettext("NOTE: If you reset the firewall state table, the browser " .
"session may appear to be hung after clicking &quot;Reset&quot;. " .
"Simply refresh the page to continue."); ?></span></p>
<?=gettext('Note: If you reset the firewall state table, the browser ' .
'session may appear to be hung after clicking "Reset". ' .
'Simply refresh the page to continue.'); ?></span></p>
<?php if (isset($config['system']['lb_use_sticky'])): ?>
<p>
......
......@@ -147,7 +147,7 @@ include("head.inc"); ?>
</option>
</select>
<div class="hidden" for="help_for_ipprotocol">
<?=gettext("If you force IPv4 or IPv6 and use a hostname that does not contain a result using that protocol, <br />it will result in an error. For example if you force IPv4 and use a hostname that only returns an AAAA IPv6 IP address, it will not work."); ?>
<?=gettext("If you force IPv4 or IPv6 and use a hostname that does not contain a result using that protocol, it will result in an error. For example if you force IPv4 and use a hostname that only returns an AAAA IPv6 IP address, it will not work."); ?>
</div>
</td>
</tr>
......
......@@ -52,7 +52,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (isset($pconfig['apply'])) {
filter_configure();
clear_subsystem_dirty('filter');
$savemsg = sprintf(gettext("The settings have been applied. The firewall rules are now reloading in the background.<br />You can also %s monitor %s the reload progress"),"<a href='status_filter_reload.php'>","</a>");
$savemsg = sprintf(gettext("The settings have been applied. The firewall rules are now reloading in the background.%sYou can also %s monitor %s the reload progress"),'<br />',"<a href='status_filter_reload.php'>","</a>");
} elseif (isset($pconfig['act']) && $pconfig['act'] == 'del' && isset($id)) {
// delete single item
if (!empty($a_filter[$id]['associated-rule-id'])) {
......
......@@ -189,13 +189,13 @@ include("head.inc");
</select>
<br />
<span class="vexpl">
<?=gettext("The <b>upstream</b> network interface is the outgoing interface which is".
<?=gettext("The upstream network interface is the outgoing interface which is".
" responsible for communicating to available multicast data sources.".
" There can only be one upstream interface.");?>
</span>
<br />
<span class="vexpl">
<b><?=gettext("Downstream"); ?></b> <?=gettext("network interfaces are the distribution interfaces to the".
<?=gettext("Downstream network interfaces are the distribution interfaces to the".
" destination networks, where multicast clients can join groups and".
" receive multicast data. One or more downstream interfaces must be configured.");?>
</span>
......@@ -207,14 +207,14 @@ include("head.inc");
<input name="threshold" class="formfld unknown" id="threshold" value="<?php echo htmlspecialchars($pconfig['threshold']);?>" />
<br />
<span class="vexpl">
<?=gettext("Defines the TTL threshold for the network interface. Packets".
" with a lower TTL than the threshold value will be ignored. This".
" setting is optional, and by default the threshold is 1.");?>
<?=gettext("Defines the TTL threshold for the network interface. ".
"Packets with a lower TTL than the threshold value will be ignored. ".
"This setting is optional, and by default the threshold is 1.");?>
</span>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq"><div id="addressnetworkport"><?=gettext("Network (s)");?></div></td>
<td width="22%" valign="top" class="vncellreq"><div id="addressnetworkport"><?=gettext("Network(s)");?></div></td>
<td width="78%" class="vtable">
<table id="maintable">
<tbody>
......
......@@ -520,10 +520,10 @@ $( document ).ready(function() {
<tr class="hidden-xs">
<td colspan="4">
<p class="col-xs-12 col-sm-10">
<?=gettext("Additional webConfigurator groups can be added here.
Group permissions can be assigned which are inherited by users who are members of the group.
An icon that appears grey indicates that it is a system defined object.
Some system object properties can be modified but they cannot be deleted.");?>
<?=gettext('Additional webConfigurator groups can be added here. ' .
'Group permissions can be assigned which are inherited by users who are members of the group. ' .
'An icon that appears grey indicates that it is a system defined object. ' .
'Some system object properties can be modified but they cannot be deleted.');?>
</p>
</td>
</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