diff options
author | Damiano Galassi <[email protected]> | 2018-10-20 13:31:06 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-10-20 13:31:06 +0200 |
commit | 4854e51a58cad3b6ce06cf02d1bec15a5fc38d34 (patch) | |
tree | 5bf4a11c2f8aa8282c0d9e0e9272cdc7ba49fc22 /macosx/HBSubtitles.m | |
parent | 70f1438bd17a9eea7e18db17d0bbc5b1ec11ac93 (diff) |
MacGui: load the HandBrakeKit framework localized strings from the framework bundle.
Diffstat (limited to 'macosx/HBSubtitles.m')
-rw-r--r-- | macosx/HBSubtitles.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/HBSubtitles.m b/macosx/HBSubtitles.m index 39f9d20b8..3193045b7 100644 --- a/macosx/HBSubtitles.m +++ b/macosx/HBSubtitles.m @@ -13,6 +13,7 @@ #import "HBJob+HBJobConversion.h" #import "HBTitle.h" #import "HBCodingUtilities.h" +#import "HBLocalizationUtilities.h" #import "HBUtilities.h" #import "HBJob+Private.h" #import "HBSecurityAccessToken.h" @@ -63,10 +64,10 @@ extern NSString *keySubTrackSrtFileURLBookmark; int foreignAudioType = VOBSUB; // now set the name of the Foreign Audio Search track - NSMutableString *foreignAudioSearchTrackName = [NSLocalizedString(@"Foreign Audio Search", "HBSubtitles -> search pass name") mutableCopy]; + NSMutableString *foreignAudioSearchTrackName = [HBKitLocalizedString(@"Foreign Audio Search", "HBSubtitles -> search pass name") mutableCopy]; // Add the none and foreign track to the source array - NSDictionary *none = @{ keySubTrackName: NSLocalizedString(@"None", @"HBSubtitles -> none track name")}; + NSDictionary *none = @{ keySubTrackName: HBKitLocalizedString(@"None", @"HBSubtitles -> none track name")}; [sourceTracks insertObject:none atIndex:0]; NSDictionary *foreign = @{ keySubTrackName: [foreignAudioSearchTrackName copy], |