Commit ad4dc31a authored by Franco Fichtner's avatar Franco Fichtner Committed by GitHub

Merge pull request #1054 from fabianfrz/translation

Translation
parents 522896e3 5c48a769
...@@ -469,7 +469,7 @@ ...@@ -469,7 +469,7 @@
<label>Send Username</label> <label>Send Username</label>
<type>checkbox</type> <type>checkbox</type>
<style>tokenize</style> <style>tokenize</style>
<help><![CDATA[If you enable this option, the username of the client will be sent to the ICAP server. This can be useful if you want to filter traffic based on usernames addresses. Note, that authentication is required to use usernames.]]></help> <help><![CDATA[If you enable this option, the username of the client will be sent to the ICAP server. This can be useful if you want to filter traffic based on usernames. Note, that authentication is required to use usernames.]]></help>
<hint>Check if the username should be sent to the ICAP server.</hint> <hint>Check if the username should be sent to the ICAP server.</hint>
<allownew>true</allownew> <allownew>true</allownew>
<advanced>true</advanced> <advanced>true</advanced>
...@@ -499,7 +499,7 @@ ...@@ -499,7 +499,7 @@
<label>Enable Preview</label> <label>Enable Preview</label>
<type>checkbox</type> <type>checkbox</type>
<style>tokenize</style> <style>tokenize</style>
<help><![CDATA[If you use previews, only a part of the data is sent to the ICAP server. Setting this option can improve the performance. ]]></help> <help><![CDATA[If you use previews, only a part of the data is sent to the ICAP server. Setting this option can improve the performance.]]></help>
<hint>Enable if you want to use previews.</hint> <hint>Enable if you want to use previews.</hint>
<allownew>true</allownew> <allownew>true</allownew>
<advanced>true</advanced> <advanced>true</advanced>
...@@ -509,7 +509,7 @@ ...@@ -509,7 +509,7 @@
<label>Preview Size</label> <label>Preview Size</label>
<type>text</type> <type>text</type>
<style>tokenize</style> <style>tokenize</style>
<help><![CDATA[Enter the size of the preview wich is sent to the ICAP server.]]></help> <help><![CDATA[Enter the size of the preview which is sent to the ICAP server.]]></help>
<hint>Enter the size of the preview.</hint> <hint>Enter the size of the preview.</hint>
<allownew>true</allownew> <allownew>true</allownew>
<advanced>true</advanced> <advanced>true</advanced>
......
...@@ -72,7 +72,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -72,7 +72,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
/* Ensure that our pool names are unique */ /* Ensure that our pool names are unique */
for ($i=0; isset($config['load_balancer']['lbpool'][$i]); $i++) { for ($i=0; isset($config['load_balancer']['lbpool'][$i]); $i++) {
if ($pconfig['name'] == $config['load_balancer']['lbpool'][$i]['name'] && $i != $id) { 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') { ...@@ -143,7 +143,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
mark_subsystem_dirty('loadbalancer'); mark_subsystem_dirty('loadbalancer');
write_config(); write_config();
header("Location: load_balancer_pool.php"); header("Location: load_balancer_pool.php");
exit; } exit;
}
} }
......
...@@ -136,7 +136,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -136,7 +136,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$input_errors[] = gettext("A valid MAC address must be specified."); $input_errors[] = gettext("A valid MAC address must be specified.");
} }
if (isset($config['dhcpd'][$if]['staticarp']) && empty($pconfig['ipaddr'])) { 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 */ /* check for overlaps */
......
...@@ -347,7 +347,7 @@ include("head.inc"); ...@@ -347,7 +347,7 @@ include("head.inc");
</tfoot> </tfoot>
</table> </table>
<div class="hidden" for="help_for_subnets"> <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. " . "Select the CIDR mask that pertains to each entry. " .
"/128 specifies a single IPv6 host; /64 specifies a normal IPv6 network; etc. " . "/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.");?> "If no subnets are specified here, the Router Advertisement (RA) Daemon will advertise to the subnet to which the router's interface is assigned.");?>
......
...@@ -342,17 +342,17 @@ include("head.inc"); ...@@ -342,17 +342,17 @@ include("head.inc");
<input name="powerd_enable" type="checkbox" id="powerd_enable" value="yes" <?=!empty($pconfig['powerd_enable']) ? "checked=\"checked\"" : "";?> /> <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"> <div class="hidden" for="help_for_powerd_enable">
<?=gettext("The powerd utility monitors the system state and sets various power control " . <?=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. " . "and hiadaptive) that can be individually selected while on AC power or batteries. " .
"The modes maximum, minimum, adaptive and hiadaptive may be abbreviated max, " . "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. " . "mode selects the lowest performance values to get the most power savings. " .
"Adaptive mode attempts to strike a balance by degrading performance when " . "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 " . "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 " . "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."); ?> "keeps twice lower CPU load."); ?>
</div> </div>
</td> </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