diff --git a/profile/endpoints/reason.go b/profile/endpoints/reason.go index 5bb86f71..906cec53 100644 --- a/profile/endpoints/reason.go +++ b/profile/endpoints/reason.go @@ -21,9 +21,9 @@ type reason struct { } func (r *reason) String() string { - prefix := "endpoint in blocklist: " + prefix := "denied by rule: " if r.Permitted { - prefix = "endpoint in allowlist: " + prefix = "permitted by rule: " } return prefix + r.description + " " + r.Value diff --git a/updates/upgrader.go b/updates/upgrader.go index e03a4155..a5b5398d 100644 --- a/updates/upgrader.go +++ b/updates/upgrader.go @@ -101,14 +101,14 @@ func upgradeCoreNotify() error { if info.GetInfo().Version != pmCoreUpdate.Version() { n := notifications.NotifyInfo( "updates:core-update-available", - fmt.Sprintf("There is an update available for the Portmaster core (v%s), please restart the Portmaster to apply the update.", pmCoreUpdate.Version()), - notifications.Action{ - ID: "later", - Text: "Later", - }, + fmt.Sprintf(":tada: Update to **Portmaster v%s** is available! Please restart the Portmaster to apply the update.", pmCoreUpdate.Version()), notifications.Action{ ID: "restart", - Text: "Restart Portmaster Now", + Text: "Restart", + }, + notifications.Action{ + ID: "later", + Text: "Not now", }, ) n.SetActionFunction(upgradeCoreNotifyActionHandler)