Commit 821bac20 authored by Fabian Franz's avatar Fabian Franz Committed by Franco Fichtner

translation fixes + moved a curly bracket

(cherry picked from commit 5c48a769)
parent 1e4e6690
......@@ -72,7 +72,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
/* Ensure that our pool names are unique */
for ($i=0; isset($config['load_balancer']['lbpool'][$i]); $i++) {
if ($pconfig['name'] == $config['load_balancer']['lbpool'][$i]['name'] && $i != $id) {
$input_errors[] = gettext("This pool name has already been used. Pool names must be unique.");
$input_errors[] = gettext("This pool name has already been used. Pool names must be unique.");
}
}
......@@ -143,7 +143,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
mark_subsystem_dirty('loadbalancer');
write_config();
header("Location: load_balancer_pool.php");
exit; }
exit;
}
}
......
......@@ -136,7 +136,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$input_errors[] = gettext("A valid MAC address must be specified.");
}
if (isset($config['dhcpd'][$if]['staticarp']) && empty($pconfig['ipaddr'])) {
$input_errors[] = gettext("Static ARP is enabled. You must specify an IP address.");
$input_errors[] = gettext("Static ARP is enabled. You must specify an IP address.");
}
/* check for overlaps */
......
......@@ -347,7 +347,7 @@ include("head.inc");
</tfoot>
</table>
<div class="hidden" for="help_for_subnets">
<?=gettext("Subnets are specified in CIDR format. " .
<?=gettext("Subnets are specified in CIDR format. " .
"Select the CIDR mask that pertains to each entry. " .
"/128 specifies a single IPv6 host; /64 specifies a normal IPv6 network; etc. " .
"If no subnets are specified here, the Router Advertisement (RA) Daemon will advertise to the subnet to which the router's interface is assigned.");?>
......
......@@ -335,17 +335,17 @@ include("head.inc");
<input name="powerd_enable" type="checkbox" id="powerd_enable" value="yes" <?=!empty($pconfig['powerd_enable']) ? "checked=\"checked\"" : "";?> />
<div class="hidden" for="help_for_powerd_enable">
<?=gettext("The powerd utility monitors the system state and sets various power control " .
"options accordingly. It offers four modes (maximum, minimum, adaptive " .
"options accordingly. It offers four modes (maximum, minimum, adaptive " .
"and hiadaptive) that can be individually selected while on AC power or batteries. " .
"The modes maximum, minimum, adaptive and hiadaptive may be abbreviated max, " .
"min, adp, hadp. Maximum mode chooses the highest performance values. Minimum " .
"min, adp, hadp. Maximum mode chooses the highest performance values. Minimum " .
"mode selects the lowest performance values to get the most power savings. " .
"Adaptive mode attempts to strike a balance by degrading performance when " .
"the system appears idle and increasing it when the system is busy. It " .
"the system appears idle and increasing it when the system is busy. It " .
"offers a good balance between a small performance loss for greatly " .
"increased power savings. Hiadaptive mode is alike adaptive mode, but " .
"increased power savings. Hiadaptive mode is alike adaptive mode, but " .
"tuned for systems where performance and interactivity are more important " .
"than power consumption. It raises frequency faster, drops slower and " .
"than power consumption. It raises frequency faster, drops slower and " .
"keeps twice lower CPU load."); ?>
</div>
</td>
......
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