mirror of
https://github.com/munki/munki.git
synced 2026-04-24 05:49:42 -05:00
Actually use updated Apple Updates alert strings
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user