1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 14:10:34 +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) if (statsAll.sessionCount == 1)
[fNumOpenedField setStringValue: NSLocalizedString(@"1 time", "stats window -> times opened")]; [fNumOpenedField setStringValue: NSLocalizedString(@"1 time", "stats window -> times opened")];
else else
[fNumOpenedField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%llu times", "stats window -> times opened"), [fNumOpenedField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ times", "stats window -> times opened"),
statsAll.sessionCount]]; [NSString formattedUInteger: statsAll.sessionCount]]];
} }
- (void) performResetStats - (void) performResetStats