summaryrefslogtreecommitdiffstats
path: root/macosx/HBRange+UIAdditions.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/HBRange+UIAdditions.m
parent70f1438bd17a9eea7e18db17d0bbc5b1ec11ac93 (diff)
MacGui: load the HandBrakeKit framework localized strings from the framework bundle.
Diffstat (limited to 'macosx/HBRange+UIAdditions.m')
-rw-r--r--macosx/HBRange+UIAdditions.m7
1 files changed, 4 insertions, 3 deletions
diff --git a/macosx/HBRange+UIAdditions.m b/macosx/HBRange+UIAdditions.m
index 04c7bfdac..f574225a3 100644
--- a/macosx/HBRange+UIAdditions.m
+++ b/macosx/HBRange+UIAdditions.m
@@ -6,6 +6,7 @@
#import "HBRange+UIAdditions.h"
#import "HBTitle.h"
+#import "HBLocalizationUtilities.h"
@implementation HBRange (UIAdditions)
@@ -20,9 +21,9 @@
- (NSArray *)types
{
- return @[NSLocalizedString(@"Chapters", @"HBRange -> display name"),
- NSLocalizedString(@"Seconds", @"HBRange -> display name"),
- NSLocalizedString(@"Frames", @"HBRange -> display name")];
+ return @[HBKitLocalizedString(@"Chapters", @"HBRange -> display name"),
+ HBKitLocalizedString(@"Seconds", @"HBRange -> display name"),
+ HBKitLocalizedString(@"Frames", @"HBRange -> display name")];
}
- (BOOL)chaptersSelected