mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Address format conversion warnings in localizations (#3059)
This commit is contained in:
@@ -321,11 +321,10 @@
|
||||
|
||||
//status field
|
||||
NSString* fileString;
|
||||
NSInteger count = self.torrent.fileCount;
|
||||
NSUInteger count = self.torrent.fileCount;
|
||||
if (count != 1)
|
||||
{
|
||||
fileString = [NSString
|
||||
stringWithFormat:NSLocalizedString(@"%@ files", "Add torrent -> info"), [NSString formattedUInteger:count]];
|
||||
fileString = [NSString stringWithFormat:NSLocalizedString(@"%lu files", "Add torrent -> info"), count];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user