diff options
author | dynaflash <[email protected]> | 2011-03-31 13:41:01 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2011-03-31 13:41:01 +0000 |
commit | b08d9e92f647fc005397b96d37853cb4a36910f3 (patch) | |
tree | fa0cebd5ff7b5fbae0b503f7e10b5683e1aa7dff | |
parent | 4ffa2d38a93c0026603bc5595eee9615395bc0d9 (diff) |
MacGui: Make the queue window's wording match that of the main window.
- Patch by Rodeo.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3892 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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]; |