Fix some minor issues with space/translation - thx Jamakmake :)

This commit is contained in:
Nikolaj Olsson 2017-10-23 18:44:00 +02:00
parent 2640a99a12
commit 46492491af
8 changed files with 58 additions and 47 deletions

View File

@ -2270,6 +2270,7 @@ Keep changes?</KeepChangesMessage>
<SetUnitalicFactor>Set un-italic factor...</SetUnitalicFactor>
<DiscardTitle>Discard changes made in OCR?</DiscardTitle>
<DiscardText>Do you want to discard changes made in current OCR session?</DiscardText>
<MinLineSplitHeight>Min. line height (split)</MinLineSplitHeight>
</VobSubOcr>
<VobSubOcrCharacter>
<Title>VobSub - Manual image to text</Title>

View File

@ -2591,6 +2591,7 @@ Keep changes?",
SetUnitalicFactor = "Set un-italic factor...",
DiscardTitle = "Discard changes made in OCR?",
DiscardText = "Do you want to discard changes made in current OCR session?",
MinLineSplitHeight = "Min. line height (split)",
};
VobSubOcrCharacter = new LanguageStructure.VobSubOcrCharacter

View File

@ -6145,6 +6145,9 @@ namespace Nikse.SubtitleEdit.Core
case "VobSubOcr/DiscardText":
language.VobSubOcr.DiscardText = reader.Value;
break;
case "VobSubOcr/MinLineSplitHeight":
language.VobSubOcr.MinLineSplitHeight = reader.Value;
break;
case "VobSubOcrCharacter/Title":
language.VobSubOcrCharacter.Title = reader.Value;
break;

View File

@ -2472,6 +2472,7 @@
public string SetUnitalicFactor { get; set; }
public string DiscardTitle { get; set; }
public string DiscardText { get; set; }
public string MinLineSplitHeight { get; set; }
}
public class VobSubOcrCharacter

View File

