Changeset 1116
- Timestamp:
- Nov 22, 2006, 1:06:31 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r1115 r1116 499 499 @"Download not a torrent -> title"), [NSString stringWithFormat: 500 500 NSLocalizedString(@"It appears that the file \"%@\" from %@ is not a torrent file.", 501 @"Download not a torrent -> message"), suggestedName, [[[download request] URL] absoluteString]], 501 @"Download not a torrent -> message"), suggestedName, 502 [[[[download request] URL] absoluteString] stringByReplacingPercentEscapesUsingEncoding: NSUTF8StringEncoding]], 502 503 NSLocalizedString(@"OK", @"Download not a torrent -> button"), nil, nil); 503 504 … … 520 521 @"Torrent download error -> title"), [NSString stringWithFormat: 521 522 NSLocalizedString(@"The torrent could not be downloaded from %@ because an error occurred (%@).", 522 @"Torrent download failed -> message"), [[[download request] URL] absoluteString], 523 @"Torrent download failed -> message"), 524 [[[[download request] URL] absoluteString] stringByReplacingPercentEscapesUsingEncoding: NSUTF8StringEncoding], 523 525 [error localizedDescription]], NSLocalizedString(@"OK", @"Torrent download failed -> button"), nil, nil); 524 526 … … 1841 1843 [filesToOpen release]; 1842 1844 } 1843 1844 if ([[pasteboard types] containsObject: NSURLPboardType]) 1845 else if ([[pasteboard types] containsObject: NSURLPboardType]) 1845 1846 { 1846 1847 NSURL * url; … … 1848 1849 [self openURL: url]; 1849 1850 } 1850 1851 if ([[pasteboard types] containsObject: TORRENT_TABLE_VIEW_DATA_TYPE]) 1851 else if ([[pasteboard types] containsObject: TORRENT_TABLE_VIEW_DATA_TYPE]) 1852 1852 { 1853 1853 //remember selected rows if needed … … 1901 1901 } 1902 1902 } 1903 else; 1903 1904 1904 1905 return YES;
Note: See TracChangeset
for help on using the changeset viewer.