mirror of
https://github.com/munki/munki.git
synced 2026-05-07 04:49:28 -05:00
fix preinstall_alert and preuninstall_alert unicode support
This commit is contained in:
+6
-1
@@ -939,7 +939,12 @@ class MSCMainWindowController(NSWindowController):
|
||||
|
||||
# show the alert sheet
|
||||
self.window().makeKeyAndOrderFront_(self)
|
||||
alert = NSAlert.alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat_(alertTitle, cancelLabel, OKLabel, nil, alertDetail)
|
||||
alert = NSAlert.alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat_(
|
||||
alertTitle,
|
||||
cancelLabel,
|
||||
OKLabel,
|
||||
nil,
|
||||
u"%@", NSLocalizedString(alertDetail, u'alertDetail text'))
|
||||
alert.beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_(self.window(), self, self.actionAlertDidEnd_returnCode_contextInfo_, nil)
|
||||
|
||||
def actionAlertDidEnd_returnCode_contextInfo_(self, alert, returncode, contextinfo):
|
||||
|
||||
Reference in New Issue
Block a user