diff options
-rw-r--r-- | macosx/HBQueueController.mm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm index 8e9b59266..738514622 100644 --- a/macosx/HBQueueController.mm +++ b/macosx/HBQueueController.mm @@ -169,13 +169,17 @@ static NSString* HBQueuePauseResumeToolbarIdentifier = @"HBQueuePauseRe /* Set the queue status field in the queue window */ NSMutableString * string; - if (fPendingCount == 1) + if (fPendingCount == 0) + { + string = [NSMutableString stringWithFormat: NSLocalizedString( @"No encode pending", @"" )]; + } + else if (fPendingCount == 1) { string = [NSMutableString stringWithFormat: NSLocalizedString( @"%d encode pending", @"" ), fPendingCount]; } else { - string = [NSMutableString stringWithFormat: NSLocalizedString( @"%d encode(s) pending", @"" ), fPendingCount]; + string = [NSMutableString stringWithFormat: NSLocalizedString( @"%d encodes pending", @"" ), fPendingCount]; } [fQueueCountField setStringValue:string]; |