From: Damiano Galassi Date: Wed, 11 Jul 2018 07:06:12 +0000 (+0200) Subject: MacGui: make it possible to localise the default chapters titles. X-Git-Tag: 1.2.0~240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd26253e5adcaa0a0c7ee7d9067f6d2d1d2f4112;p=handbrake MacGui: make it possible to localise the default chapters titles. --- diff --git a/macosx/HBTitle.m b/macosx/HBTitle.m index 36508643b..e718624a7 100644 --- a/macosx/HBTitle.m +++ b/macosx/HBTitle.m @@ -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