#3388 fix file completion percentage in the inspector
This commit is contained in:
parent
9e2106b5c4
commit
daceb0d94a
|
@ -206,7 +206,7 @@
|
||||||
FileListNode * node = (FileListNode *)[self objectValue];
|
FileListNode * node = (FileListNode *)[self objectValue];
|
||||||
|
|
||||||
const CGFloat progress = [torrent fileProgress: node];
|
const CGFloat progress = [torrent fileProgress: node];
|
||||||
NSString * percentString = [NSString percentString: [self floatValue] longDecimals: YES];
|
NSString * percentString = [NSString percentString: progress longDecimals: YES];
|
||||||
|
|
||||||
NSString * status = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@",
|
NSString * status = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@",
|
||||||
"Inspector -> Files tab -> file status string"), percentString, [NSString stringForFileSize: [node size]]];
|
"Inspector -> Files tab -> file status string"), percentString, [NSString stringForFileSize: [node size]]];
|
||||||
|
|
Loading…
Reference in New Issue