From: Nomis101 Date: Mon, 24 Dec 2018 22:01:27 +0000 (+0100) Subject: MacGui: make some more strings of HBPicture+UIAdditions accessible for localization X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a3f52225f3f579f09adbffba068cf6d7615215a;p=handbrake MacGui: make some more strings of HBPicture+UIAdditions accessible for localization Make it possible to localize some more strings of the Preview window. --- diff --git a/macosx/HBPicture+UIAdditions.m b/macosx/HBPicture+UIAdditions.m index 23d3e8b0f..369de103b 100644 --- a/macosx/HBPicture+UIAdditions.m +++ b/macosx/HBPicture+UIAdditions.m @@ -59,32 +59,32 @@ { NSString *sizeInfo = @""; - sizeInfo = [NSString stringWithFormat: - @"Source: %dx%d, ", + sizeInfo = [NSString stringWithFormat:HBKitLocalizedString + (@"Source: %dx%d, ", @"HBPicture -> short info"), self.sourceWidth, self.sourceHeight]; if (self.anamorphicMode == HB_ANAMORPHIC_AUTO) { - sizeInfo = [NSString stringWithFormat: - @"%@Output: %dx%d, Anamorphic: %dx%d Auto", + sizeInfo = [NSString stringWithFormat:HBKitLocalizedString + (@"%@Output: %dx%d, Anamorphic: %dx%d Auto", @"HBPicture -> short info"), sizeInfo, self.width, self.height, self.displayWidth, self.height]; } else if (self.anamorphicMode == HB_ANAMORPHIC_LOOSE) // Loose Anamorphic { - sizeInfo = [NSString stringWithFormat: - @"%@Output: %dx%d, Anamorphic: %dx%d Loose", + sizeInfo = [NSString stringWithFormat:HBKitLocalizedString + (@"%@Output: %dx%d, Anamorphic: %dx%d Loose", @"HBPicture -> short info"), sizeInfo, self.width, self.height, self.displayWidth, self.height]; } else if (self.anamorphicMode == HB_ANAMORPHIC_CUSTOM) // Custom Anamorphic { - sizeInfo = [NSString stringWithFormat: - @"%@Output: %dx%d, Anamorphic: %dx%d Custom", + sizeInfo = [NSString stringWithFormat:HBKitLocalizedString + (@"%@Output: %dx%d, Anamorphic: %dx%d Custom", @"HBPicture -> short info"), sizeInfo, self.width, self.height, self.displayWidth, self.height]; } else // No Anamorphic { - sizeInfo = [NSString stringWithFormat: - @"%@Output: %dx%d", + sizeInfo = [NSString stringWithFormat:HBKitLocalizedString + (@"%@Output: %dx%d", @"HBPicture -> short info"), sizeInfo, self.width, self.height]; }