summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_wol.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-08-12 12:55:32 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-08-12 12:55:32 -0300
commite73b001e2585b55973faaf0be199a5f438c4ae89 (patch)
tree6dc08100313fe95ab4ca2dfa9883c23152dd4538 /usr/local/www/services_wol.php
parent3e6ec5dfba9679f6b521962269aca9570e391abb (diff)
parent3e4f5a3359ebcc46710f37466620d0c0cdfd7293 (diff)
downloadpfsense-e73b001e2585b55973faaf0be199a5f438c4ae89.zip
pfsense-e73b001e2585b55973faaf0be199a5f438c4ae89.tar.gz
Merge remote branch 'mainline/master'
Conflicts: usr/local/www/diag_smart.php usr/local/www/firewall_rules_edit.php usr/local/www/interfaces.php usr/local/www/load_balancer_pool_edit.php usr/local/www/pkg_mgr_settings.php
Diffstat (limited to 'usr/local/www/services_wol.php')
-rwxr-xr-xusr/local/www/services_wol.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/services_wol.php b/usr/local/www/services_wol.php
index e95f118..128fc3f 100755
--- a/usr/local/www/services_wol.php
+++ b/usr/local/www/services_wol.php
@@ -58,10 +58,10 @@ if($_GET['wakeall'] <> "") {
get_interface_subnet($if));
/* Execute wol command and check return code. */
if(!mwexec("/usr/local/bin/wol -i {$bcip} {$mac}")){
- $savemsg .= sprintf(gettext("Sent magic packet to %s (%s)%s"),$mac, $description, ".<br>");
+ $savemsg .= sprintf(gettext('Sent magic packet to %1$s (%2$s)%3$s'),$mac, $description, ".<br>");
}
else {
- $savemsg .= sprintf(gettext("Please check the %ssystem log%s, the wol command for %s (%s) did not complete successfully%s"),'<a href=\"/diag_logs.php\">','</a>',$description,$mac,".<br>");
+ $savemsg .= sprintf(gettext('Please check the %1$ssystem log%2$s, the wol command for %3$s (%4$s) did not complete successfully%5$s'),'<a href="/diag_logs.php">','</a>',$description,$mac,".<br>");
}
}
}
@@ -96,7 +96,7 @@ if ($_POST || $_GET['mac']) {
$savemsg .= sprintf(gettext("Sent magic packet to %s."),$mac);
}
else {
- $savemsg .= sprintf(gettext("Please check the %ssystem log%s, the wol command for %s did not complete successfully%s"),'<a href=\"/diag_logs.php\">', '</a>', $mac, ".<br>");
+ $savemsg .= sprintf(gettext('Please check the %1$ssystem log%2$s, the wol command for %3$s did not complete successfully%4$s'),'<a href="/diag_logs.php">', '</a>', $mac, ".<br>");
}
}
}
OpenPOWER on IntegriCloud