1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

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.