]> granicus.if.org Git - handbrake/commitdiff
MacGui: add a few more comments.
authorDamiano Galassi <damiog@gmail.com>
Sat, 9 Jun 2018 09:12:21 +0000 (11:12 +0200)
committerDamiano Galassi <damiog@gmail.com>
Sat, 9 Jun 2018 09:12:21 +0000 (11:12 +0200)
macosx/HBPreviewView.m
macosx/HBQueueController.m

index 705f5c75085ce45f87fbd4de38644a6e3bc55e35..ff97ad2746d374dd328716235f9f8d99f00f8e58 100644 (file)
     {
         return [NSString stringWithFormat:NSLocalizedString(@"Preview Image, Size: %zu x %zu, Scale: %.0f%%", @"Preview -> accessibility label"), CGImageGetWidth(self.image), CGImageGetHeight(self.image), self.scale * 100];
     }
-    return NSLocalizedString(@"No image", nil);
+    return NSLocalizedString(@"No image", @"Preview -> accessibility label");
 }
 
 @end
index de91f35f96f4cf6fb21227df3b793d879b7eff05..fae219c20ca48e3cd4c75d375025743a1a9803cb 100644 (file)
         NSString *description;
         if (result == HBCoreResultDone)
         {
-            title = NSLocalizedString(@"Put down that cocktail…", nil);
+            title = NSLocalizedString(@"Put down that cocktail…", @"Queue notification alert message");
             description = [NSString stringWithFormat:NSLocalizedString(@"Your encode %@ is done!", @"Queue done notification message"),
                                      job.outputFileName];
 
         }
         else
         {
-            title = NSLocalizedString(@"Encode failed", nil);
+            title = NSLocalizedString(@"Encode failed", @"Queue done notification failed message");
             description = [NSString stringWithFormat:NSLocalizedString(@"Your encode %@ couldn't be completed.", @"Queue done notification message"),
                            job.outputFileName];
         }