equal
deleted
inserted
replaced
34 #import <Foundation/Foundation.h> |
34 #import <Foundation/Foundation.h> |
35 |
35 |
36 @implementation M3InstallController |
36 @implementation M3InstallController |
37 |
37 |
38 - (id) init { |
38 - (id) init { |
39 if (self = [super init]) { |
39 if ((self = [super init])) { |
40 NSString *appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"]; |
40 NSString *appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"]; |
41 NSString *title = [NSString stringWithFormat:NSLocalizedString(@"%@ is currently running from a disk image", @"AppName is currently running from a disk image"), appName]; |
41 NSString *title = [NSString stringWithFormat:NSLocalizedString(@"%@ is currently running from a disk image", @"AppName is currently running from a disk image"), appName]; |
42 NSString *body = [NSString stringWithFormat:NSLocalizedString(@"Would you like to install %@ in your applications folder before quitting?", @"Would you like to install App Name in your applications folder before quitting?"), appName]; |
42 NSString *body = [NSString stringWithFormat:NSLocalizedString(@"Would you like to install %@ in your applications folder before quitting?", @"Would you like to install App Name in your applications folder before quitting?"), appName]; |
43 alert = [[NSAlert alertWithMessageText:title |
43 alert = [[NSAlert alertWithMessageText:title |
44 defaultButton:NSLocalizedString(@"Install", @"Install") |
44 defaultButton:NSLocalizedString(@"Install", @"Install") |