@ -29,7 +29,7 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Nikse.SubtitleEdit.Core.TimeCode timeCode1 = new Nikse.SubtitleEdit.Core.TimeCode();
Nikse.SubtitleEdit.Core.TimeCode timeCode2 = new Nikse.SubtitleEdit.Core.TimeCode();
this.buttonConvert = new System.Windows.Forms.Button();
this.buttonCancel = new System.Windows.Forms.Button();
this.groupBoxConvertOptions = new System.Windows.Forms.GroupBox();
@ -109,7 +109,7 @@
//
this.buttonConvert.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonConvert.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonConvert.Location = new System.Drawing.Point(817, 598);
this.buttonConvert.Location = new System.Drawing.Point(844, 598);
this.buttonConvert.Name = "buttonConvert";
this.buttonConvert.Size = new System.Drawing.Size(98, 21);
this.buttonConvert.TabIndex = 2;
@ -121,7 +121,7 @@
//
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonCancel.Location = new System.Drawing.Point(921, 598);
this.buttonCancel.Location = new System.Drawing.Point(948, 598);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 21);
this.buttonCancel.TabIndex = 3;
@ -149,9 +149,9 @@
this.groupBoxConvertOptions.Controls.Add(this.checkBoxFixCasing);
this.groupBoxConvertOptions.Controls.Add(this.checkBoxRemoveTextForHI);
this.groupBoxConvertOptions.Controls.Add(this.checkBoxRemoveFormatting);
this.groupBoxConvertOptions.Location = new System.Drawing.Point(439, 19);
this.groupBoxConvertOptions.Location = new System.Drawing.Point(422, 19);
this.groupBoxConvertOptions.Name = "groupBoxConvertOptions";
this.groupBoxConvertOptions.Size = new System.Drawing.Size(539, 234);
this.groupBoxConvertOptions.Size = new System.Drawing.Size(583, 234);
this.groupBoxConvertOptions.TabIndex = 11;
this.groupBoxConvertOptions.TabStop = false;
this.groupBoxConvertOptions.Text = "Convert options";
@ -159,7 +159,7 @@
// buttonBridgeGapsSettings
//
this.buttonBridgeGapsSettings.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonBridgeGapsSettings.Location = new System.Drawing.Point(170, 92);
this.buttonBridgeGapsSettings.Location = new System.Drawing.Point(183, 92);
this.buttonBridgeGapsSettings.Name = "buttonBridgeGapsSettings";
this.buttonBridgeGapsSettings.Size = new System.Drawing.Size(104, 21);
this.buttonBridgeGapsSettings.TabIndex = 10;
@ -184,9 +184,9 @@
this.groupBoxSpeed.Controls.Add(this.radioButtonSpeedCustom);
this.groupBoxSpeed.Controls.Add(this.numericUpDownPercent);
this.groupBoxSpeed.Controls.Add(this.labelPercent);
this.groupBoxSpeed.Location = new System.Drawing.Point(429, 89);
this.groupBoxSpeed.Location = new System.Drawing.Point(444, 89);
this.groupBoxSpeed.Name = "groupBoxSpeed";
this.groupBoxSpeed.Size = new System.Drawing.Size(110, 115);
this.groupBoxSpeed.Size = new System.Drawing.Size(132, 115);
this.groupBoxSpeed.TabIndex = 12;
this.groupBoxSpeed.TabStop = false;
this.groupBoxSpeed.Text = "Change speed";
@ -272,7 +272,7 @@
// buttonRemoveTextForHiSettings
//
this.buttonRemoveTextForHiSettings.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonRemoveTextForHiSettings.Location = new System.Drawing.Point(170, 69);
this.buttonRemoveTextForHiSettings.Location = new System.Drawing.Point(183, 69);
this.buttonRemoveTextForHiSettings.Name = "buttonRemoveTextForHiSettings";
this.buttonRemoveTextForHiSettings.Size = new System.Drawing.Size(104, 21);
this.buttonRemoveTextForHiSettings.TabIndex = 3;
@ -303,7 +303,7 @@
// buttonMultipleReplaceSettings
//
this.buttonMultipleReplaceSettings.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonMultipleReplaceSettings.Location = new System.Drawing.Point(170, 141);
this.buttonMultipleReplaceSettings.Location = new System.Drawing.Point(183, 141);
this.buttonMultipleReplaceSettings.Name = "buttonMultipleReplaceSettings";
this.buttonMultipleReplaceSettings.Size = new System.Drawing.Size(104, 21);
this.buttonMultipleReplaceSettings.TabIndex = 30;
@ -334,7 +334,7 @@
// buttonFixCommonErrorSettings
//
this.buttonFixCommonErrorSettings.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonFixCommonErrorSettings.Location = new System.Drawing.Point(170, 116);
this.buttonFixCommonErrorSettings.Location = new System.Drawing.Point(183, 116);
this.buttonFixCommonErrorSettings.Name = "buttonFixCommonErrorSettings";
this.buttonFixCommonErrorSettings.Size = new System.Drawing.Size(104, 21);
this.buttonFixCommonErrorSettings.TabIndex = 20;
@ -348,9 +348,9 @@
this.groupBoxChangeFrameRate.Controls.Add(this.labelToFrameRate);
this.groupBoxChangeFrameRate.Controls.Add(this.comboBoxFrameRateFrom);
this.groupBoxChangeFrameRate.Controls.Add(this.labelFromFrameRate);
this.groupBoxChangeFrameRate.Location = new System.Drawing.Point(280, 12);
this.groupBoxChangeFrameRate.Location = new System.Drawing.Point(295, 12);
this.groupBoxChangeFrameRate.Name = "groupBoxChangeFrameRate";
this.groupBoxChangeFrameRate.Size = new System.Drawing.Size(259, 73);
this.groupBoxChangeFrameRate.Size = new System.Drawing.Size(281, 73);
this.groupBoxChangeFrameRate.TabIndex = 10;
this.groupBoxChangeFrameRate.TabStop = false;
this.groupBoxChangeFrameRate.Text = "Change frame rate";
@ -358,7 +358,7 @@
// comboBoxFrameRateTo
//
this.comboBoxFrameRateTo.FormattingEnabled = true;
this.comboBoxFrameRateTo.Location = new System.Drawing.Point(132, 46);
this.comboBoxFrameRateTo.Location = new System.Drawing.Point(130, 46);
this.comboBoxFrameRateTo.Name = "comboBoxFrameRateTo";
this.comboBoxFrameRateTo.Size = new System.Drawing.Size(121, 21);
this.comboBoxFrameRateTo.TabIndex = 3;
@ -375,7 +375,7 @@
// comboBoxFrameRateFrom
//
this.comboBoxFrameRateFrom.FormattingEnabled = true;
this.comboBoxFrameRateFrom.Location = new System.Drawing.Point(132, 17);
this.comboBoxFrameRateFrom.Location = new System.Drawing.Point(130, 17);
this.comboBoxFrameRateFrom.Name = "comboBoxFrameRateFrom";
this.comboBoxFrameRateFrom.Size = new System.Drawing.Size(121, 21);
this.comboBoxFrameRateFrom.TabIndex = 1;
@ -395,7 +395,7 @@
this.groupBoxOffsetTimeCodes.Controls.Add(this.radioButtonShowEarlier);
this.groupBoxOffsetTimeCodes.Controls.Add(this.timeUpDownAdjust);
this.groupBoxOffsetTimeCodes.Controls.Add(this.labelHourMinSecMilliSecond);
this.groupBoxOffsetTimeCodes.Location = new System.Drawing.Point(280, 89);
this.groupBoxOffsetTimeCodes.Location = new System.Drawing.Point(295, 89);
this.groupBoxOffsetTimeCodes.Name = "groupBoxOffsetTimeCodes";
this.groupBoxOffsetTimeCodes.Size = new System.Drawing.Size(143, 119);
this.groupBoxOffsetTimeCodes.TabIndex = 11;
@ -428,19 +428,20 @@
//
this.timeUpDownAdjust.AutoSize = true;
this.timeUpDownAdjust.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.timeUpDownAdjust.Font = new System.Drawing.Font("Segoe UI", 9F);
this.timeUpDownAdjust.Location = new System.Drawing.Point(7, 37);
this.timeUpDownAdjust.Margin = new System.Windows.Forms.Padding(4);
this.timeUpDownAdjust.Name = "timeUpDownAdjust";
this.timeUpDownAdjust.Size = new System.Drawing.Size(96, 24);
this.timeUpDownAdjust.Size = new System.Drawing.Size(96, 27);
this.timeUpDownAdjust.TabIndex = 1;
timeCode1.Hours = 99;
timeCode1.Milliseconds = 999;
timeCode1.Minutes = 59;
timeCode1.Seconds = 59;
timeCode1.TimeSpan = System.TimeSpan.Parse("4.03:59:59.9990000");
timeCode1.TotalMilliseconds = 359999999D;
timeCode1.TotalSeconds = 359999.999D;
this.timeUpDownAdjust.TimeCode = timeCode1;
timeCode2.Hours = 0;
timeCode2.Milliseconds = 0;
timeCode2.Minutes = 0;
timeCode2.Seconds = 0;
timeCode2.TimeSpan = System.TimeSpan.Parse("00:00:00");
timeCode2.TotalMilliseconds = 0D;
timeCode2.TotalSeconds = 0D;
this.timeUpDownAdjust.TimeCode = timeCode2;
this.timeUpDownAdjust.UseVideoOffset = false;
//
// labelHourMinSecMilliSecond
@ -501,7 +502,7 @@
this.groupBoxOutput.Controls.Add(this.textBoxOutputFolder);
this.groupBoxOutput.Location = new System.Drawing.Point(12, 326);
this.groupBoxOutput.Name = "groupBoxOutput";
this.groupBoxOutput.Size = new System.Drawing.Size(987, 259);
this.groupBoxOutput.Size = new System.Drawing.Size(1014, 259);
this.groupBoxOutput.TabIndex = 1;
this.groupBoxOutput.TabStop = false;
this.groupBoxOutput.Text = "Output";
@ -531,7 +532,7 @@
// linkLabelOpenOutputFolder
//
this.linkLabelOpenOutputFolder.AutoSize = true;
this.linkLabelOpenOutputFolder.Location = new System.Drawing.Point(385, 74);
this.linkLabelOpenOutputFolder.Location = new System.Drawing.Point(368, 74);
this.linkLabelOpenOutputFolder.Name = "linkLabelOpenOutputFolder";
this.linkLabelOpenOutputFolder.Size = new System.Drawing.Size(42, 13);
this.linkLabelOpenOutputFolder.TabIndex = 4;
@ -541,7 +542,7 @@
//
// buttonStyles
//
this.buttonStyles.Location = new System.Drawing.Point(311, 141);
this.buttonStyles.Location = new System.Drawing.Point(300, 141);
this.buttonStyles.Name = "buttonStyles";
this.buttonStyles.Size = new System.Drawing.Size(116, 23);
this.buttonStyles.TabIndex = 8;
@ -566,7 +567,7 @@
this.comboBoxSubtitleFormats.FormattingEnabled = true;
this.comboBoxSubtitleFormats.Location = new System.Drawing.Point(80, 143);
this.comboBoxSubtitleFormats.Name = "comboBoxSubtitleFormats";
this.comboBoxSubtitleFormats.Size = new System.Drawing.Size(225, 21);
this.comboBoxSubtitleFormats.Size = new System.Drawing.Size(214, 21);
this.comboBoxSubtitleFormats.TabIndex = 7;
this.comboBoxSubtitleFormats.SelectedIndexChanged += new System.EventHandler(this.ComboBoxSubtitleFormatsSelectedIndexChanged);
//
@ -585,7 +586,7 @@
this.comboBoxEncoding.FormattingEnabled = true;
this.comboBoxEncoding.Location = new System.Drawing.Point(80, 198);
this.comboBoxEncoding.Name = "comboBoxEncoding";
this.comboBoxEncoding.Size = new System.Drawing.Size(225, 21);
this.comboBoxEncoding.Size = new System.Drawing.Size(214, 21);
this.comboBoxEncoding.TabIndex = 10;
//
// labelOutputFormat
@ -608,7 +609,7 @@
//
// buttonChooseFolder
//
this.buttonChooseFolder.Location = new System.Drawing.Point(353, 68);
this.buttonChooseFolder.Location = new System.Drawing.Point(338, 69);
this.buttonChooseFolder.Name = "buttonChooseFolder";
this.buttonChooseFolder.Size = new System.Drawing.Size(26, 23);
this.buttonChooseFolder.TabIndex = 3;
@ -620,7 +621,7 @@
//
this.textBoxOutputFolder.Location = new System.Drawing.Point(11, 71);
this.textBoxOutputFolder.Name = "textBoxOutputFolder";
this.textBoxOutputFolder.Size = new System.Drawing.Size(336, 20);
this.textBoxOutputFolder.Size = new System.Drawing.Size(322, 20);
this.textBoxOutputFolder.TabIndex = 2;
//
// groupBoxInput
@ -638,7 +639,7 @@
this.groupBoxInput.Controls.Add(this.listViewInputFiles);
this.groupBoxInput.Location = new System.Drawing.Point(15, 12);
this.groupBoxInput.Name = "groupBoxInput";
this.groupBoxInput.Size = new System.Drawing.Size(984, 308);
this.groupBoxInput.Size = new System.Drawing.Size(1011, 308);
this.groupBoxInput.TabIndex = 0;
this.groupBoxInput.TabStop = false;
this.groupBoxInput.Text = "Input";
@ -683,7 +684,7 @@
this.checkBoxScanFolderRecursive.AutoSize = true;
this.checkBoxScanFolderRecursive.Checked = true;
this.checkBoxScanFolderRecursive.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBoxScanFolderRecursive.Location = new System.Drawing.Point(748, 16);
this.checkBoxScanFolderRecursive.Location = new System.Drawing.Point(775, 16);
this.checkBoxScanFolderRecursive.Name = "checkBoxScanFolderRecursive";
this.checkBoxScanFolderRecursive.Size = new System.Drawing.Size(74, 17);
this.checkBoxScanFolderRecursive.TabIndex = 0;
@ -693,7 +694,7 @@
// buttonSearchFolder
//
this.buttonSearchFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonSearchFolder.Location = new System.Drawing.Point(828, 12);
this.buttonSearchFolder.Location = new System.Drawing.Point(855, 12);
this.buttonSearchFolder.Name = "buttonSearchFolder";
this.buttonSearchFolder.Size = new System.Drawing.Size(116, 23);
this.buttonSearchFolder.TabIndex = 1;
@ -704,7 +705,7 @@
// buttonInputBrowse
//
this.buttonInputBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.buttonInputBrowse.Location = new System.Drawing.Point(949, 41);
this.buttonInputBrowse.Location = new System.Drawing.Point(976, 41);
this.buttonInputBrowse.Name = "buttonInputBrowse";
this.buttonInputBrowse.Size = new System.Drawing.Size(26, 23);
this.buttonInputBrowse.TabIndex = 3;
@ -737,7 +738,7 @@
this.listViewInputFiles.HideSelection = false;
this.listViewInputFiles.Location = new System.Drawing.Point(6, 41);
this.listViewInputFiles.Name = "listViewInputFiles";
this.listViewInputFiles.Size = new System.Drawing.Size(938, 232);
this.listViewInputFiles.Size = new System.Drawing.Size(965, 232);
this.listViewInputFiles.TabIndex = 2;
this.listViewInputFiles.UseCompatibleStateImageBehavior = false;
this.listViewInputFiles.View = System.Windows.Forms.View.Details;
@ -798,7 +799,7 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.progressBar1.Location = new System.Drawing.Point(15, 607);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(793, 10);
this.progressBar1.Size = new System.Drawing.Size(820, 10);
this.progressBar1.TabIndex = 8;
//
// labelStatus
@ -816,7 +817,7 @@
this.AllowDrop = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1008, 631);
this.ClientSize = new System.Drawing.Size(1035, 631);
this.Controls.Add(this.labelStatus);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.groupBoxOutput);

