diff --git a/SUAppcast.m b/SUAppcast.m index 2c1207cf..b79f8690 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -229,7 +229,7 @@ while ((node = [nodeEnum nextObject])) { lang = [[node attributeForName:@"xml:lang"] stringValue]; - [languages addObject:(lang ?: @"")]; + [languages addObject:(lang ? lang : @"")]; } lang = [[NSBundle preferredLocalizationsFromArray:languages] objectAtIndex:0]; i = [languages indexOfObject:([languages containsObject:lang] ? lang : @"")]; diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 483cda73..5801cc59 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -143,7 +143,7 @@ if (tempDir) { tempDir = [tempDir stringByAppendingPathComponent:prefix]; - unsigned int cnt=1; + unsigned int cnt = 1; while ([[NSFileManager defaultManager] fileExistsAtPath:tempDir] && cnt <= 999) { tempDir = [NSTemporaryDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"%@ %u", prefix, cnt++]]; @@ -288,7 +288,8 @@ if ([[updater delegate] respondsToSelector:@selector(pathToRelaunchForUpdater:)]) pathToRelaunch = [[updater delegate] pathToRelaunchForUpdater:updater]; [NSTask launchedTaskWithLaunchPath:relaunchPath arguments:[NSArray arrayWithObjects:pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], nil]]; - + + [self setValue:[NSNumber numberWithBool:YES] forKey:@"finished"]; [NSApp terminate:self]; } diff --git a/SUHost.m b/SUHost.m index 85fc7285..2c95414b 100644 --- a/SUHost.m +++ b/SUHost.m @@ -191,7 +191,7 @@ } - (id)objectForKey:(NSString *)key { - return [self objectForUserDefaultsKey:key] ?: [self objectForInfoDictionaryKey:key]; + return [self objectForUserDefaultsKey:key] ? [self objectForUserDefaultsKey:key] : [self objectForInfoDictionaryKey:key]; } - (BOOL)boolForKey:(NSString *)key { diff --git a/SUUpdater.m b/SUUpdater.m index 446e90d7..e9629c99 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -313,7 +313,8 @@ static NSString * const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefault if (customUserAgentString) return customUserAgentString; - NSString *userAgent = [NSString stringWithFormat:@"%@/%@ Sparkle/%@", [host name], [host displayVersion], [SPARKLE_BUNDLE objectForInfoDictionaryKey:@"CFBundleVersion"] ?: nil]; + NSString *version = [SPARKLE_BUNDLE objectForInfoDictionaryKey:@"CFBundleVersion"]; + NSString *userAgent = [NSString stringWithFormat:@"%@/%@ Sparkle/%@", [host name], [host displayVersion], version ? version : @"?"]; NSData *cleanedAgent = [userAgent dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES]; return [[[NSString alloc] initWithData:cleanedAgent encoding:NSASCIIStringEncoding] autorelease]; } diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 913d9db0..28a4eed4 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -211,6 +211,10 @@ 615409C6103BBD9F00125AF1 /* cs */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = cs; path = cs.lproj/SUAutomaticUpdateAlert.nib; sourceTree = ""; }; 615409C7103BBDA600125AF1 /* cs */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = cs; path = cs.lproj/SUUpdateAlert.nib; sourceTree = ""; }; 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = SUModelTranslation.plist; sourceTree = ""; }; + 6186554210D7484300B1E074 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = pt_PT; path = pt_PT.lproj/SUUpdatePermissionPrompt.nib; sourceTree = ""; }; + 6186554310D7484E00B1E074 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt_PT; path = pt_PT.lproj/Sparkle.strings; sourceTree = ""; }; + 6186554410D7486E00B1E074 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = pt_PT; path = pt_PT.lproj/SUAutomaticUpdateAlert.nib; sourceTree = ""; }; + 6186554510D7488400B1E074 /* pt_PT */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = pt_PT; path = pt_PT.lproj/SUUpdateAlert.nib; sourceTree = ""; }; 618915700E35937600B5E981 /* sv */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = sv; path = sv.lproj/SUUpdatePermissionPrompt.nib; sourceTree = ""; }; 618915710E35937600B5E981 /* sv */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = sv; path = sv.lproj/SUUpdateAlert.nib; sourceTree = ""; }; 618915720E35937600B5E981 /* sv */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = sv; path = sv.lproj/SUAutomaticUpdateAlert.nib; sourceTree = ""; }; @@ -756,6 +760,7 @@ zh_CN, fr_ca, pt_BR, + pt_PT, ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -974,6 +979,7 @@ 611A904610240DF700CC659E /* ja */, 61E31A80103299500051D188 /* pt_BR */, 615409C4103BBC4000125AF1 /* cs */, + 6186554310D7484E00B1E074 /* pt_PT */, ); name = Sparkle.strings; sourceTree = ""; @@ -997,6 +1003,7 @@ 611A904810240E0600CC659E /* ja */, 61E31A81103299560051D188 /* pt_BR */, 615409C6103BBD9F00125AF1 /* cs */, + 6186554410D7486E00B1E074 /* pt_PT */, ); name = SUAutomaticUpdateAlert.nib; sourceTree = ""; @@ -1020,6 +1027,7 @@ 611A904910240E0C00CC659E /* ja */, 61E31A821032995F0051D188 /* pt_BR */, 615409C7103BBDA600125AF1 /* cs */, + 6186554510D7488400B1E074 /* pt_PT */, ); name = SUUpdateAlert.nib; sourceTree = ""; @@ -1059,6 +1067,7 @@ 611A904710240DFF00CC659E /* ja */, 61E31A7F103299450051D188 /* pt_BR */, 615409C5103BBC5000125AF1 /* cs */, + 6186554210D7484300B1E074 /* pt_PT */, ); name = SUUpdatePermissionPrompt.nib; sourceTree = ""; diff --git a/da.lproj/SUAutomaticUpdateAlert.nib/classes.nib b/da.lproj/SUAutomaticUpdateAlert.nib/classes.nib deleted file mode 100644 index 09004544..00000000 --- a/da.lproj/SUAutomaticUpdateAlert.nib/classes.nib +++ /dev/null @@ -1,29 +0,0 @@ -{ - IBClasses = ( - { - CLASS = FirstResponder; - LANGUAGE = ObjC; - SUPERCLASS = NSObject; - }, - { - CLASS = NSObject; - LANGUAGE = ObjC; - }, - { - ACTIONS = { - doNotInstall = id; - installLater = id; - installNow = id; - }; - CLASS = SUAutomaticUpdateAlert; - LANGUAGE = ObjC; - SUPERCLASS = SUWindowController; - }, - { - CLASS = SUWindowController; - LANGUAGE = ObjC; - SUPERCLASS = NSWindowController; - } - ); - IBVersion = 1; -} \ No newline at end of file diff --git a/da.lproj/SUAutomaticUpdateAlert.nib/info.nib b/da.lproj/SUAutomaticUpdateAlert.nib/info.nib deleted file mode 100644 index da986de6..00000000 --- a/da.lproj/SUAutomaticUpdateAlert.nib/info.nib +++ /dev/null @@ -1,18 +0,0 @@ - - - - - IBDocumentLocation - 69 10 356 240 0 0 1680 1028 - IBFramework Version - 489.0 - IBLastKnownRelativeProjectPath - ../Sparkle.xcodeproj - IBOldestOS - 5 - IBSystem Version - 9E17 - targetFramework - IBCocoaFramework - - diff --git a/da.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib b/da.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib index 5a2dfc87..0ef484be 100644 Binary files a/da.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib and b/da.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib differ diff --git a/da.lproj/SUAutomaticUpdateAlert.strings b/da.lproj/SUAutomaticUpdateAlert.strings old mode 100644 new mode 100755 index 17a67d9b..4f47c3ac Binary files a/da.lproj/SUAutomaticUpdateAlert.strings and b/da.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/da.lproj/SUUpdateAlert.nib/classes.nib b/da.lproj/SUUpdateAlert.nib/classes.nib deleted file mode 100644 index 018710af..00000000 --- a/da.lproj/SUUpdateAlert.nib/classes.nib +++ /dev/null @@ -1,39 +0,0 @@ -{ - IBClasses = ( - { - CLASS = FirstResponder; - LANGUAGE = ObjC; - SUPERCLASS = NSObject; - }, - { - CLASS = NSApplication; - LANGUAGE = ObjC; - SUPERCLASS = NSResponder; - }, - { - CLASS = NSObject; - LANGUAGE = ObjC; - }, - { - ACTIONS = { - installUpdate = id; - remindMeLater = id; - skipThisVersion = id; - }; - CLASS = SUUpdateAlert; - LANGUAGE = ObjC; - OUTLETS = { - delegate = id; - description = NSTextField; - releaseNotesView = WebView; - }; - SUPERCLASS = SUWindowController; - }, - { - CLASS = SUWindowController; - LANGUAGE = ObjC; - SUPERCLASS = NSWindowController; - } - ); - IBVersion = 1; -} \ No newline at end of file diff --git a/da.lproj/SUUpdateAlert.nib/info.nib b/da.lproj/SUUpdateAlert.nib/info.nib deleted file mode 100644 index 7b026327..00000000 --- a/da.lproj/SUUpdateAlert.nib/info.nib +++ /dev/null @@ -1,16 +0,0 @@ - - - - - IBFramework Version - 489.0 - IBLastKnownRelativeProjectPath - ../Sparkle.xcodeproj - IBOldestOS - 5 - IBSystem Version - 9F33 - targetFramework - IBCocoaFramework - - diff --git a/da.lproj/SUUpdateAlert.nib/keyedobjects.nib b/da.lproj/SUUpdateAlert.nib/keyedobjects.nib index ad5666d3..75b515a5 100644 Binary files a/da.lproj/SUUpdateAlert.nib/keyedobjects.nib and b/da.lproj/SUUpdateAlert.nib/keyedobjects.nib differ diff --git a/da.lproj/SUUpdateAlert.strings b/da.lproj/SUUpdateAlert.strings old mode 100644 new mode 100755 index 7d1ca1bd..12c2f3d0 Binary files a/da.lproj/SUUpdateAlert.strings and b/da.lproj/SUUpdateAlert.strings differ diff --git a/da.lproj/SUUpdatePermissionPrompt.nib/classes.nib b/da.lproj/SUUpdatePermissionPrompt.nib/classes.nib deleted file mode 100644 index 480bb357..00000000 --- a/da.lproj/SUUpdatePermissionPrompt.nib/classes.nib +++ /dev/null @@ -1,34 +0,0 @@ -{ - IBClasses = ( - { - CLASS = FirstResponder; - LANGUAGE = ObjC; - SUPERCLASS = NSObject; - }, - { - CLASS = NSObject; - LANGUAGE = ObjC; - }, - { - ACTIONS = { - finishPrompt = id; - toggleMoreInfo = id; - }; - CLASS = SUUpdatePermissionPrompt; - LANGUAGE = ObjC; - OUTLETS = { - delegate = id; - descriptionTextField = NSTextField; - moreInfoButton = NSButton; - moreInfoView = NSView; - }; - SUPERCLASS = SUWindowController; - }, - { - CLASS = SUWindowController; - LANGUAGE = ObjC; - SUPERCLASS = NSWindowController; - } - ); - IBVersion = 1; -} \ No newline at end of file diff --git a/da.lproj/SUUpdatePermissionPrompt.nib/data.dependency b/da.lproj/SUUpdatePermissionPrompt.nib/data.dependency deleted file mode 100644 index b7381f72..00000000 --- a/da.lproj/SUUpdatePermissionPrompt.nib/data.dependency +++ /dev/null @@ -1,10 +0,0 @@ - - - - - IBPaletteDependency - - Controllers - - - diff --git a/da.lproj/SUUpdatePermissionPrompt.nib/info.nib b/da.lproj/SUUpdatePermissionPrompt.nib/info.nib deleted file mode 100644 index 7b026327..00000000 --- a/da.lproj/SUUpdatePermissionPrompt.nib/info.nib +++ /dev/null @@ -1,16 +0,0 @@ - - - - - IBFramework Version - 489.0 - IBLastKnownRelativeProjectPath - ../Sparkle.xcodeproj - IBOldestOS - 5 - IBSystem Version - 9F33 - targetFramework - IBCocoaFramework - - diff --git a/da.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib b/da.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib index 4ef0a8b9..608faf4b 100644 Binary files a/da.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib and b/da.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib differ diff --git a/da.lproj/Sparkle.strings b/da.lproj/Sparkle.strings old mode 100644 new mode 100755 index 1a22f6bd..f0a44ab8 Binary files a/da.lproj/Sparkle.strings and b/da.lproj/Sparkle.strings differ diff --git a/pt_PT.lproj/SUAutomaticUpdateAlert.nib/designable.nib b/pt_PT.lproj/SUAutomaticUpdateAlert.nib/designable.nib new file mode 100644 index 00000000..f2d46508 --- /dev/null +++ b/pt_PT.lproj/SUAutomaticUpdateAlert.nib/designable.nib @@ -0,0 +1,652 @@ + + + + 1050 + 10C540 + 740 + 1038.25 + 458.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 740 + + + YES + + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {559, 152}} + 1886912512 + + + NSWindow + + + View + + {1.79769e+308, 1.79769e+308} + {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 + + + + 268 + {{105, 120}, {389, 17}} + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {435, 31}} + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{376, 12}, {167, 32}} + + YES + + 67239424 + 134217728 + Instalar e Reiniciar + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{242, 12}, {134, 32}} + + YES + + 67239424 + 134217728 + Instalar ao Sair + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{102, 12}, {116, 32}} + + YES + + 67239424 + 134217728 + Não Instalar + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {382, 18}} + + YES + + 67239424 + 131072 + No futuro, transferir e instalar as actualizações automaticamente + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {559, 152} + + + {{0, 0}, {1280, 778}} + {511, 174} + {1.79769e+308, 1.79769e+308} + + + YES + + + + + YES + + + 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 + + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + + YES + + 0 + + + + + + -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 + -3.IBPluginDependency + -3.ImportedFromIB2 + 15.IBPluginDependency + 15.ImportedFromIB2 + 16.IBPluginDependency + 16.ImportedFromIB2 + 17.IBPluginDependency + 17.ImportedFromIB2 + 18.IBPluginDependency + 18.ImportedFromIB2 + 30.IBPluginDependency + 30.ImportedFromIB2 + 5.IBEditorWindowLastContentRect + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 5.ImportedFromIB2 + 5.windowTemplate.hasMinSize + 5.windowTemplate.minSize + 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 + + {{108, 455}, {559, 152}} + com.apple.InterfaceBuilder.CocoaPlugin + {{108, 455}, {559, 152}} + + + {511, 152} + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + YES + + + YES + + + + + YES + + + YES + + + + 44 + + + + YES + + FirstResponder + + IBUserSource + + + + + NSObject + + IBUserSource + + + + + SUAutomaticUpdateAlert + SUWindowController + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + id + id + id + + + + IBUserSource + + + + + SUWindowController + NSWindowController + + IBUserSource + + + + + + 0 + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + ../Sparkle.xcodeproj + 3 + + diff --git a/pt_PT.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib b/pt_PT.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 00000000..e7b0fc20 Binary files /dev/null and b/pt_PT.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib differ diff --git a/pt_PT.lproj/SUAutomaticUpdateAlert.strings b/pt_PT.lproj/SUAutomaticUpdateAlert.strings new file mode 100755 index 00000000..dffb9b88 Binary files /dev/null and b/pt_PT.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/pt_PT.lproj/SUStatus.strings b/pt_PT.lproj/SUStatus.strings new file mode 100755 index 00000000..ad32ad70 Binary files /dev/null and b/pt_PT.lproj/SUStatus.strings differ diff --git a/pt_PT.lproj/SUUpdateAlert.nib/designable.nib b/pt_PT.lproj/SUUpdateAlert.nib/designable.nib new file mode 100644 index 00000000..761ba7ce --- /dev/null +++ b/pt_PT.lproj/SUUpdateAlert.nib/designable.nib @@ -0,0 +1,974 @@ + + + + 1050 + 10C540 + 740 + 1038.25 + 458.00 + + YES + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + YES + 740 + 740 + + + + YES + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + YES + + YES + + + YES + + + + YES + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 468}, {650, 370}} + -260571136 + Actualização de Software + NSWindow + + View + + {1.79769e+308, 1.79769e+308} + {586, 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 + + + + 264 + {{106, 338}, {443, 17}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 277}, {443, 17}} + + + YES + + 67239424 + 272629760 + Notas de Lançamento: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{299, 12}, {166, 32}} + + + YES + + 67239424 + 134217728 + Lembrar Mais Tarde + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{102, 12}, {152, 32}} + + + YES + + 67239424 + 134217728 + Saltar Esta Versão + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{465, 12}, {171, 32}} + + + YES + + -2080244224 + 134217728 + Instalar Actualização + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + YES + + + 256 + + 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 + + + {{-1, 0}, {521, 197}} + + + + + + + + YES + + YES + WebKitDefaultFixedFontSize + WebKitDefaultFontSize + WebKitMinimumFontSize + + + YES + + + + + + + NO + YES + + + {{1, 1}, {519, 197}} + + + + + {{109, 76}, {521, 199}} + + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 302}, {463, 28}} + + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 256 + {{106, 48}, {442, 18}} + + + YES + + 67239424 + 131072 + No futuro, transferir e instalar as actualizações automaticamente + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {650, 370} + + + + {{0, 0}, {1280, 778}} + {586, 392} + {1.79769e+308, 1.79769e+308} + + + + YES + + + + + YES + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + delegate + + + + 50 + + + + window + + + + 69 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 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 + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + + YES + + 0 + + + + + + -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 + -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 + 173.IBPluginDependency + 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.WebKitIBPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + {{84, 29}, {650, 370}} + com.apple.InterfaceBuilder.CocoaPlugin + {{84, 29}, {650, 370}} + + + {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 + + + + 175 + + + + YES + + FirstResponder + NSObject + + IBUserSource + + + + + NSApplication + NSResponder + + IBUserSource + + + + + NSObject + + IBUserSource + + + + + SUUpdateAlert + SUWindowController + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + id + id + id + + + + YES + + YES + delegate + description + releaseNotesView + + + YES + id + NSTextField + WebView + + + + IBUserSource + + + + + SUWindowController + NSWindowController + + IBUserSource + + + + + + 0 + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + ../Sparkle.xcodeproj + 3 + + diff --git a/pt_PT.lproj/SUUpdateAlert.nib/keyedobjects.nib b/pt_PT.lproj/SUUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 00000000..0920a0df Binary files /dev/null and b/pt_PT.lproj/SUUpdateAlert.nib/keyedobjects.nib differ diff --git a/pt_PT.lproj/SUUpdateAlert.strings b/pt_PT.lproj/SUUpdateAlert.strings new file mode 100755 index 00000000..27da206a Binary files /dev/null and b/pt_PT.lproj/SUUpdateAlert.strings differ diff --git a/pt_PT.lproj/SUUpdatePermissionPrompt.nib/designable.nib b/pt_PT.lproj/SUUpdatePermissionPrompt.nib/designable.nib new file mode 100644 index 00000000..a5b991b7 --- /dev/null +++ b/pt_PT.lproj/SUUpdatePermissionPrompt.nib/designable.nib @@ -0,0 +1,1130 @@ + + + + 1050 + 10C540 + 740 + 1038.25 + 458.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 740 + + + YES + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {446, 168}} + 1886912512 + + + NSWindow + + + View + + {1.79769e+308, 1.79769e+308} + {213, 107} + + + 256 + + YES + + + 257 + {{223, 12}, {209, 32}} + + + 1 + YES + + -2080244224 + 134217728 + Procurar Automaticamente + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{101, 12}, {122, 32}} + + + YES + + 67239424 + 134217728 + Não Procurar + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {289, 34}} + + + YES + + 67239424 + 272629760 + Procurar actualizações automaticamente? + + LucidaGrande-Bold + 13 + 2072 + + + + 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 + Incluir perfil de sistema anónimo + + + 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 + + + + {446, 168} + + + + {{0, 0}, {1280, 778}} + {213, 129} + {1.79769e+308, 1.79769e+308} + + + + YES + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + YES + + + 274 + + YES + + + 2304 + + YES + + + 4352 + {353, 113} + + + YES + + + 256 + {{346, 0}, {12, 17}} + + + YES + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5OQA + + + 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}, {353, 113}} + + + + + + 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, 115}} + + + + 530 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 128}, {358, 70}} + + + YES + + 67239424 + 272629760 + QSBpbmZvcm1hw6fDo28gYW7Ds25pbWEgZG8gcGVyZmlsIGRlIHNpc3RlbWEgw6kgdXNhZGEgcGFyYSBu +byBmdXR1cm8gbm9zIGFqdWRhciBhIHBsYW5lYXIgbyB0cmFiYWxobyBkZSBkZXNlbnZvbHZpbWVudG8u +IFBvciBmYXZvciBjb250YWN0ZS1ub3Mgc2UgdGl2ZXIgYWxndW1hIHF1ZXN0w6NvIGFjZXJjYSBkZXN0 +ZSBhc3N1bnRvLgoKRXN0YSDDqSBhIGluZm9ybWHDp8OjbyBxdWUgc2VyaWEgZW52aWFkYTo + + + + + + + + {362, 205} + + + NSView + NSResponder + + + + YES + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + YES + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + YES + + YES + NSNullPlaceholder + NSValidatesImmediately + + + YES + + + + + 2 + + + 148 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + + YES + + 0 + + + + + + -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 + -3.IBPluginDependency + -3.ImportedFromIB2 + 13.IBPluginDependency + 13.ImportedFromIB2 + 14.IBPluginDependency + 14.ImportedFromIB2 + 184.IBShouldRemoveOnLegacySave + 185.IBShouldRemoveOnLegacySave + 24.IBPluginDependency + 24.ImportedFromIB2 + 32.IBPluginDependency + 32.ImportedFromIB2 + 33.IBPluginDependency + 33.ImportedFromIB2 + 34.IBPluginDependency + 34.ImportedFromIB2 + 37.IBPluginDependency + 37.ImportedFromIB2 + 39.IBEditorWindowLastContentRect + 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 + 5.windowTemplate.hasMinSize + 5.windowTemplate.minSize + 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 + + {{155, 294}, {362, 205}} + 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 + + {{108, 557}, {446, 168}} + com.apple.InterfaceBuilder.CocoaPlugin + {{108, 557}, {446, 168}} + + + {213, 107} + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + YES + + + YES + + + + + YES + + + YES + + + + 185 + + + + YES + + FirstResponder + + IBUserSource + + + + + NSObject + + IBUserSource + + + + + SUUpdatePermissionPrompt + SUWindowController + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + id + id + + + + YES + + YES + delegate + descriptionTextField + moreInfoButton + moreInfoView + + + YES + id + NSTextField + NSButton + NSView + + + + IBUserSource + + + + + SUWindowController + NSWindowController + + IBUserSource + + + + + + 0 + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + ../Sparkle.xcodeproj + 3 + + diff --git a/pt_PT.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib b/pt_PT.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib new file mode 100644 index 00000000..e32d8a41 Binary files /dev/null and b/pt_PT.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib differ diff --git a/pt_PT.lproj/Sparkle.strings b/pt_PT.lproj/Sparkle.strings new file mode 100755 index 00000000..e3ed170c Binary files /dev/null and b/pt_PT.lproj/Sparkle.strings differ