summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/notices.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc
index 4415987..fadd92b 100644
--- a/etc/inc/notices.inc
+++ b/etc/inc/notices.inc
@@ -343,7 +343,7 @@ function notify_via_smtp($message) {
******/
function notify_via_growl($message) {
require_once("growl.class");
- global $config;
+ global $config,$g;
$hostname = $config['system']['hostname'] . "." . $config['system']['domain'];
$growl_ip = $config['notifications']['growl']['ipaddress'];
$growl_password = $config['notifications']['growl']['password'];
@@ -352,7 +352,7 @@ function notify_via_growl($message) {
if(!empty($growl_ip)) {
$growl = new Growl($growl_ip, $growl_password, $growl_name);
- $growl->notify("{$growl_notification}", "pfSense ($hostname) - Notification", "{$message}");
+ $growl->notify("{$growl_notification}", gettext(sprintf("%s (%s) - Notification", $g['product_name'], $hostname)), "{$message}");
}
}
OpenPOWER on IntegriCloud