update the strings file; adjust the blocklist text

This commit is contained in:
Mitchell Livingston 2008-03-30 03:40:13 +00:00
parent 09b30689b7
commit fb437cb20a
2 changed files with 2 additions and 1 deletions

View File

@ -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