Improve the open-notifications-prefPane alert's message

This commit is contained in:
Angelo Stavrow 2020-08-02 08:41:48 -04:00
parent 619ddc6ea2
commit 288a5b18db
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ private extension WebFeedInspectorViewController {
let updateAlert = NSAlert() let updateAlert = NSAlert()
updateAlert.alertStyle = .informational updateAlert.alertStyle = .informational
updateAlert.messageText = NSLocalizedString("Enable Notifications", comment: "Notifications") updateAlert.messageText = NSLocalizedString("Enable Notifications", comment: "Notifications")
updateAlert.informativeText = NSLocalizedString("Notifications need to be enabled in System Preferences > Notifications.", comment: "Notifications need to be enabled in System Preferences > Notifications.") updateAlert.informativeText = NSLocalizedString("To enable notifications, open Notifications in System Preferences, then find NetNewsWire in the list.", comment: "To enable notifications, open Notifications in System Preferences, then find NetNewsWire in the list.")
updateAlert.addButton(withTitle: NSLocalizedString("Open System Preferences", comment: "Open System Preferences")) updateAlert.addButton(withTitle: NSLocalizedString("Open System Preferences", comment: "Open System Preferences"))
updateAlert.addButton(withTitle: NSLocalizedString("Close", comment: "Close")) updateAlert.addButton(withTitle: NSLocalizedString("Close", comment: "Close"))
let modalResponse = updateAlert.runModal() let modalResponse = updateAlert.runModal()