1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 11:23:40 +00:00

remove unneeded localizedStringWithFormat:

This commit is contained in:
Mitchell Livingston 2009-09-28 03:12:58 +00:00
parent df7ae11485
commit 30aadad200

View file

@ -230,7 +230,7 @@
NSString * percentString = progress == 1.0f ? @"100%" : [NSString localizedStringWithFormat: @"%.2f%%", progress * 100.0f]; NSString * percentString = progress == 1.0f ? @"100%" : [NSString localizedStringWithFormat: @"%.2f%%", progress * 100.0f];
NSString * status = [NSString localizedStringWithFormat: 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]]];
return [[[NSAttributedString alloc] initWithString: status attributes: fStatusAttributes] autorelease]; return [[[NSAttributedString alloc] initWithString: status attributes: fStatusAttributes] autorelease];