Actually use updated Apple Updates alert strings

This commit is contained in:
Greg Neagle
2021-05-24 11:52:39 -07:00
parent b6364340ac
commit 1c2af93ec7
@@ -137,7 +137,7 @@ class MSCAlertController: NSObject {
// tell user they cannot install the updates
msc_log("user", "apple_updates_user_cannot_install")
alert.informativeText = NSLocalizedString(
"There are one or more pending Apple Software Updates that require a restart.\n\nYour administrator has restricted installation of these updates. Contact your administrator for assistance.",
"Your administrator has restricted installation of these updates. Contact your administrator for assistance.",
comment: "Apple Software Updates Unable detail")
// disable insstall now button
alert.buttons[0].isEnabled = false
@@ -145,7 +145,7 @@ class MSCAlertController: NSObject {
// prompt user to install using System Preferences
msc_log("user", "apple_updates_pending")
alert.informativeText = NSLocalizedString(
"There are one or more pending Apple Software Updates that require a restart.\n\nYou must install these updates using Software Update in System Preferences.",
"You must install these updates using Software Update in System Preferences.",
comment: "Apple Software Updates Pending detail")
if shouldAggressivelyNotifyAboutAppleUpdates() {
// disable the skip button