/* Populate the Anamorphic NSPopUp button here */
[fAnamorphicPopUp removeAllItems];
- [fAnamorphicPopUp addItemWithTitle: @"None"];
- [fAnamorphicPopUp addItemWithTitle: @"Strict"];
+ [fAnamorphicPopUp addItemWithTitle: NSLocalizedStringFromTable(@"None", @"Picture", @"")];
+ [fAnamorphicPopUp addItemWithTitle: NSLocalizedStringFromTable(@"Strict", @"Picture", @"")];
if (allowLooseAnamorphic)
{
- [fAnamorphicPopUp addItemWithTitle: @"Loose"];
+ [fAnamorphicPopUp addItemWithTitle: NSLocalizedStringFromTable(@"Loose", @"Picture", @"")];
}
[fAnamorphicPopUp selectItemAtIndex: job->pixel_ratio];
{
/* we use a popup to show the deinterlace settings */
[fDeinterlacePopUp removeAllItems];
- [fDeinterlacePopUp addItemWithTitle: @"None"];
- [fDeinterlacePopUp addItemWithTitle: @"Fast"];
- [fDeinterlacePopUp addItemWithTitle: @"Slow"];
- [fDeinterlacePopUp addItemWithTitle: @"Slower"];
+ [fDeinterlacePopUp addItemWithTitle: NSLocalizedStringFromTable(@"None", @"Picture", @"")];
+ [fDeinterlacePopUp addItemWithTitle: NSLocalizedStringFromTable(@"Fast", @"Picture", @"")];
+ [fDeinterlacePopUp addItemWithTitle: NSLocalizedStringFromTable(@"Slow", @"Picture", @"")];
+ [fDeinterlacePopUp addItemWithTitle: NSLocalizedStringFromTable(@"Slower", @"Picture", @"")];
/* Set deinterlaces level according to the integer in the main window */
[fDeinterlacePopUp selectItemAtIndex: fPictureFilterSettings.deinterlace];
/* we use a popup to show the denoise settings */
[fDenoisePopUp removeAllItems];
- [fDenoisePopUp addItemWithTitle: @"None"];
- [fDenoisePopUp addItemWithTitle: @"Weak"];
- [fDenoisePopUp addItemWithTitle: @"Medium"];
- [fDenoisePopUp addItemWithTitle: @"Strong"];
+ [fDenoisePopUp addItemWithTitle: NSLocalizedStringFromTable(@"None", @"Picture", @"")];
+ [fDenoisePopUp addItemWithTitle: NSLocalizedStringFromTable(@"Weak", @"Picture", @"")];
+ [fDenoisePopUp addItemWithTitle: NSLocalizedStringFromTable(@"Medium", @"Picture", @"")];
+ [fDenoisePopUp addItemWithTitle: NSLocalizedStringFromTable(@"Strong", @"Picture", @"")];
/* Set denoises level according to the integer in the main window */
[fDenoisePopUp selectItemAtIndex: fPictureFilterSettings.denoise];
/* we use a popup to show the decomb settings */
[fDecombPopUp removeAllItems];
- [fDecombPopUp addItemWithTitle: @"None"];
- [fDecombPopUp addItemWithTitle: @"Default"];
- [fDecombPopUp addItemWithTitle: @"Custom"];
+ [fDecombPopUp addItemWithTitle: NSLocalizedStringFromTable(@"None", @"Picture", @"")];
+ [fDecombPopUp addItemWithTitle: NSLocalizedStringFromTable(@"Default", @"Picture", @"")];
+ [fDecombPopUp addItemWithTitle: NSLocalizedStringFromTable(@"Custom", @"Picture", @"")];
/* Set denoises level according to the integer in the main window */
[fDecombPopUp selectItemAtIndex: fPictureFilterSettings.decomb];
output_height = fTitle->height-fTitle->job->crop[0]-fTitle->job->crop[1];
display_width = output_width * fTitle->job->pixel_aspect_width / fTitle->job->pixel_aspect_height;
[fInfoField setStringValue:[NSString stringWithFormat:
- @"Source: %dx%d, Output: %dx%d, Anamorphic: %dx%d",
+ NSLocalizedStringFromTable(@"Source: %dx%d, Output: %dx%d, Anamorphic: %dx%d", @"Picture", @""),
fTitle->width, fTitle->height, output_width, output_height, display_width, output_height]];
displaySize.width *= ( ( CGFloat )fTitle->job->pixel_aspect_width ) / ( ( CGFloat )fTitle->job->pixel_aspect_height );
}
{
display_width = output_width * output_par_width / output_par_height;
[fInfoField setStringValue:[NSString stringWithFormat:
- @"Source: %dx%d, Output: %dx%d, Anamorphic: %dx%d",
+ NSLocalizedStringFromTable(@"Source: %dx%d, Output: %dx%d, Anamorphic: %dx%d", @"Picture", @""),
fTitle->width, fTitle->height, output_width, output_height, display_width, output_height]];
displaySize.width = display_width;
else // No Anamorphic
{
[fInfoField setStringValue: [NSString stringWithFormat:
- @"Source: %dx%d, Output: %dx%d", fTitle->width, fTitle->height,
+ NSLocalizedStringFromTable(@"Source: %dx%d, Output: %dx%d", @"Picture", @""), fTitle->width, fTitle->height,
fTitle->job->width, fTitle->job->height]];
}
{
if ([fDeblockSlider floatValue] == 4.0)
{
- [fDeblockField setStringValue: [NSString stringWithFormat: @"Off"]];
+ [fDeblockField setStringValue: [NSString stringWithFormat: NSLocalizedStringFromTable(@"Off", @"Picture", @"")]];
}
else
{
fPictureFilterSettings.detelecine = [fDetelecineCheck state];
- if ([fDeblockField stringValue] == @"Off")
+ if ([fDeblockField stringValue] == NSLocalizedStringFromTable(@"Off", @"Picture", @""))
{
fPictureFilterSettings.deblock = 0;
}