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

localize new string

This commit is contained in:
Mitchell Livingston 2007-02-23 15:56:52 +00:00
parent c21833ab06
commit 74d2eefac4

View file

@ -60,7 +60,8 @@
[NSFont messageFontOfSize: 9.0], NSFontAttributeName, [NSFont messageFontOfSize: 9.0], NSFontAttributeName,
paragraphStyle, NSParagraphStyleAttributeName, nil]; paragraphStyle, NSParagraphStyleAttributeName, nil];
NSString * statusString = [NSString stringWithFormat: @"%.2f%% of %@", NSString * statusString = [NSString stringWithFormat: NSLocalizedString(@"%.2f%% of %@",
"Inspector -> Files tab -> file status string"),
100.0 * [[item objectForKey: @"Progress"] floatValue], 100.0 * [[item objectForKey: @"Progress"] floatValue],
[NSString stringForFileSize: [[item objectForKey: @"Size"] unsignedLongLongValue]]]; [NSString stringForFileSize: [[item objectForKey: @"Size"] unsignedLongLongValue]]];