a couple more formatted integers

This commit is contained in:
Mitchell Livingston
2010-11-14 21:04:25 +00:00
parent c8ada6126c
commit 76f5a1f680
4 changed files with 15 additions and 9 deletions

View File

@@ -236,7 +236,8 @@
NSString * fileString;
NSInteger count = [fTorrent fileCount];
if (count != 1)
fileString = [NSString stringWithFormat: NSLocalizedString(@"%d files", "Add torrent -> info"), count];
fileString = [NSString stringWithFormat: NSLocalizedString(@"%@ files", "Add torrent -> info"),
[NSString formattedUInteger: count]];
else
fileString = NSLocalizedString(@"1 file", "Add torrent -> info");