summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-11-30 18:37:16 +0000
committerdynaflash <[email protected]>2010-11-30 18:37:16 +0000
commitfcd3cde47deaa4d65d064f50df0f4c332064720f (patch)
tree0c5be714ed75e79be2408daa0a9ce5207bed3693
parent057feb69bc3c615fefae4aad5cf8adb07df6a7b2 (diff)
MacGui: fix a typo and change how we word how many encodes are left in the queue in the main window.
- Patches by Rodeo. - Further explanation can be found here: http://forum.handbrake.fr/viewtopic.php?f=4&t=18807 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3691 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/Controller.m10
1 files changed, 7 insertions, 3 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index c9cd4bafe..720e9e2ad 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -2091,13 +2091,17 @@ fWorkingCount = 0;
/* Set the queue status field in the main 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];
}
[fQueueStatus setStringValue:string];
}
@@ -2118,7 +2122,7 @@ fWorkingCount = 0;
{
nextPendingFound = YES;
nextPendingIndex = [QueueFileArray indexOfObject: tempObject];
- [self writeToActivityLog: "getNextPendingQueueIndex next pending encod index is:%d", nextPendingIndex];
+ [self writeToActivityLog: "getNextPendingQueueIndex next pending encode index is:%d", nextPendingIndex];
}
i++;
}