summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudio.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2018-10-20 13:31:06 +0200
committerDamiano Galassi <[email protected]>2018-10-20 13:31:06 +0200
commit4854e51a58cad3b6ce06cf02d1bec15a5fc38d34 (patch)
tree5bf4a11c2f8aa8282c0d9e0e9272cdc7ba49fc22 /macosx/HBAudio.m
parent70f1438bd17a9eea7e18db17d0bbc5b1ec11ac93 (diff)
MacGui: load the HandBrakeKit framework localized strings from the framework bundle.
Diffstat (limited to 'macosx/HBAudio.m')
-rw-r--r--macosx/HBAudio.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBAudio.m b/macosx/HBAudio.m
index 4daf72e36..ad9b4b3b8 100644
--- a/macosx/HBAudio.m
+++ b/macosx/HBAudio.m
@@ -14,6 +14,7 @@
#import "HBAudioDefaults.h"
#import "HBCodingUtilities.h"
+#import "HBLocalizationUtilities.h"
#import "HBJob+Private.h"
#include "hb.h"
@@ -44,7 +45,7 @@ NSString *HBAudioEncoderChangedNotification = @"HBAudioEncoderChangedNotificatio
// Add the none and foreign track to the source array
NSMutableArray *sourceTracks = [job.title.audioTracks mutableCopy];
- NSDictionary *none = @{keyAudioTrackName: NSLocalizedString(@"None", @"HBAudio -> none track name")};
+ NSDictionary *none = @{keyAudioTrackName: HBKitLocalizedString(@"None", @"HBAudio -> none track name")};
[sourceTracks insertObject:none atIndex:0];
_sourceTracks = [sourceTracks copy];
}