summaryrefslogtreecommitdiffstats
path: root/macosx/HBPicture+UIAdditions.m
diff options
context:
space:
mode:
authorNomis101 <[email protected]>2018-12-24 23:01:27 +0100
committerDamiano Galassi <[email protected]>2019-01-01 14:58:31 +0100
commit8a3f52225f3f579f09adbffba068cf6d7615215a (patch)
tree98b91060cfdaf8f9858262e9ca2c0c8d326d7d38 /macosx/HBPicture+UIAdditions.m
parent5a65df0d5838a3c8896ca0f5ce077cdf051358dc (diff)
MacGui: make some more strings of HBPicture+UIAdditions accessible for localization
Make it possible to localize some more strings of the Preview window.
Diffstat (limited to 'macosx/HBPicture+UIAdditions.m')
-rw-r--r--macosx/HBPicture+UIAdditions.m20
1 files changed, 10 insertions, 10 deletions
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];
}