mirror of
https://github.com/transmission/transmission
synced 2025-02-03 04:53:27 +00:00
update the strings file; adjust the blocklist text
This commit is contained in:
parent
09b30689b7
commit
fb437cb20a
2 changed files with 2 additions and 1 deletions
Binary file not shown.
|
@ -378,10 +378,11 @@
|
|||
{
|
||||
NSNumberFormatter * numberFormatter = [[NSNumberFormatter alloc] init];
|
||||
[numberFormatter setNumberStyle: NSNumberFormatterDecimalStyle];
|
||||
[numberFormatter setMaximumFractionDigits: 0];
|
||||
NSString * countString = [numberFormatter stringFromNumber: [NSNumber numberWithInt: tr_blocklistGetRuleCount(fHandle)]];
|
||||
[numberFormatter release];
|
||||
|
||||
[fBlocklistMessageField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ IP addresses in list",
|
||||
[fBlocklistMessageField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ IP address rules in list",
|
||||
"Prefs -> blocklist -> message"), countString]];
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue