Changeset 1112
- Timestamp:
- Nov 20, 2006, 1:43:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r1111 r1112 491 491 492 492 - (void) download: (NSURLDownload *) download decideDestinationWithSuggestedFilename: (NSString *) suggestedName 493 { 493 {NSLog(suggestedName); 494 494 if ([[suggestedName pathExtension] caseInsensitiveCompare: @"torrent"] != NSOrderedSame) 495 495 { … … 498 498 NSRunAlertPanel(NSLocalizedString(@"Torrent download failed", 499 499 @"Download not a torrent -> title"), [NSString stringWithFormat: 500 NSLocalizedString(@"It appears that the file from %@ is not a torrent file.",501 @"Download not a torrent -> message"), [[[download request] URL] absoluteString]],500 NSLocalizedString(@"It appears that the file \"%@\" from %@ is not a torrent file.", 501 @"Download not a torrent -> message"), suggestedName, [[[download request] URL] absoluteString]], 502 502 NSLocalizedString(@"OK", @"Download not a torrent -> button"), nil, nil); 503 503
Note: See TracChangeset
for help on using the changeset viewer.