View File

@ -55,6 +55,7 @@ namespace Nikse.SubtitleEdit.Forms
numericUpDownMinMsBetweenLines.Left = labelMinMsBetweenLines.Left + labelMinMsBetweenLines.Width + 4;
radioButtonProlongEndTime.Text = Configuration.Settings.Language.DurationsBridgeGaps.ProlongEndTime;
radioButtonDivideEven.Text = Configuration.Settings.Language.DurationsBridgeGaps.DivideEven;
groupBoxLinesFound.Text = string.Empty;
_subtitle = subtitle;
try
@ -110,6 +111,7 @@ namespace Nikse.SubtitleEdit.Forms
private void GeneratePreviewReal()
{
groupBoxLinesFound.Text = string.Empty;
if (_subtitle == null)
return;

View File

@ -1236,7 +1236,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
this.groupBoxImagePalette.Controls.Add(this.checkBoxCustomFourColors);
this.groupBoxImagePalette.Location = new System.Drawing.Point(13, 16);
this.groupBoxImagePalette.Name = "groupBoxImagePalette";
this.groupBoxImagePalette.Size = new System.Drawing.Size(636, 38);
this.groupBoxImagePalette.Size = new System.Drawing.Size(644, 38);
this.groupBoxImagePalette.TabIndex = 35;
this.groupBoxImagePalette.TabStop = false;
this.groupBoxImagePalette.Text = "Image palette";
@ -1353,7 +1353,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
this.groupBoxSubtitleImage.Controls.Add(this.pictureBoxSubtitleImage);
this.groupBoxSubtitleImage.Location = new System.Drawing.Point(412, 6);
this.groupBoxSubtitleImage.Name = "groupBoxSubtitleImage";
this.groupBoxSubtitleImage.Size = new System.Drawing.Size(657, 191);
this.groupBoxSubtitleImage.Size = new System.Drawing.Size(665, 191);
this.groupBoxSubtitleImage.TabIndex = 36;
this.groupBoxSubtitleImage.TabStop = false;
this.groupBoxSubtitleImage.Text = "Subtitle image";
@ -1362,7 +1362,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
//
this.labelMinAlpha.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.labelMinAlpha.AutoSize = true;
this.labelMinAlpha.Location = new System.Drawing.Point(176, 171);
this.labelMinAlpha.Location = new System.Drawing.Point(184, 171);
this.labelMinAlpha.Name = "labelMinAlpha";
this.labelMinAlpha.Size = new System.Drawing.Size(252, 13);
this.labelMinAlpha.TabIndex = 40;
@ -1373,7 +1373,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
// numericUpDownAutoTransparentAlphaMax
//
this.numericUpDownAutoTransparentAlphaMax.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.numericUpDownAutoTransparentAlphaMax.Location = new System.Drawing.Point(432, 169);
this.numericUpDownAutoTransparentAlphaMax.Location = new System.Drawing.Point(440, 169);
this.numericUpDownAutoTransparentAlphaMax.Maximum = new decimal(new int[] {
255,
0,
@ -1398,7 +1398,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
this.groupBoxTransportStream.Controls.Add(this.checkBoxTransportStreamGrayscale);
this.groupBoxTransportStream.Location = new System.Drawing.Point(94, 6);
this.groupBoxTransportStream.Name = "groupBoxTransportStream";
this.groupBoxTransportStream.Size = new System.Drawing.Size(636, 38);
this.groupBoxTransportStream.Size = new System.Drawing.Size(644, 38);
this.groupBoxTransportStream.TabIndex = 36;
this.groupBoxTransportStream.TabStop = false;
this.groupBoxTransportStream.Text = "Transport stream";
@ -1430,7 +1430,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
//
this.checkBoxAutoTransparentBackground.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.checkBoxAutoTransparentBackground.AutoSize = true;
this.checkBoxAutoTransparentBackground.Location = new System.Drawing.Point(481, 170);
this.checkBoxAutoTransparentBackground.Location = new System.Drawing.Point(489, 170);
this.checkBoxAutoTransparentBackground.Name = "checkBoxAutoTransparentBackground";
this.checkBoxAutoTransparentBackground.Size = new System.Drawing.Size(168, 17);
this.checkBoxAutoTransparentBackground.TabIndex = 36;
@ -1447,7 +1447,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
this.pictureBoxSubtitleImage.ContextMenuStrip = this.contextMenuStripImage;
this.pictureBoxSubtitleImage.Location = new System.Drawing.Point(13, 60);
this.pictureBoxSubtitleImage.Name = "pictureBoxSubtitleImage";
this.pictureBoxSubtitleImage.Size = new System.Drawing.Size(636, 127);
this.pictureBoxSubtitleImage.Size = new System.Drawing.Size(644, 127);
this.pictureBoxSubtitleImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBoxSubtitleImage.TabIndex = 3;
this.pictureBoxSubtitleImage.TabStop = false;

View File

@ -407,7 +407,9 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
checkBoxAutoFixCommonErrors.Text = language.FixOcrErrors;
checkBoxRightToLeft.Text = language.RightToLeft;
checkBoxRightToLeft.Left = numericUpDownPixelsIsSpace.Left;
//TODO: fix language tag labelMinLineSplitHeight.Text =
if (checkBoxRightToLeft.Left + checkBoxRightToLeft.Width > labelMinLineSplitHeight.Left)
checkBoxRightToLeft.Left = labelMaxErrorPercent.Left;
labelMinLineSplitHeight.Text = language.MinLineSplitHeight;
groupBoxOCRControls.Text = string.Empty;
FillSpellCheckDictionaries();