source:
trunk/Cocoa/Pester/Source/Sparkle.diff@
578
Last change on this file since 578 was 512, checked in by , 16 years ago | |
---|---|
|
|
File size: 2.1 KB |
-
Sparkle/en.lproj/Sparkle.strings
56 56 "Installingupdate..."="Installingupdate...";57 57 58 58 /*Nocommentprovidedbyengineer.*/59 "No"="No";59 "No" = "Don t Check"; 60 60 61 61 /*Nocommentprovidedbyengineer.*/62 62 "OK"="OK";… … 74 74 "Wouldyoulike%@tocheckforupdatesonstartup?Ifnot,youcaninitiatethecheckmanuallyfromthe%@menu."="Wouldyoulike%1$@tocheckforupdatesonstartup?Ifnot,youcaninitiatethecheckmanuallyfromthe%2$@menu.";75 75 76 76 /*Nocommentprovidedbyengineer.*/77 "Yes"="Yes";77 "Yes" = "Check"; 78 78 79 79 /*Nocommentprovidedbyengineer.*/80 80 "You'reuptodate!"="You'reuptodate!";81 82 81 83 No newline at end of file -
Sparkle/SUAppcastItem.m
120 120 { 121 121 // Separate the url by underscores and take the last component, as that'll be closest to the end, 122 122 // then we remove the extension. Hopefully, this will be the version. 123 NSArray *fileComponents = [[enclosure objectForKey:@"url"] componentsSeparatedByString:@" _"];123 NSArray *fileComponents = [[enclosure objectForKey:@"url"] componentsSeparatedByString:@"-"]; 124 124 if ([fileComponents count] > 1) 125 125 newVersion = [[fileComponents lastObject] stringByDeletingPathExtension]; 126 126 else
Note:
See TracBrowser
for help on using the repository browser.