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:
parent
4c4a248c02
commit
4f3c9923ba
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue