Changeset 5309
- Timestamp:
- Mar 19, 2008, 6:03:02 PM (14 years ago)
- Location:
- trunk/macosx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r5296 r5309 1845 1845 1846 1846 //check status 1847 if ([torrent isActive] )1847 if ([torrent isActive] && ![torrent isCheckingWaiting]) 1848 1848 { 1849 1849 if ([torrent isSeeding]) -
trunk/macosx/InfoWindowController.m
r5297 r5309 211 211 212 212 [fNameField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%d Torrents Selected", 213 "Inspector -> above tabs ->selected torrents"), numberSelected]];213 "Inspector -> selected torrents"), numberSelected]]; 214 214 215 215 uint64_t size = 0; … … 227 227 [NSString stringWithFormat: NSLocalizedString(@"%@ Total", "Inspector -> selected torrents"), 228 228 [NSString stringForFileSize: size]]]]; 229 [fBasicInfoField setToolTip: [NSString stringWithFormat: NSLocalizedString(@"%u bytes", 230 "Inspector -> above tabs -> selected torrents"),size]];229 [fBasicInfoField setToolTip: [NSString stringWithFormat: NSLocalizedString(@"%u bytes", "Inspector -> selected torrents"), 230 size]]; 231 231 } 232 232 else … … 234 234 [fImageView setImage: [NSImage imageNamed: @"NSApplicationIcon"]]; 235 235 236 [fNameField setStringValue: NSLocalizedString(@"No Torrents Selected", "Inspector -> above tabs ->selected torrents")];236 [fNameField setStringValue: NSLocalizedString(@"No Torrents Selected", "Inspector -> selected torrents")]; 237 237 [fBasicInfoField setStringValue: @""]; 238 238 [fBasicInfoField setToolTip: @""]; … … 365 365 int fileCount = [torrent fileCount]; 366 366 if (fileCount == 1) 367 fileString = NSLocalizedString(@"1 File", "Inspector -> above tabs ->selected torrents");367 fileString = NSLocalizedString(@"1 File", "Inspector -> selected torrents"); 368 368 else 369 fileString= [NSString stringWithFormat: NSLocalizedString(@"%d Files", 370 "Inspector -> above tabs -> selected torrents"), fileCount]; 369 fileString= [NSString stringWithFormat: NSLocalizedString(@"%d Files", "Inspector -> selected torrents"), fileCount]; 371 370 basicString = [NSString stringWithFormat: @"%@, %@", fileString, basicString]; 372 371 } 373 372 [fBasicInfoField setStringValue: basicString]; 374 [fBasicInfoField setToolTip: [NSString stringWithFormat: NSLocalizedString(@"%u bytes", 375 "Inspector -> above tabs -> selected torrents"),[torrent size]]];373 [fBasicInfoField setToolTip: [NSString stringWithFormat: NSLocalizedString(@"%u bytes", "Inspector -> selected torrents"), 374 [torrent size]]]; 376 375 377 376 NSString * hashString = [torrent hashString]; -
trunk/macosx/Torrent.h
r5270 r5309 182 182 - (BOOL) isSeeding; 183 183 - (BOOL) isChecking; 184 - (BOOL) isCheckingWaiting; 184 185 - (BOOL) allDownloaded; 185 186 - (BOOL) isComplete; -
trunk/macosx/Torrent.m
r5296 r5309 896 896 } 897 897 898 - (BOOL) isCheckingWaiting 899 { 900 return fStat->status == TR_STATUS_CHECK_WAIT; 901 } 902 898 903 - (BOOL) allDownloaded 899 904 {
Note: See TracChangeset
for help on using the changeset viewer.