1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +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,10 +986,13 @@ int trashDataFile(const char * filename)
downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ selected", "Torrent -> progress string"), downloadString = [NSString stringWithFormat: NSLocalizedString(@"%@ selected", "Torrent -> progress string"),
[NSString stringForFileSize: [self haveTotal]]]; [NSString stringForFileSize: [self haveTotal]]];
else 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]]; [NSString percentString: [self progress] longDecimals: YES]];
} }
}
else else
downloadString = [NSString stringForFileSize: [self size]]; downloadString = [NSString stringForFileSize: [self size]];

Binary file not shown.