summaryrefslogtreecommitdiffstats
path: root/macosx/HBPicture+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/HBPicture+UIAdditions.m
parent70f1438bd17a9eea7e18db17d0bbc5b1ec11ac93 (diff)
MacGui: load the HandBrakeKit framework localized strings from the framework bundle.
Diffstat (limited to 'macosx/HBPicture+UIAdditions.m')
-rw-r--r--macosx/HBPicture+UIAdditions.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBPicture+UIAdditions.m b/macosx/HBPicture+UIAdditions.m
index 39b0d378d..23d3e8b0f 100644
--- a/macosx/HBPicture+UIAdditions.m
+++ b/macosx/HBPicture+UIAdditions.m
@@ -6,6 +6,8 @@
#import "HBPicture+UIAdditions.h"
#import "HBTitle.h"
+#import "HBLocalizationUtilities.h"
+
#include "hb.h"
@implementation HBPicture (UIAdditions)
@@ -91,7 +93,7 @@
- (NSString *)shortInfo
{
- return [NSString stringWithFormat:NSLocalizedString(@"%dx%d Storage, %dx%d Display", @"HBPicture -> short info"), self.width, self.height, self.displayWidth, self.height];
+ return [NSString stringWithFormat:HBKitLocalizedString(@"%dx%d Storage, %dx%d Display", @"HBPicture -> short info"), self.width, self.height, self.displayWidth, self.height];
}
+ (NSSet<NSString *> *)keyPathsForValuesAffectingSummary