one less localizable string

This commit is contained in:
Mitchell Livingston 2010-09-18 19:49:34 +00:00
parent 66f7c47f3e
commit a46738b3ca
2 changed files with 5 additions and 2 deletions

View File

@ -986,9 +986,12 @@ int trashDataFile(const char * filename)
downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ selected", "Torrent -> progress string"),
[NSString stringForFileSize: [self haveTotal]]];
else
downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@ (%@)", "Torrent -> progress string"),
[NSString stringForFileSize: [self haveTotal]], [NSString stringForFileSize: [self size]],
{
downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@", "Torrent -> progress string"),
[NSString stringForFileSize: [self haveTotal]], [NSString stringForFileSize: [self size]]];
downloadString = [downloadString stringByAppendingFormat: @" (%@)",
[NSString percentString: [self progress] longDecimals: YES]];
}
}
else
downloadString = [NSString stringForFileSize: [self size]];

Binary file not shown.