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'][ ...@@ -95,7 +95,7 @@ if (function_exists("display_error_form") && !isset($config['system']['webgui'][
if($found_host == false) { if($found_host == false) {
if(!security_checks_disabled()) { 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; exit;
} }
$security_passed = false; $security_passed = false;
......
...@@ -84,9 +84,9 @@ include("head.inc"); ...@@ -84,9 +84,9 @@ include("head.inc");
</span><span class="vexpl"><?=gettext("The firewall will normally leave " . </span><span class="vexpl"><?=gettext("The firewall will normally leave " .
"the state tables intact when changing rules."); ?><br /> "the state tables intact when changing rules."); ?><br />
<br /> <br />
<?=gettext("NOTE: If you reset the firewall state table, the browser " . <?=gettext('Note: If you reset the firewall state table, the browser ' .
"session may appear to be hung after clicking &quot;Reset&quot;. " . 'session may appear to be hung after clicking "Reset". ' .
"Simply refresh the page to continue."); ?></span></p> 'Simply refresh the page to continue.'); ?></span></p>
<?php if (isset($config['system']['lb_use_sticky'])): ?> <?php if (isset($config['system']['lb_use_sticky'])): ?>
<p> <p>
......
...@@ -147,7 +147,7 @@ include("head.inc"); ?> ...@@ -147,7 +147,7 @@ include("head.inc"); ?>
</option> </option>
</select> </select>
<div class="hidden" for="help_for_ipprotocol"> <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> </div>
</td> </td>
</tr> </tr>
......
...@@ -52,7 +52,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -52,7 +52,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (isset($pconfig['apply'])) { if (isset($pconfig['apply'])) {
filter_configure(); filter_configure();
clear_subsystem_dirty('filter'); 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)) { } elseif (isset($pconfig['act']) && $pconfig['act'] == 'del' && isset($id)) {
// delete single item // delete single item
if (!empty($a_filter[$id]['associated-rule-id'])) { if (!empty($a_filter[$id]['associated-rule-id'])) {
......
...@@ -189,13 +189,13 @@ include("head.inc"); ...@@ -189,13 +189,13 @@ include("head.inc");
</select> </select>
<br /> <br />
<span class="vexpl"> <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.". " responsible for communicating to available multicast data sources.".
" There can only be one upstream interface.");?> " There can only be one upstream interface.");?>
</span> </span>
<br /> <br />
<span class="vexpl"> <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". " destination networks, where multicast clients can join groups and".
" receive multicast data. One or more downstream interfaces must be configured.");?> " receive multicast data. One or more downstream interfaces must be configured.");?>
</span> </span>
...@@ -207,14 +207,14 @@ include("head.inc"); ...@@ -207,14 +207,14 @@ include("head.inc");
<input name="threshold" class="formfld unknown" id="threshold" value="<?php echo htmlspecialchars($pconfig['threshold']);?>" /> <input name="threshold" class="formfld unknown" id="threshold" value="<?php echo htmlspecialchars($pconfig['threshold']);?>" />
<br /> <br />
<span class="vexpl"> <span class="vexpl">
<?=gettext("Defines the TTL threshold for the network interface. Packets". <?=gettext("Defines the TTL threshold for the network interface. ".
" with a lower TTL than the threshold value will be ignored. This". "Packets with a lower TTL than the threshold value will be ignored. ".
" setting is optional, and by default the threshold is 1.");?> "This setting is optional, and by default the threshold is 1.");?>
</span> </span>
</td> </td>
</tr> </tr>
<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"> <td width="78%" class="vtable">
<table id="maintable"> <table id="maintable">
<tbody> <tbody>
......
...@@ -520,10 +520,10 @@ $( document ).ready(function() { ...@@ -520,10 +520,10 @@ $( document ).ready(function() {
<tr class="hidden-xs"> <tr class="hidden-xs">
<td colspan="4"> <td colspan="4">
<p class="col-xs-12 col-sm-10"> <p class="col-xs-12 col-sm-10">
<?=gettext("Additional webConfigurator groups can be added here. <?=gettext('Additional webConfigurator groups can be added here. ' .
Group permissions can be assigned which are inherited by users who are members of the group. '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. '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.");?> 'Some system object properties can be modified but they cannot be deleted.');?>
</p> </p>
</td> </td>
</tr> </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