1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 13:16:53 +00:00

format the number of times opened

This commit is contained in:
Mitchell Livingston 2011-02-09 02:49:32 +00:00
parent 4c4a248c02
commit 4f3c9923ba

View file

@ -196,8 +196,8 @@ tr_session * fLib;
if (statsAll.sessionCount == 1)
[fNumOpenedField setStringValue: NSLocalizedString(@"1 time", "stats window -> times opened")];
else
[fNumOpenedField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%llu times", "stats window -> times opened"),
statsAll.sessionCount]];
[fNumOpenedField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ times", "stats window -> times opened"),
[NSString formattedUInteger: statsAll.sessionCount]]];
}
- (void) performResetStats