diff --git a/NTSynchronousTask.h b/NTSynchronousTask.h index e8510731..be74ce38 100644 --- a/NTSynchronousTask.h +++ b/NTSynchronousTask.h @@ -25,6 +25,12 @@ // returns the result +(int) task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input output: (NSData**)outData; ++(NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input; + +- (void)run:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input; +- (int)result; +- (NSData *)output; + @end #endif diff --git a/NTSynchronousTask.m b/NTSynchronousTask.m index d564d243..1d2e3ef0 100644 --- a/NTSynchronousTask.m +++ b/NTSynchronousTask.m @@ -128,6 +128,7 @@ [[self task] setStandardInput:[self inputPipe]]; [[self task] setStandardOutput:[self outputPipe]]; + [[self task] setStandardError:[self outputPipe]]; } return self; diff --git a/SUDiskImageUnarchiver.m b/SUDiskImageUnarchiver.m index a905ee6b..95531974 100644 --- a/SUDiskImageUnarchiver.m +++ b/SUDiskImageUnarchiver.m @@ -12,7 +12,6 @@ #import "SULog.h" #import - @implementation SUDiskImageUnarchiver + (BOOL)canUnarchivePath:(NSString *)path @@ -20,11 +19,28 @@ return [[path pathExtension] isEqualToString:@"dmg"]; } +// Called on a non-main thread. - (void)extractDMG -{ - // GETS CALLED ON NON-MAIN THREAD!!! +{ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + NSData *result = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:[NSArray arrayWithObjects: @"isencrypted", archivePath, nil] input:NULL]; + if([self isEncrypted:result] && [delegate respondsToSelector:@selector(unarchiver:requiresPasswordReturnedViaInvocation:)]) { + [self performSelectorOnMainThread:@selector(requestPasswordFromDelegate) withObject:nil waitUntilDone:NO]; + } else { + [self extractDMGWithPassword:nil]; + } + + [pool release]; +} + +// Called on a non-main thread. +- (void)extractDMGWithPassword:(NSString *)password +{ + + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + BOOL mountedSuccessfully = NO; SULog(@"Extracting %@ as a DMG", archivePath); @@ -48,25 +64,52 @@ } } while (noErr == FSPathMakeRefWithOptions((UInt8 *)[mountPoint fileSystemRepresentation], kFSPathMakeRefDoNotFollowLeafSymlink, &tmpRef, NULL)); + + NSData *promptData = nil; + if (password) { + NSString *data = [NSString stringWithFormat:@"%@\nyes\n", password]; + const char *bytes = [data cStringUsingEncoding:NSUTF8StringEncoding]; + NSUInteger length = [data lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; + promptData = [NSData dataWithBytes:bytes length:length]; + } + else + promptData = [NSData dataWithBytes:"yes\n" length:4]; - NSArray* arguments = [NSArray arrayWithObjects:@"attach", archivePath, @"-mountpoint", mountPoint, /*@"-noverify",*/ @"-nobrowse", @"-noautoopen", nil]; - // set up a pipe and push "yes" (y works too), this will accept any license agreement crap - // not every .dmg needs this, but this will make sure it works with everyone - NSData* yesData = [[[NSData alloc] initWithBytes:"yes\n" length:4] autorelease]; + NSArray* arguments = [NSArray arrayWithObjects:@"attach", archivePath, @"-mountpoint", mountPoint, /*@"-noverify",*/ @"-nobrowse", @"-noautoopen", nil]; + + NSData *output = nil; + NSInteger taskResult = -1; + @try + { + NTSynchronousTask* task = [[NTSynchronousTask alloc] init]; + + [task run:@"/usr/bin/hdiutil" directory:@"/" withArgs:arguments input:promptData]; + + taskResult = [task result]; + output = [[[task output] copy] autorelease]; + [task release]; + } + @catch (NSException *localException) + { + goto reportError; + } - NSData *output = nil; - int returnCode = [NTSynchronousTask task:@"/usr/bin/hdiutil" directory:@"/" withArgs:arguments input:yesData output: &output]; - if ( returnCode != 0 ) + if (taskResult != 0) { NSString* resultStr = output ? [[[NSString alloc] initWithData: output encoding: NSUTF8StringEncoding] autorelease] : nil; - SULog( @"hdiutil failed with code: %d data: <<%@>>", returnCode, resultStr ); - goto reportError; + if (password != nil && [resultStr rangeOfString:@"Authentication error"].location != NSNotFound && [delegate respondsToSelector:@selector(unarchiver:requiresPasswordReturnedViaInvocation:)]) { + [self performSelectorOnMainThread:@selector(requestPasswordFromDelegate) withObject:nil waitUntilDone:NO]; + goto finally; + } else { + SULog( @"hdiutil failed with code: %d data: <<%@>>", taskResult, resultStr ); + goto reportError; + } } mountedSuccessfully = YES; // Now that we've mounted it, we need to copy out its contents. - if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5) { - // On 10.6 and later we don't want to use the File Manager API and instead want to use NSFileManager (fixes #827357). + if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) { + // On 10.7 and later we don't want to use the File Manager API and instead want to use NSFileManager (fixes #827357). NSFileManager *manager = [[[NSFileManager alloc] init] autorelease]; NSError *error = nil; NSArray *contents = [manager contentsOfDirectoryAtPath:mountPoint error:&error]; @@ -91,7 +134,7 @@ if (![manager copyItemAtPath:fromPath toPath:toPath error:&error]) { - SULog(@"Couldn't copy item: %@", error); + SULog(@"Couldn't copy item: %@ : %@", error, error.userInfo ? error.userInfo : @""); goto reportError; } } @@ -132,4 +175,32 @@ finally: [self registerImplementation:self]; } +- (BOOL)isEncrypted:(NSData*)resultData +{ + BOOL result = NO; + if(resultData) + { + NSString *data = [NSString stringWithCString:(char*)[resultData bytes] encoding:NSUTF8StringEncoding]; + if (!NSEqualRanges([data rangeOfString:@"passphrase-count"], NSMakeRange(NSNotFound, 0))) + { + result = YES; + } + } + return result; +} + +- (void)requestPasswordFromDelegate +{ + NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[self methodSignatureForSelector:@selector(continueWithPassword:)]]; + [invocation setSelector:@selector(continueWithPassword:)]; + [invocation setTarget:self]; + [invocation retainArguments]; + [delegate unarchiver:self requiresPasswordReturnedViaInvocation:invocation]; +} + +- (void)continueWithPassword:(NSString *)password +{ + [NSThread detachNewThreadSelector:@selector(extractDMGWithPassword:) toTarget:self withObject:password]; +} + @end diff --git a/SUInstaller.h b/SUInstaller.h index b91cbf62..c62a6aa2 100644 --- a/SUInstaller.h +++ b/SUInstaller.h @@ -14,9 +14,9 @@ @class SUHost; @interface SUInstaller : NSObject { } -+ (NSString *)appPathInUpdateFolder:(NSString *)updateFolder forHost:(SUHost *)host; -+ (void) installFromUpdateFolder:(NSString *)updateFolder overHost:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; -+ (void) finishInstallationWithResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate; ++ (NSString *) appPathInUpdateFolder:(NSString *)updateFolder forHost:(SUHost *)host; ++ (void) installFromUpdateFolder:(NSString *)updateFolder overHost:(SUHost *)host installationPath:(NSString *)installationPath delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; ++ (void) finishInstallationToPath:(NSString *)installationPath withResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate; + (NSString*) updateFolder; + (void) notifyDelegateOfFailure: (NSDictionary*)dict; @end diff --git a/SUInstaller.m b/SUInstaller.m index 282fc95a..7294ce50 100644 --- a/SUInstaller.m +++ b/SUInstaller.m @@ -117,22 +117,22 @@ static NSString* sUpdateFolder = nil; return isPackage ? nil : path; } -+ (void)installFromUpdateFolder:(NSString *)inUpdateFolder overHost:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator ++ (void)installFromUpdateFolder:(NSString *)inUpdateFolder overHost:(SUHost *)host installationPath:(NSString *)installationPath delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator { BOOL isPackage = NO; NSString *newAppDownloadPath = [self installSourcePathInUpdateFolder:inUpdateFolder forHost:host isPackage:&isPackage]; if (newAppDownloadPath == nil) { - [self finishInstallationWithResult:NO host:host error:[NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingUpdateError userInfo:[NSDictionary dictionaryWithObject:@"Couldn't find an appropriate update in the downloaded package." forKey:NSLocalizedDescriptionKey]] delegate:delegate]; + [self finishInstallationToPath:installationPath withResult:NO host:host error:[NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingUpdateError userInfo:[NSDictionary dictionaryWithObject:@"Couldn't find an appropriate update in the downloaded package." forKey:NSLocalizedDescriptionKey]] delegate:delegate]; } else { - [(isPackage ? [SUPackageInstaller class] : [SUPlainInstaller class]) performInstallationWithPath:newAppDownloadPath host:host delegate:delegate synchronously:synchronously versionComparator:comparator]; + [(isPackage ? [SUPackageInstaller class] : [SUPlainInstaller class]) performInstallationToPath:installationPath fromPath:newAppDownloadPath host:host delegate:delegate synchronously:synchronously versionComparator:comparator]; } } -+ (void)mdimportHost:(SUHost *)host ++ (void)mdimportInstallationPath:(NSString *)installationPath { // *** GETS CALLED ON NON-MAIN THREAD! @@ -140,7 +140,7 @@ static NSString* sUpdateFolder = nil; NSTask *mdimport = [[[NSTask alloc] init] autorelease]; [mdimport setLaunchPath:@"/usr/bin/mdimport"]; - [mdimport setArguments:[NSArray arrayWithObject:[host installationPath]]]; + [mdimport setArguments:[NSArray arrayWithObject:installationPath]]; @try { [mdimport launch]; @@ -158,11 +158,11 @@ static NSString* sUpdateFolder = nil; #define SUNotifyDictErrorKey @"SUNotifyDictError" #define SUNotifyDictDelegateKey @"SUNotifyDictDelegate" -+ (void)finishInstallationWithResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate ++ (void)finishInstallationToPath:(NSString *)installationPath withResult:(BOOL)result host:(SUHost *)host error:(NSError *)error delegate:delegate { if (result) { - [self mdimportHost:host]; + [self mdimportInstallationPath:installationPath]; if ([delegate respondsToSelector:@selector(installerFinishedForHost:)]) [delegate performSelectorOnMainThread: @selector(installerFinishedForHost:) withObject: host waitUntilDone: NO]; } diff --git a/SUPackageInstaller.m b/SUPackageInstaller.m index 0eb24d92..f754231f 100644 --- a/SUPackageInstaller.m +++ b/SUPackageInstaller.m @@ -14,12 +14,13 @@ NSString *SUPackageInstallerCommandKey = @"SUPackageInstallerCommand"; NSString *SUPackageInstallerArgumentsKey = @"SUPackageInstallerArguments"; NSString *SUPackageInstallerHostKey = @"SUPackageInstallerHost"; NSString *SUPackageInstallerDelegateKey = @"SUPackageInstallerDelegate"; +NSString *SUPackageInstallerInstallationPathKey = @"SUPackageInstallerInstallationPathKey"; @implementation SUPackageInstaller + (void)finishInstallationWithInfo:(NSDictionary *)info { - [self finishInstallationWithResult:YES host:[info objectForKey:SUPackageInstallerHostKey] error:nil delegate:[info objectForKey:SUPackageInstallerDelegateKey]]; + [self finishInstallationToPath:[info objectForKey:SUPackageInstallerInstallationPathKey] withResult:YES host:[info objectForKey:SUPackageInstallerHostKey] error:nil delegate:[info objectForKey:SUPackageInstallerDelegateKey]]; } + (void)performInstallationWithInfo:(NSDictionary *)info @@ -35,7 +36,7 @@ NSString *SUPackageInstallerDelegateKey = @"SUPackageInstallerDelegate"; [pool drain]; } -+ (void)performInstallationWithPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator { NSString *command; NSArray *args; @@ -56,11 +57,11 @@ NSString *SUPackageInstallerDelegateKey = @"SUPackageInstallerDelegate"; if (![[NSFileManager defaultManager] fileExistsAtPath:command]) { NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUMissingInstallerToolError userInfo:[NSDictionary dictionaryWithObject:@"Couldn't find Apple's installer tool!" forKey:NSLocalizedDescriptionKey]]; - [self finishInstallationWithResult:NO host:host error:error delegate:delegate]; + [self finishInstallationToPath:installationPath withResult:NO host:host error:error delegate:delegate]; } else { - NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:command, SUPackageInstallerCommandKey, args, SUPackageInstallerArgumentsKey, host, SUPackageInstallerHostKey, delegate, SUPackageInstallerDelegateKey, nil]; + NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:command, SUPackageInstallerCommandKey, args, SUPackageInstallerArgumentsKey, host, SUPackageInstallerHostKey, delegate, SUPackageInstallerDelegateKey, installationPath, SUPackageInstallerInstallationPathKey, nil]; if (synchronously) [self performInstallationWithInfo:info]; else diff --git a/SUPasswordPrompt.h b/SUPasswordPrompt.h new file mode 100644 index 00000000..c70372a5 --- /dev/null +++ b/SUPasswordPrompt.h @@ -0,0 +1,26 @@ +// +// SUPasswordPrompt.h +// Sparkle +// +// Created by rudy on 8/18/09. +// Copyright 2009 Ambrosia Software, Inc.. All rights reserved. +// + +#import +#import "Sparkle/SUWindowController.h" + +@interface SUPasswordPrompt : SUWindowController +{ + IBOutlet NSImageView *mIconView; + IBOutlet NSTextField *mTextDescription; + IBOutlet NSSecureTextField *mPasswordField; + NSString *mPassword; + NSString *mName; + NSImage *mIcon; +} + +- (id)initWithHost:(SUHost *)aHost; +- (NSInteger)run; +- (NSString *)password; + +@end diff --git a/SUPasswordPrompt.m b/SUPasswordPrompt.m new file mode 100644 index 00000000..4cff46dc --- /dev/null +++ b/SUPasswordPrompt.m @@ -0,0 +1,86 @@ +// +// SUPasswordPrompt.m +// Sparkle +// +// Created by rudy on 8/18/09. +// Copyright 2009 Ambrosia Software, Inc.. All rights reserved. +// + +#import "SUPasswordPrompt.h" + + +@implementation SUPasswordPrompt + +- (id)initWithHost:(SUHost *)aHost +{ + self = [super initWithHost:aHost windowNibName:@"SUPasswordPrompt"]; + if (self) + { + [self setName:[aHost name]]; + [self setIcon:[aHost icon]]; + mPassword = nil; + [self setShouldCascadeWindows:NO]; + } + return self; +} + +- (void)awakeFromNib +{ + [mIconView setImage:[self icon]]; +} + +- (void)setName:(NSString*)name +{ + [mName release]; + mName = [name retain]; +} + +- (NSString*)name +{ + return mName; +} + +- (void)setIcon:(NSImage*)icon +{ + [mIcon release]; + mIcon = [icon retain]; +} + +- (NSImage*)icon +{ + return mIcon; +} + +- (NSString *)password +{ + return mPassword; +} + +- (void)setPassword:(NSString*)password +{ + [mPassword release]; + mPassword = [password retain]; +} + +- (NSInteger)run +{ + //modally run a password prompt + NSInteger result = [NSApp runModalForWindow:[self window]]; + if(result) + [self setPassword:[mPasswordField stringValue]]; + return result; +} + +- (IBAction)accept:(id)sender +{ + [[self window] orderOut:self]; + [NSApp stopModalWithCode:1]; +} + +- (IBAction)cancel:(id)sender +{ + [[self window] orderOut:self]; + [NSApp stopModalWithCode:0]; +} + +@end diff --git a/SUPlainInstaller.h b/SUPlainInstaller.h index 2172e82c..e75f0401 100644 --- a/SUPlainInstaller.h +++ b/SUPlainInstaller.h @@ -20,7 +20,7 @@ @class SUHost; @interface SUPlainInstaller : SUInstaller { } -+ (void)performInstallationWithPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator; @end #endif diff --git a/SUPlainInstaller.m b/SUPlainInstaller.m index 33d42683..62675c8c 100644 --- a/SUPlainInstaller.m +++ b/SUPlainInstaller.m @@ -18,6 +18,7 @@ static NSString * const SUInstallerHostKey = @"SUInstallerHost"; static NSString * const SUInstallerDelegateKey = @"SUInstallerDelegate"; static NSString * const SUInstallerResultKey = @"SUInstallerResult"; static NSString * const SUInstallerErrorKey = @"SUInstallerError"; +static NSString * const SUInstallerInstallationPathKey = @"SUInstallerInstallationPath"; @implementation SUPlainInstaller @@ -25,7 +26,7 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; { // *** GETS CALLED ON NON-MAIN THREAD! - [self finishInstallationWithResult:[[info objectForKey:SUInstallerResultKey] boolValue] host:[info objectForKey:SUInstallerHostKey] error:[info objectForKey:SUInstallerErrorKey] delegate:[info objectForKey:SUInstallerDelegateKey]]; + [self finishInstallationToPath:[info objectForKey:SUInstallerInstallationPathKey] withResult:[[info objectForKey:SUInstallerResultKey] boolValue] host:[info objectForKey:SUInstallerHostKey] error:[info objectForKey:SUInstallerErrorKey] delegate:[info objectForKey:SUInstallerDelegateKey]]; } + (void)performInstallationWithInfo:(NSDictionary *)info @@ -37,7 +38,7 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; NSError *error = nil; NSString * oldPath = [[info objectForKey:SUInstallerHostKey] bundlePath]; - NSString * installationPath = [[info objectForKey:SUInstallerHostKey] installationPath]; + NSString * installationPath = [info objectForKey:SUInstallerInstallationPathKey]; BOOL result = [self copyPathWithAuthentication:[info objectForKey:SUInstallerPathKey] overPath: installationPath temporaryName:[info objectForKey:SUInstallerTempNameKey] error:&error]; if( result ) @@ -49,6 +50,7 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; } NSMutableDictionary *mutableInfo = [[info mutableCopy] autorelease]; [mutableInfo setObject:[NSNumber numberWithBool:result] forKey:SUInstallerResultKey]; + [mutableInfo setObject:installationPath forKey:SUInstallerInstallationPathKey]; if (!result && error) [mutableInfo setObject:error forKey:SUInstallerErrorKey]; [self performSelectorOnMainThread:@selector(finishInstallationWithInfo:) withObject:mutableInfo waitUntilDone:NO]; @@ -56,7 +58,7 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; [pool drain]; } -+ (void)performInstallationWithPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator ++ (void)performInstallationToPath:(NSString *)installationPath fromPath:(NSString *)path host:(SUHost *)host delegate:delegate synchronously:(BOOL)synchronously versionComparator:(id )comparator { // Prevent malicious downgrades: #if !PERMIT_AUTOMATED_DOWNGRADES @@ -64,14 +66,14 @@ static NSString * const SUInstallerErrorKey = @"SUInstallerError"; { NSString * errorMessage = [NSString stringWithFormat:@"Sparkle Updater: Possible attack in progress! Attempting to \"upgrade\" from %@ to %@. Aborting update.", [host version], [[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:@"CFBundleVersion"]]; NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUDowngradeError userInfo:[NSDictionary dictionaryWithObject:errorMessage forKey:NSLocalizedDescriptionKey]]; - [self finishInstallationWithResult:NO host:host error:error delegate:delegate]; + [self finishInstallationToPath:installationPath withResult:NO host:host error:error delegate:delegate]; return; } #endif NSString *targetPath = [host installationPath]; NSString *tempName = [self temporaryNameForPath:targetPath]; - NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:path, SUInstallerPathKey, targetPath, SUInstallerTargetPathKey, tempName, SUInstallerTempNameKey, host, SUInstallerHostKey, delegate, SUInstallerDelegateKey, nil]; + NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:path, SUInstallerPathKey, targetPath, SUInstallerTargetPathKey, tempName, SUInstallerTempNameKey, host, SUInstallerHostKey, delegate, SUInstallerDelegateKey, installationPath, SUInstallerInstallationPathKey, nil]; if (synchronously) [self performInstallationWithInfo:info]; else diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index 2b209590..dc37e056 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -13,6 +13,7 @@ #import "SUHost.h" #import "SUStatusController.h" #import "SUConstants.h" +#import "SUPasswordPrompt.h" @implementation SUUIBasedUpdateDriver @@ -160,6 +161,19 @@ [NSApp requestUserAttention:NSInformationalRequest]; } +- (void)unarchiver:(SUUnarchiver *)unarchiver requiresPasswordReturnedViaInvocation:(NSInvocation *)invocation +{ + SUPasswordPrompt *prompt = [[SUPasswordPrompt alloc] initWithHost:host]; + NSString *password = nil; + if([prompt run]) + { + password = [prompt password]; + } + [prompt release]; + [invocation setArgument:&password atIndex:2]; + [invocation invoke]; +} + - (void)installAndRestart: (id)sender { [self installWithToolAndRelaunch:YES]; diff --git a/SUUnarchiver.h b/SUUnarchiver.h index 261187c5..c726d174 100644 --- a/SUUnarchiver.h +++ b/SUUnarchiver.h @@ -28,6 +28,7 @@ - (void)unarchiver:(SUUnarchiver *)unarchiver extractedLength:(unsigned long)length; - (void)unarchiverDidFinish:(SUUnarchiver *)unarchiver; - (void)unarchiverDidFail:(SUUnarchiver *)unarchiver; +- (void)unarchiver:(SUUnarchiver *)unarchiver requiresPasswordReturnedViaInvocation:(NSInvocation *)invocation; @end #endif diff --git a/SUUpdateDriver.h b/SUUpdateDriver.h index 1a305d11..9e8a73e2 100644 --- a/SUUpdateDriver.h +++ b/SUUpdateDriver.h @@ -27,6 +27,8 @@ extern NSString * const SUUpdateDriverFinishedNotification; - (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)host; - (void)abortUpdate; - (BOOL)finished; +- (SUHost*)host; +- (void)setHost:(SUHost*)newHost; @end diff --git a/SUUpdateDriver.m b/SUUpdateDriver.m index d98282a9..e1bae4ee 100644 --- a/SUUpdateDriver.m +++ b/SUUpdateDriver.m @@ -42,4 +42,15 @@ NSString * const SUUpdateDriverFinishedNotification = @"SUUpdateDriverFinished"; [super dealloc]; } +- (SUHost*)host +{ + return host; +} + +- (void)setHost:(SUHost*)newHost +{ + [host release]; + host = [newHost retain]; +} + @end diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index cd5c2ec9..8b435b4b 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -130,9 +130,17 @@ 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 61EF67580E25C5B400F754E0 /* SUHost.h */; }; + 61F3AC1315C22D4A00260CA2 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; + 61F3AC1815C22D5900260CA2 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; + 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; + 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; + 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; + 93FB277A156BD80D001937C7 /* SUPasswordPrompt.h in Headers */ = {isa = PBXBuildFile; fileRef = 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */; }; + 93FB277B156BD80D001937C7 /* SUPasswordPrompt.m in Sources */ = {isa = PBXBuildFile; fileRef = 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */; }; + 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -284,6 +292,7 @@ 61131A050F846CE600E97AF6 /* da */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/Sparkle.strings; sourceTree = ""; }; 61131A090F846D0A00E97AF6 /* zh_CN */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_CN; path = zh_CN.lproj/Sparkle.strings; sourceTree = ""; }; 61131A0A0F846D1100E97AF6 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = zh_TW; path = zh_TW.lproj/Sparkle.strings; sourceTree = ""; }; + 6113C9D315BE1D3600C303E7 /* pt_BR */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt_BR; path = pt_BR.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; 6117796E0D1112E000749C97 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; 61180BC80D64138900B4E0D1 /* SUWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUWindowController.h; sourceTree = ""; }; 61180BC90D64138900B4E0D1 /* SUWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUWindowController.m; sourceTree = ""; }; @@ -380,11 +389,19 @@ 61E31A80103299500051D188 /* pt_BR */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = pt_BR; path = pt_BR.lproj/Sparkle.strings; sourceTree = ""; }; 61EF67550E25B58D00F754E0 /* SUHost.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUHost.m; sourceTree = ""; }; 61EF67580E25C5B400F754E0 /* SUHost.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUHost.h; sourceTree = ""; }; + 61F3AC1215C22D4A00260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Sparkle.strings; sourceTree = ""; }; + 61F3AC1415C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 61F3AC1515C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; + 61F3AC1615C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 61F3AC1715C22D5900260CA2 /* th */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = th; path = th.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61F614540E24A12D009F47E7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBasicUpdateDriver.h; sourceTree = ""; }; 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* Sparkle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sparkle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPasswordPrompt.h; sourceTree = ""; }; + 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUPasswordPrompt.m; sourceTree = ""; }; + 93FB277E156BD826001937C7 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/SUPasswordPrompt.xib; sourceTree = ""; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; FA1941CB0D94A70100DD942E /* ConfigTestAppDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigTestAppDebug.xcconfig; sourceTree = ""; }; FA1941CC0D94A70100DD942E /* ConfigCommonRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigCommonRelease.xcconfig; sourceTree = ""; }; @@ -522,6 +539,7 @@ 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */, 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */, 55C14BD8136EF00C00649790 /* SUStatus.xib */, + 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */, ); name = "Framework Resources"; sourceTree = ""; @@ -612,6 +630,8 @@ 612DCBAE0D488BC60015DBEA /* SUUpdatePermissionPrompt.m */, 61180BC80D64138900B4E0D1 /* SUWindowController.h */, 61180BC90D64138900B4E0D1 /* SUWindowController.m */, + 93FB2778156BD80D001937C7 /* SUPasswordPrompt.h */, + 93FB2779156BD80D001937C7 /* SUPasswordPrompt.m */, ); name = "User Interface"; sourceTree = ""; @@ -778,6 +798,7 @@ 55C14F06136EF6DB00649790 /* SULog.h in Headers */, 55C14F0F136EF73600649790 /* finish_installation.pch in Headers */, 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */, + 93FB277A156BD80D001937C7 /* SUPasswordPrompt.h in Headers */, 61B078CE15A5FB6100600039 /* SUCodeSigningVerifier.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; @@ -988,6 +1009,12 @@ 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */, 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */, + 93FB277F156BD826001937C7 /* SUPasswordPrompt.xib in Resources */, + 61F3AC1315C22D4A00260CA2 /* Sparkle.strings in Resources */, + 61F3AC1815C22D5900260CA2 /* Sparkle.strings in Resources */, + 61F3AC1915C22D5900260CA2 /* SUUpdatePermissionPrompt.xib in Resources */, + 61F3AC1A15C22D5900260CA2 /* SUUpdateAlert.xib in Resources */, + 61F3AC1B15C22D5900260CA2 /* SUAutomaticUpdateAlert.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1151,6 +1178,7 @@ 5D06E8ED0FD68CE4005AE3F6 /* SUBinaryDeltaCommon.m in Sources */, 5D06E93A0FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m in Sources */, 55C14F07136EF6DB00649790 /* SULog.m in Sources */, + 93FB277B156BD80D001937C7 /* SUPasswordPrompt.m in Sources */, 61B078CF15A5FB6100600039 /* SUCodeSigningVerifier.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -1207,6 +1235,7 @@ 61DEC11C1477568300931268 /* ro */, 61BA66DA14BDFC5500D02D86 /* sl */, 0263187514FEBB42005EBF43 /* uk */, + 61F3AC1415C22D5900260CA2 /* th */, ); name = SUAutomaticUpdateAlert.xib; sourceTree = ""; @@ -1237,6 +1266,7 @@ 61DEC11A1477567800931268 /* ro */, 61BA66DB14BDFC5500D02D86 /* sl */, 0263187614FEBB42005EBF43 /* uk */, + 61F3AC1615C22D5900260CA2 /* th */, ); name = SUUpdateAlert.xib; sourceTree = ""; @@ -1267,6 +1297,7 @@ 61DEC1181477566800931268 /* ro */, 61BA66DC14BDFC5500D02D86 /* sl */, 0263187714FEBB42005EBF43 /* uk */, + 61F3AC1715C22D5900260CA2 /* th */, ); name = SUUpdatePermissionPrompt.xib; sourceTree = ""; @@ -1295,6 +1326,7 @@ 61DEC1161477565C00931268 /* ro */, 61BA66CC14BDFA0400D02D86 /* sl */, 0263187214FEBB31005EBF43 /* uk */, + 61F3AC1215C22D4A00260CA2 /* th */, ); name = Sparkle.strings; sourceTree = ""; @@ -1315,6 +1347,16 @@ name = MainMenu.nib; sourceTree = ""; }; + 93FB277D156BD826001937C7 /* SUPasswordPrompt.xib */ = { + isa = PBXVariantGroup; + children = ( + 93FB277E156BD826001937C7 /* en */, + 6113C9D315BE1D3600C303E7 /* pt_BR */, + 61F3AC1515C22D5900260CA2 /* th */, + ); + name = SUPasswordPrompt.xib; + sourceTree = ""; + }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ diff --git a/en.lproj/SUPasswordPrompt.xib b/en.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..2002c8e7 --- /dev/null +++ b/en.lproj/SUPasswordPrompt.xib @@ -0,0 +1,606 @@ + + + + 1050 + 12A251 + 2488 + 1183 + 622.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2488 + + + YES + NSButton + NSButtonCell + NSCustomObject + NSImageCell + NSImageView + NSSecureTextField + NSSecureTextFieldCell + NSTextField + NSTextFieldCell + NSView + NSWindowTemplate + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {394, 118}} + 544736256 + Password + NSWindow + + + + + 256 + + YES + + + 290 + {{179, 49}, {195, 22}} + + + + YES + + 342884416 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + NO + + + + 292 + {{106, 51}, {68, 17}} + + + + YES + + 68157504 + 272630784 + Password: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + NO + + + + 289 + {{297, 13}, {83, 32}} + + + YES + + 67108864 + 134217728 + Unlock + + + -2038284288 + 129 + + DQ + 200 + 25 + + NO + + + + 289 + {{215, 13}, {82, 32}} + + + + YES + + 67108864 + 134217728 + Cancel + + + -2038284288 + 129 + + Gw + 200 + 25 + + NO + + + + 266 + {{106, 86}, {271, 17}} + + + + YES + + 67108864 + 272629760 + This update is locked with a password. + + LucidaGrande-Bold + 13 + 16 + + + + + + NO + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 39}, {64, 64}} + + + + YES + + 0 + 33554432 + 0 + 0 + 0 + NO + + NO + YES + + + {394, 118} + + + + + {{0, 0}, {1440, 878}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + accept: + cancel: + + + YES + id + id + + + + YES + + YES + accept: + cancel: + + + YES + + accept: + id + + + cancel: + id + + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + diff --git a/finish_installation.m b/finish_installation.m index c0d2cc69..740de4b4 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -19,6 +19,7 @@ pid_t parentprocessid; const char *folderpath; NSString *selfPath; + NSString *installationPath; NSTimer *watchdogTimer; NSTimer *longInstallationTimer; SUHost *host; @@ -69,6 +70,8 @@ [selfPath release]; selfPath = nil; + + [installationPath release]; [watchdogTimer release]; watchdogTimer = nil; @@ -115,7 +118,7 @@ if( !folderpath || strcmp(executablepath, hostpath) != 0 ) appPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablepath length:strlen(executablepath)]; else - appPath = [host installationPath]; + appPath = installationPath; [[NSWorkspace sharedWorkspace] openFile: appPath]; } @@ -139,6 +142,7 @@ { NSBundle *theBundle = [NSBundle bundleWithPath: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: hostpath length:strlen(hostpath)]]; host = [[SUHost alloc] initWithBundle: theBundle]; + installationPath = [[host installationPath] copy]; // Perhaps a poor assumption but: if we're not relaunching, we assume we shouldn't be showing any UI either. Because non-relaunching installations are kicked off without any user interaction, we shouldn't be interrupting them. if (shouldRelaunch) { @@ -151,6 +155,7 @@ [SUInstaller installFromUpdateFolder: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: folderpath length: strlen(folderpath)] overHost: host + installationPath: installationPath delegate: self synchronously: NO versionComparator: [SUStandardVersionComparator defaultComparator]]; } diff --git a/pt-BR.lproj/SUPasswordPrompt.xib b/pt-BR.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..2002c8e7 --- /dev/null +++ b/pt-BR.lproj/SUPasswordPrompt.xib @@ -0,0 +1,606 @@ + + + + 1050 + 12A251 + 2488 + 1183 + 622.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2488 + + + YES + NSButton + NSButtonCell + NSCustomObject + NSImageCell + NSImageView + NSSecureTextField + NSSecureTextFieldCell + NSTextField + NSTextFieldCell + NSView + NSWindowTemplate + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {394, 118}} + 544736256 + Password + NSWindow + + + + + 256 + + YES + + + 290 + {{179, 49}, {195, 22}} + + + + YES + + 342884416 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + NO + + + + 292 + {{106, 51}, {68, 17}} + + + + YES + + 68157504 + 272630784 + Password: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + NO + + + + 289 + {{297, 13}, {83, 32}} + + + YES + + 67108864 + 134217728 + Unlock + + + -2038284288 + 129 + + DQ + 200 + 25 + + NO + + + + 289 + {{215, 13}, {82, 32}} + + + + YES + + 67108864 + 134217728 + Cancel + + + -2038284288 + 129 + + Gw + 200 + 25 + + NO + + + + 266 + {{106, 86}, {271, 17}} + + + + YES + + 67108864 + 272629760 + This update is locked with a password. + + LucidaGrande-Bold + 13 + 16 + + + + + + NO + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 39}, {64, 64}} + + + + YES + + 0 + 33554432 + 0 + 0 + 0 + NO + + NO + YES + + + {394, 118} + + + + + {{0, 0}, {1440, 878}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + accept: + cancel: + + + YES + id + id + + + + YES + + YES + accept: + cancel: + + + YES + + accept: + id + + + cancel: + id + + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + diff --git a/pt_BR.lproj/SUAutomaticUpdateAlert.strings b/pt_BR.lproj/SUAutomaticUpdateAlert.strings new file mode 100644 index 00000000..026b7ef5 Binary files /dev/null and b/pt_BR.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/pt_BR.lproj/SUAutomaticUpdateAlert.xib b/pt_BR.lproj/SUAutomaticUpdateAlert.xib index 00b22d6a..735cf1d4 100644 --- a/pt_BR.lproj/SUAutomaticUpdateAlert.xib +++ b/pt_BR.lproj/SUAutomaticUpdateAlert.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11E53 + 2182 + 1138.47 + 569.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 2182 YES @@ -28,11 +28,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -48,7 +45,7 @@ 1 2 - {{114, 521}, {597, 152}} + {{114, 521}, {559, 152}} 1886912512 @@ -82,6 +79,7 @@ {{23, 73}, {64, 64}} + YES 130560 @@ -100,9 +98,10 @@ 270 - {{105, 120}, {475, 17}} + {{105, 120}, {438, 17}} + YES 67239424 @@ -137,9 +136,10 @@ 270 - {{105, 81}, {475, 31}} + {{105, 81}, {438, 31}} + YES 67239424 @@ -158,14 +158,15 @@ 257 - {{413, 12}, {170, 32}} + {{383, 12}, {157, 32}} + YES 67239424 134217728 - Instalar e Recarregar + Instalar e Reiniciar LucidaGrande 13 @@ -184,14 +185,15 @@ 257 - {{269, 12}, {144, 32}} + {{230, 12}, {157, 32}} + YES 67239424 134217728 - Instalar e Fechar + Instalar ao Encerrar -2038284033 @@ -209,6 +211,7 @@ {{102, 12}, {116, 32}} + YES 67239424 @@ -233,11 +236,12 @@ {{105, 58}, {382, 18}} + YES 67239424 131072 - Receber e Instalar atualizações automaticamente da próxima vez + Sempre baixar e instalar atualizações automaticamente 1211912703 @@ -252,11 +256,12 @@ - {597, 152} + {559, 152} + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1366, 746}} {511, 174} {10000000000000, 10000000000000} YES @@ -268,6 +273,38 @@ YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + value: applicationIcon @@ -332,45 +369,15 @@ 19 - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - YES 0 - + + YES + @@ -530,17 +537,11 @@ -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 15.IBPluginDependency - 15.ImportedFromIB2 16.IBPluginDependency - 16.ImportedFromIB2 17.IBPluginDependency - 17.ImportedFromIB2 18.IBPluginDependency - 18.ImportedFromIB2 30.IBPluginDependency - 30.ImportedFromIB2 38.IBPluginDependency 39.IBPluginDependency 40.IBPluginDependency @@ -548,35 +549,24 @@ 42.IBPluginDependency 43.IBPluginDependency 44.IBPluginDependency - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 8.IBPluginDependency - 8.ImportedFromIB2 9.IBPluginDependency - 9.ImportedFromIB2 - + YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -586,16 +576,9 @@ com.apple.InterfaceBuilder.CocoaPlugin {{312, 717}, {559, 152}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 717}, {559, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - @@ -626,7 +609,7 @@ installLater: installNow: - + YES id id @@ -641,7 +624,7 @@ installLater: installNow: - + YES doNotInstall: diff --git a/pt_BR.lproj/SUPasswordPrompt.xib b/pt_BR.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..377da881 --- /dev/null +++ b/pt_BR.lproj/SUPasswordPrompt.xib @@ -0,0 +1,597 @@ + + + + 1050 + 11E53 + 2182 + 1138.47 + 569.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2182 + + + YES + NSTextField + NSView + NSWindowTemplate + NSSecureTextField + NSTextFieldCell + NSImageView + NSButtonCell + NSImageCell + NSButton + NSSecureTextFieldCell + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {394, 118}} + 544736256 + Senha + NSWindow + + + + + 256 + + YES + + + 290 + {{179, 49}, {195, 22}} + + + + YES + + 342884416 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + + + + 292 + {{128, 51}, {46, 17}} + + + + YES + + 68157504 + 272630784 + Senha: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + + + + 289 + {{321, 13}, {59, 32}} + + + + YES + + 67108864 + 134217728 + OK + + + -2038284288 + 129 + + DQ + 200 + 25 + + + + + 289 + {{229, 13}, {95, 32}} + + + + YES + + 67108864 + 134217728 + Cancelar + + + -2038284288 + 129 + + Gw + 200 + 25 + + + + + 266 + {{99, 79}, {278, 24}} + + + + YES + + 67108864 + 272629760 + Esta atualização encontra-se bloqueada. + + LucidaGrande-Bold + 13 + 16 + + + + + + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 39}, {64, 64}} + + + + YES + + 0 + 33554432 + 0 + 0 + 0 + NO + + YES + + + {394, 118} + + + + + {{0, 0}, {1366, 746}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + accept: + cancel: + + + YES + id + id + + + + YES + + YES + accept: + cancel: + + + YES + + accept: + id + + + cancel: + id + + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + diff --git a/pt_BR.lproj/SUStatus.strings b/pt_BR.lproj/SUStatus.strings new file mode 100644 index 00000000..ad32ad70 Binary files /dev/null and b/pt_BR.lproj/SUStatus.strings differ diff --git a/pt_BR.lproj/SUUpdateAlert.strings b/pt_BR.lproj/SUUpdateAlert.strings new file mode 100644 index 00000000..bb66fb22 Binary files /dev/null and b/pt_BR.lproj/SUUpdateAlert.strings differ diff --git a/pt_BR.lproj/SUUpdateAlert.xib b/pt_BR.lproj/SUUpdateAlert.xib index ef4f4c0f..aadef594 100644 --- a/pt_BR.lproj/SUUpdateAlert.xib +++ b/pt_BR.lproj/SUUpdateAlert.xib @@ -2,10 +2,10 @@ 1050 - 10C540 - 759 - 1038.25 - 458.00 + 11E53 + 2182 + 1138.47 + 569.00 YES @@ -13,29 +13,35 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - + YES - 759 - 759 + 2182 + 1117 - + YES - + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController YES - com.apple.WebKitIBPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin - YES - - YES - - - YES - + PluginDependencyRecalculationVersion + YES @@ -53,12 +59,12 @@ 2 {{248, 463}, {582, 375}} -260571136 - Atualizar Software + Atualização de Software NSWindow View - {3.40282e+38, 3.40282e+38} + {586, 370} @@ -82,6 +88,8 @@ {{20, 291}, {64, 64}} + + YES 130560 @@ -102,6 +110,8 @@ 264 {{102, 338}, {443, 17}} + + YES 67239424 @@ -119,7 +129,7 @@ controlColor 3 - MC42NjY2NjY2ODY1AA + MC42NjY2NjY2NjY3AA @@ -136,13 +146,15 @@ 268 - {{102, 280}, {443, 14}} + {{102, 277}, {443, 17}} + + YES 67239424 272629760 - Notas de Lançamento: + Sobre a atualização: LucidaGrande-Bold 11 @@ -156,13 +168,15 @@ 289 - {{238, 12}, {166, 32}} + {{303, 12}, {109, 32}} + + YES 67239424 134217728 - Lembrar Mais Tarde + Mais Tarde LucidaGrande 13 @@ -181,13 +195,15 @@ 288 - {{55, 12}, {163, 32}} + {{99, 12}, {149, 32}} + + YES 67239424 134217728 - Ignorar Esta Versão + Pular Esta Versão -2038284033 @@ -204,8 +220,10 @@ 289 - {{404, 12}, {164, 32}} + {{408, 12}, {160, 32}} + + YES -2080244224 @@ -229,7 +247,7 @@ YES - 256 + 274 YES @@ -258,6 +276,7 @@ {{-1, 0}, {456, 197}} + @@ -271,7 +290,7 @@ WebKitDefaultFontSize WebKitMinimumFontSize - + YES @@ -285,10 +304,14 @@ {{1, 1}, {455, 197}} + + {{105, 76}, {457, 199}} + + {0, 0} 67239424 @@ -324,6 +347,8 @@ 266 {{102, 302}, {463, 28}} + + YES 67239424 @@ -342,13 +367,15 @@ 256 - {{102, 50}, {442, 16}} + {{102, 48}, {442, 18}} + + YES 67239424 131072 - Receber e Instalar atualizações automaticamente da próxima vez + Sempre baixar e instalar atualizações automaticamente 1211912703 @@ -365,11 +392,14 @@ {582, 375} + + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1366, 746}} {586, 392} - {3.40282e+38, 3.40282e+38} + {10000000000000, 10000000000000} + YES YES @@ -378,6 +408,70 @@ YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + delegate + + + + 50 + value: applicationIcon @@ -410,46 +504,6 @@ 11 - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - hidden: showsReleaseNotes @@ -470,74 +524,6 @@ 72 - - - installUpdate: - - - - 77 - - - - value: descriptionText - - - - - - value: descriptionText - value - descriptionText - 2 - - - 103 - - - - description - - - - 105 - - - - value: values.SUAutomaticallyUpdate - - - - - - value: values.SUAutomaticallyUpdate - value - values.SUAutomaticallyUpdate - 2 - - - 135 - - - - hidden: allowsAutomaticUpdates - - - - - - hidden: allowsAutomaticUpdates - hidden - allowsAutomaticUpdates - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 141 - hidden: showsReleaseNotes @@ -579,12 +565,56 @@ 164 - - installButton - - + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + - 176 + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 @@ -592,7 +622,9 @@ YES 0 - + + YES + @@ -779,18 +811,15 @@ YES YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 10.IBPluginDependency - 10.ImportedFromIB2 101.IBPluginDependency - 101.ImportedFromIB2 117.IBPluginDependency - 117.ImportedFromIB2 168.IBPluginDependency 169.IBPluginDependency 17.IBPluginDependency - 17.ImportedFromIB2 170.IBPluginDependency 171.IBPluginDependency 172.IBPluginDependency @@ -798,42 +827,27 @@ 174.IBPluginDependency 175.IBPluginDependency 18.IBPluginDependency - 18.ImportedFromIB2 22.IBPluginDependency - 22.ImportedFromIB2 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 5.windowTemplate.minSize 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 76.IBPluginDependency - 76.ImportedFromIB2 89.IBPluginDependency - 89.ImportedFromIB2 93.IBPluginDependency - 93.ImportedFromIB2 - + YES com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -841,43 +855,27 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{347, 240}, {582, 375}} com.apple.InterfaceBuilder.CocoaPlugin {{347, 240}, {582, 375}} - - - {586, 370} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - + YES - - YES - + 176 @@ -885,78 +883,6 @@ YES - - FirstResponder - NSObject - - IBUserSource - - - - - NSApplication - NSResponder - - IBUserSource - - - - - NSObject - - IBProjectSource - SUAppcast.h - - - - NSObject - - IBProjectSource - SUAutomaticUpdateAlert.h - - - - NSObject - - IBProjectSource - SUInstaller.h - - - - NSObject - - IBProjectSource - SUUnarchiver.h - - - - NSObject - - IBProjectSource - SUUpdateAlert.h - - - - NSObject - - IBProjectSource - SUUpdatePermissionPrompt.h - - - - NSObject - - IBProjectSource - SUUpdater.h - - - - NSObject - - IBUserSource - - - SUUpdateAlert SUWindowController @@ -968,13 +894,37 @@ remindMeLater: skipThisVersion: - + YES id id id + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + + installUpdate: + id + + + remindMeLater: + id + + + skipThisVersion: + id + + + YES @@ -985,7 +935,7 @@ releaseNotesView versionDisplayer - + YES id NSTextField @@ -994,14 +944,43 @@ id - - - - SUUpdateAlert - SUWindowController + + YES + + YES + delegate + description + installButton + releaseNotesView + versionDisplayer + + + YES + + delegate + id + + + description + NSTextField + + + installButton + NSButton + + + releaseNotesView + WebView + + + versionDisplayer + id + + + - IBUserSource - + IBProjectSource + ./Classes/SUUpdateAlert.h @@ -1009,601 +988,25 @@ NSWindowController IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h + ./Classes/SUWindowController.h WebView - NSView - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - id - id - id - id - id - id - id - id - id - id - id + reloadFromOrigin: + id + + + reloadFromOrigin: + + reloadFromOrigin: + id - IBFrameworkSource - WebKit.framework/Headers/WebView.h + IBProjectSource + ./Classes/WebView.h @@ -1614,16 +1017,11 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 NSApplicationIcon diff --git a/pt_BR.lproj/SUUpdatePermissionPrompt.strings b/pt_BR.lproj/SUUpdatePermissionPrompt.strings new file mode 100644 index 00000000..e69de29b diff --git a/pt_BR.lproj/SUUpdatePermissionPrompt.xib b/pt_BR.lproj/SUUpdatePermissionPrompt.xib index d5755937..7b47d313 100644 --- a/pt_BR.lproj/SUUpdatePermissionPrompt.xib +++ b/pt_BR.lproj/SUUpdatePermissionPrompt.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11E53 + 2182 + 1138.47 + 569.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 2182 YES @@ -34,11 +34,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -73,7 +70,7 @@ 257 - {{224, 12}, {208, 32}} + {{230, 12}, {197, 32}} 1 @@ -81,7 +78,7 @@ -2080244224 134217728 - Verificar Automaticamente + Buscar Automaticamente LucidaGrande 13 @@ -101,14 +98,14 @@ 257 - {{102, 12}, {122, 32}} + {{108, 12}, {111, 32}} YES 67239424 134217728 - Não Verificar + Não Buscar -2038284033 @@ -130,7 +127,7 @@ 67239424 272629760 - Verificar atualizações automaticamente? + Buscar atualizações automaticamente? LucidaGrande-Bold 13 @@ -167,7 +164,7 @@ 67239424 272629760 - DO NOT TRANSLATE + DO NOT LOCALIZE LucidaGrande 11 @@ -265,7 +262,7 @@ - {{0, 0}, {1920, 1178}} + {{0, 0}, {1366, 746}} {213, 129} {10000000000000, 10000000000000} YES @@ -286,7 +283,7 @@ YES - + 266 YES @@ -453,10 +450,10 @@ 67239424 272629760 - QSBpbmZvcm1hw6fDo28gYW7DtG5pbWEgZG8gcGVyZmlsIGRvIHNpc3RlbWEgw6kgdXNhZG8gcGFyYSBh -anVkYXItbm9zIG5vcyBwcsOzeGltb3MgZGVzZW52b2x2aW1lbnRvcy4gUG9yIGZhdm9yIGNvbnRhY3Rl -LW5vcyBzZSB2b2PDqiB0ZW0gcXVhaXNxdWVyIHBlcmd1bnRhcyBzb2JyZSBpc3RvLiAKCkVzdGEgw6kg -YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A + SW5mb3JtYcOnw7VlcyBhbsO0bmltYXMgZG8gc2lzdGVtYSBzw6NvIHV0aWxpemFkYXMgcGFyYSBub3Mg +YWp1ZGFyIGEgcGxhbmVqYXIgbyBkZXNlbnZvbHZpbWVudG8gZnV0dXJvIGRvIGFwbGljYXRpdm8uIENh +c28gdm9jw6ogdGVuaGEgZMO6dmlkYXMgc29icmUgZXNzZSBwcm9jZWRpbWVudG8sIHBvciBmYXZvciBj +b250YXRlLW5vcy4KCkEgc2VndWludGUgaW5mb3JtYcOnw6NvIHNlcmlhIGVudmlhZGE6A @@ -465,6 +462,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A {362, 205} + NSView NSResponder @@ -480,22 +478,6 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A YES - - - contentArray: systemProfileInformationArray - - - - - - contentArray: systemProfileInformationArray - contentArray - systemProfileInformationArray - 2 - - - 25 - window @@ -512,22 +494,6 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 127 - - - value: icon - - - - - - value: icon - value - icon - 2 - - - 130 - toggleMoreInfo: @@ -552,25 +518,53 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 133 + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + - hidden: shouldAskAboutProfile - + contentArray: systemProfileInformationArray + - + - hidden: shouldAskAboutProfile - hidden - shouldAskAboutProfile - - NSValueTransformerName - NSNegateBoolean - + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray 2 - 139 + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 @@ -592,22 +586,6 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 143 - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - value: shouldSendProfile @@ -626,7 +604,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A NSNullPlaceholder NSValidatesImmediately - + YES @@ -639,19 +617,35 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A - value: promptDescription - + value: icon + - + - value: promptDescription + value: icon value - promptDescription + icon 2 - 161 + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 @@ -671,19 +665,23 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A - value: arrangedObjects.displayKey - - + hidden: shouldAskAboutProfile + + - - - value: arrangedObjects.displayKey - value - arrangedObjects.displayKey + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + 2 - 174 + 139 @@ -691,7 +689,9 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A YES 0 - + + YES + @@ -941,11 +941,8 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 13.IBPluginDependency - 13.ImportedFromIB2 14.IBPluginDependency - 14.ImportedFromIB2 176.IBPluginDependency 177.IBPluginDependency 178.IBPluginDependency @@ -959,52 +956,31 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A 185.IBPluginDependency 185.IBShouldRemoveOnLegacySave 24.IBPluginDependency - 24.ImportedFromIB2 32.IBPluginDependency - 32.ImportedFromIB2 33.IBPluginDependency - 33.ImportedFromIB2 34.IBPluginDependency - 34.ImportedFromIB2 37.IBPluginDependency - 37.ImportedFromIB2 39.IBPluginDependency - 39.ImportedFromIB2 40.IBPluginDependency - 40.ImportedFromIB2 41.IBPluginDependency - 41.ImportedFromIB2 42.IBPluginDependency - 42.ImportedFromIB2 43.IBPluginDependency - 43.ImportedFromIB2 44.IBPluginDependency - 44.ImportedFromIB2 45.IBPluginDependency - 45.ImportedFromIB2 46.IBPluginDependency - 46.ImportedFromIB2 49.IBPluginDependency - 49.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 71.IBPluginDependency - 71.ImportedFromIB2 - + YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1018,41 +994,23 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{312, 678}, {438, 168}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 678}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - @@ -1082,7 +1040,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A finishPrompt: toggleMoreInfo: - + YES id id @@ -1095,7 +1053,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A finishPrompt: toggleMoreInfo: - + YES finishPrompt: @@ -1115,7 +1073,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A moreInfoButton moreInfoView - + YES NSTextField NSButton @@ -1130,7 +1088,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A moreInfoButton moreInfoView - + YES descriptionTextField @@ -1180,7 +1138,7 @@ YSBpbmZvcm1hw6fDo28gcXVlIHNlcsOhIGVudmlhZGE6A NSApplicationIcon NSSwitch - + YES {128, 128} {15, 15} diff --git a/pt_BR.lproj/Sparkle.strings b/pt_BR.lproj/Sparkle.strings index e4d51a18..81db58e5 100644 Binary files a/pt_BR.lproj/Sparkle.strings and b/pt_BR.lproj/Sparkle.strings differ diff --git a/th.lproj/SUAutomaticUpdateAlert.xib b/th.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..78325dcf --- /dev/null +++ b/th.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,674 @@ + + + + 1050 + 11D50d + 2182 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2182 + + + YES + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {616, 152}} + 1886912512 + + + NSWindow + + + View + + + {511, 152} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{23, 73}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 270 + {{105, 120}, {497, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {497, 31}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{435, 12}, {167, 32}} + + + YES + + 67239424 + 134217728 + ติดตั้งและเริ่มใหม่ + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{306, 12}, {129, 32}} + + + + YES + + 67239424 + 134217728 + ติดตั้งเมื่อปิด + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{102, 12}, {116, 32}} + + + + YES + + 67239424 + 134217728 + ไม่ติดตั้ง + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {619, 18}} + + + + YES + + 67239424 + 131072 + ดาวน์โหลดและติดตั้งอัพเดทโดยอัตโนมัติในอนาคต + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {616, 152} + + + + + {{0, 0}, {1920, 1178}} + {511, 174} + {10000000000000, 10000000000000} + YES + + + YES + + + + + YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Window + + + 6 + + + YES + + + + + + + + + + + + 7 + + + YES + + + + + + 8 + + + YES + + + + + + 9 + + + YES + + + + + + 15 + + + YES + + + + + + 16 + + + YES + + + + + + 17 + + + YES + + + + + + 30 + + + YES + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 30.IBPluginDependency + 38.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{312, 947}, {743, 152}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 44 + + + + YES + + SUAutomaticUpdateAlert + SUWindowController + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + id + id + id + + + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + + doNotInstall: + id + + + installLater: + id + + + installNow: + id + + + + + IBProjectSource + ./Classes/SUAutomaticUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/th.lproj/SUPasswordPrompt.xib b/th.lproj/SUPasswordPrompt.xib new file mode 100644 index 00000000..7c4a0cdf --- /dev/null +++ b/th.lproj/SUPasswordPrompt.xib @@ -0,0 +1,568 @@ + + + + 1050 + 11D50d + 2182 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2182 + + + YES + NSTextField + NSView + NSWindowTemplate + NSSecureTextField + NSTextFieldCell + NSImageView + NSButtonCell + NSImageCell + NSButton + NSSecureTextFieldCell + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUPasswordPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{196, 372}, {394, 118}} + 544736256 + รหัสผ่าน + NSWindow + + + + + 256 + + YES + + + 290 + {{179, 49}, {195, 22}} + + + + YES + + 342884416 + 272630784 + + + LucidaGrande + 13 + 1044 + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + 3 + MAA + + + + YES + NSAllRomanInputSourcesLocaleIdentifier + + + + + + 292 + {{106, 51}, {68, 17}} + + + + YES + + 68157504 + 272630784 + รหัสผ่าน: + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + + + + + + 289 + {{297, 13}, {83, 32}} + + + YES + + 67108864 + 134217728 + ปลดล็อก + + + -2038284288 + 129 + + DQ + 200 + 25 + + + + + 289 + {{215, 13}, {82, 32}} + + + + YES + + 67108864 + 134217728 + ยกเลิก + + + -2038284288 + 129 + + Gw + 200 + 25 + + + + + 266 + {{106, 86}, {271, 17}} + + + + YES + + 67108864 + 272629760 + อัพเดทนี้ถูกล็อกด้วยรหัสผ่าน + + LucidaGrande-Bold + 13 + 16 + + + + + + + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{20, 39}, {64, 64}} + + + + YES + + 0 + 33554432 + 0 + 0 + 0 + NO + + YES + + + {394, 118} + + + + + {{0, 0}, {1440, 878}} + {10000000000000, 10000000000000} + YES + + + + + YES + + + mPasswordField + + + + 19 + + + + window + + + + 20 + + + + cancel: + + + + 21 + + + + accept: + + + + 22 + + + + mTextDescription + + + + 25 + + + + mIconView + + + + 26 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + + + 2 + + + YES + + + + + + + + + + + 3 + + + YES + + + + + + 4 + + + + + 5 + + + YES + + + + + + 6 + + + + + 7 + + + YES + + + + + + 8 + + + + + 9 + + + YES + + + + + + 10 + + + + + 15 + + + YES + + + + + + 16 + + + + + 17 + + + YES + + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBPluginDependency + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 10.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 2.IBPluginDependency + 3.IBPluginDependency + 4.IBPluginDependency + 5.IBPluginDependency + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 826}, {362, 138}} + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 26 + + + + YES + + SUPasswordPrompt + SUWindowController + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + NSImageView + NSSecureTextField + NSTextField + + + + YES + + YES + mIconView + mPasswordField + mTextDescription + + + YES + + mIconView + NSImageView + + + mPasswordField + NSSecureTextField + + + mTextDescription + NSTextField + + + + + IBProjectSource + ./Classes/SUPasswordPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + diff --git a/th.lproj/SUUpdateAlert.xib b/th.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..ca9741a2 --- /dev/null +++ b/th.lproj/SUUpdateAlert.xib @@ -0,0 +1,898 @@ + + + + 1050 + 11D50d + 2182 + 1138.32 + 568.00 + + YES + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + YES + 2182 + 1117 + + + + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 468}, {575, 370}} + -260571136 + อัพเดทซอฟต์แวร์ + NSWindow + + View + + + {575, 370} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{24, 291}, {64, 64}} + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 266 + {{106, 338}, {452, 17}} + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 280}, {452, 14}} + + YES + + 67239424 + 272629760 + Release Notes: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{280, 12}, {146, 32}} + + YES + + 67239424 + 134217728 + เตือนในภายหลัง + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{103, 12}, {165, 32}} + + YES + + 67239424 + 134217728 + ข้ามเวอร์ชั่นนี้ + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{426, 12}, {135, 32}} + + YES + + -2080244224 + 134217728 + ติดตั้งอัพเดท + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + YES + + + 274 + + YES + + + 274 + + YES + + YES + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + + {{-2, -1}, {445, 199}} + + + + + + + + YES + + YES + WebKitDefaultFixedFontSize + WebKitDefaultFontSize + WebKitMinimumFontSize + + + YES + + + + + + + NO + YES + + + {{1, 1}, {443, 197}} + + + + {{110, 76}, {445, 199}} + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 302}, {452, 28}} + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 290 + {{106, 50}, {451, 18}} + + YES + + 67239424 + 131072 + ดาวน์โหลดและติดตั้งอัพเดทโดยอัตโนมัติในอนาคต + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {575, 370} + + + {{0, 0}, {1600, 878}} + {575, 392} + {10000000000000, 10000000000000} + + YES + + + YES + + + + + YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Update Alert (release notes) + + + 6 + + + YES + + + + + + + + + + + + + + 7 + + + YES + + + + + + 10 + + + YES + + + + + + 17 + + + YES + + + + + + 22 + + + YES + + + + + + 23 + + + YES + + + + + + 76 + + + YES + + + + + + 89 + + + YES + + + + + + 101 + + + YES + + + + + + 117 + + + YES + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 10.IBPluginDependency + 101.IBPluginDependency + 117.IBPluginDependency + 168.IBPluginDependency + 169.IBPluginDependency + 17.IBPluginDependency + 170.IBPluginDependency + 171.IBPluginDependency + 172.IBPluginDependency + 173.IBPluginDependency + 174.IBPluginDependency + 175.IBPluginDependency + 18.IBPluginDependency + 22.IBPluginDependency + 23.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 76.IBPluginDependency + 89.IBPluginDependency + 93.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{643, 222}, {575, 370}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 178 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/th.lproj/SUUpdatePermissionPrompt.xib b/th.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..d993dd74 --- /dev/null +++ b/th.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,1160 @@ + + + + 1050 + 11D50d + 2182 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2182 + + + YES + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {438, 168}} + 1886912512 + + + NSWindow + + + View + + + {213, 107} + + + 256 + + YES + + + 257 + {{255, 12}, {169, 32}} + + + 1 + YES + + -2080244224 + 134217728 + ตรวจสอบโดยอัตโนมัติ + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{138, 12}, {117, 32}} + + + YES + + 67239424 + 134217728 + ไม่ต้องตรวจสอบ + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {289, 34}} + + + YES + + 67239424 + 272629760 + ตรวจสอบอัพเดทอัตโนมัติ? + + Thonburi-Bold + 13 + 16 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 266 + {{104, 81}, {315, 42}} + + + YES + + 67239424 + 272629760 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + + + + 264 + {{104, 53}, {278, 18}} + + + YES + + -2080244224 + 163840 + ส่งข้อมูลระบบแบบนิรนาม + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{23, 84}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + YES + + + + 265 + {{80, 50}, {27, 26}} + + + YES + + 67239424 + 134250496 + + + + -1194573569 + 133 + + + 200 + 25 + + + + {438, 168} + + + + {{0, 0}, {1600, 878}} + {213, 129} + {10000000000000, 10000000000000} + YES + + + + YES + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + YES + + + 274 + + YES + + + 2304 + + YES + + + 4352 + {353, 128} + + + YES + + + 256 + {{346, 0}, {12, 17}} + + + YES + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5ODU2AA + + + 6 + System + headerTextColor + + + + + 69336577 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75628096 + 2048 + + + + + + + 69336577 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + 1 + + + {{1, 1}, {353, 128}} + + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + + 256 + + _doScroller: + 0.78125 + + + + -2147483392 + {{-100, -100}, {345, 11}} + + + 257 + + _doScroller: + 0.99047619104385376 + + + {{4, 5}, {355, 130}} + + + + 133650 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 142}, {358, 56}} + + + YES + + 67239424 + 272629760 + 4LiC4LmJ4Lit4Lih4Li54Lil4Lij4Liw4Lia4Lia4LmB4Lia4Lia4LiZ4Li04Lij4LiZ4Liy4Lih4LiK +4LmI4Lin4Lii4LmD4LiZ4LiB4Liy4Lij4Lin4Liy4LiH4LmB4Lic4LiZ4Lie4Lix4LiS4LiZ4Liy4LmB +4Lit4Lib4Lie4Lil4Li04LmA4LiE4LiK4Lix4LiZ4LiC4Lit4LiH4LmA4Lij4Liy4LmD4LiZ4Lit4LiZ +4Liy4LiE4LiVIOC4geC4o+C4uOC4k+C4suC4leC4tOC4lOC4leC5iOC4reC5gOC4o+C4suC4luC5ieC4 +suC4hOC4uOC4k+C4oeC4teC4guC5ieC4reC4quC4h+C4quC4seC4ouC5g+C4meC5gOC4o+C4t+C5iOC4 +reC4h+C4meC4teC5iQoK4LiZ4Li14LmI4LiE4Li34Lit4LiC4LmJ4Lit4Lih4Li54Lil4LiX4Li14LmI +4LiI4Liw4LiW4Li54LiB4Liq4LmI4LiH4LmE4LibOg + + + + + + + + {362, 205} + + + NSView + NSResponder + + + + YES + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + YES + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + YES + + YES + NSNullPlaceholder + NSValidatesImmediately + + + YES + + + + + 2 + + + 148 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Profile Info + + + 6 + + + YES + + + + + + + + + + + + 13 + + + YES + + + + + + 14 + + + YES + + + + + + 32 + + + YES + + + + + + 33 + + + YES + + + + + + 34 + + + YES + + + + + + 37 + + + YES + + + + + + 71 + + + YES + + + + + + 24 + + + Array Controller + + + 39 + + + YES + + + + + MoreInfoView + + + 40 + + + YES + + + + + + + + 41 + + + YES + + + + + + + 42 + + + YES + + + + + + 43 + + + + + 44 + + + YES + + + + + + 45 + + + + + 46 + + + YES + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 13.IBPluginDependency + 14.IBPluginDependency + 176.IBPluginDependency + 177.IBPluginDependency + 178.IBPluginDependency + 179.IBPluginDependency + 180.IBPluginDependency + 181.IBPluginDependency + 182.IBPluginDependency + 183.IBPluginDependency + 184.IBPluginDependency + 184.IBShouldRemoveOnLegacySave + 185.IBPluginDependency + 185.IBShouldRemoveOnLegacySave + 24.IBPluginDependency + 32.IBPluginDependency + 33.IBPluginDependency + 34.IBPluginDependency + 37.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 45.IBPluginDependency + 46.IBPluginDependency + 49.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 71.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{312, 977}, {438, 168}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 185 + + + + YES + + SUUpdatePermissionPrompt + SUWindowController + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + id + id + + + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + + finishPrompt: + id + + + toggleMoreInfo: + id + + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + NSTextField + NSButton + NSView + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + + descriptionTextField + NSTextField + + + moreInfoButton + NSButton + + + moreInfoView + NSView + + + + + IBProjectSource + ./Classes/SUUpdatePermissionPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/th.lproj/Sparkle.strings b/th.lproj/Sparkle.strings index 7b09601d..c1efcd6c 100644 Binary files a/th.lproj/Sparkle.strings and b/th.lproj/Sparkle.strings differ