]> granicus.if.org Git - handbrake/commitdiff
MacGui: make it possible to localise the default chapters titles.
authorDamiano Galassi <damiog@gmail.com>
Wed, 11 Jul 2018 07:06:12 +0000 (09:06 +0200)
committerDamiano Galassi <damiog@gmail.com>
Wed, 11 Jul 2018 07:06:12 +0000 (09:06 +0200)
macosx/HBTitle.m

index 36508643b00f5973e90ca7973ae838ef5af01b55..e718624a7a6ec4bd9ba8aa05ad28d957e7e24891 100644 (file)
@@ -291,7 +291,7 @@ extern NSString *keySubTrackType;
                 }
                 else
                 {
-                    title = [NSString stringWithFormat:@"Chapter %d", i + 1];
+                    title = [NSString stringWithFormat:NSLocalizedString(@"Chapter %d", "Title -> chapter name"), i + 1];
                 }
 
                 [chapters addObject:[[HBChapter alloc] initWithTitle:title