Fix language tag

This commit is contained in:
Nikolaj Olsson 2018-11-20 21:46:27 +01:00
parent 922d96d5d4
commit 24a366bcae
5 changed files with 8 additions and 1 deletions

View File

@ -2336,6 +2336,7 @@ Keep changes?</KeepChangesMessage>
<DiscardText>Do you want to discard changes made in current OCR session?</DiscardText>
<MinLineSplitHeight>Min. line height (split)</MinLineSplitHeight>
<FallbackToX>Fallback to {0}</FallbackToX>
<ImagePreProcessing>Image pre-processing...</ImagePreProcessing>
</VobSubOcr>
<VobSubOcrCharacter>
<Title>VobSub - Manual image to text</Title>

View File

@ -2666,7 +2666,8 @@ Keep changes?",
DiscardTitle = "Discard changes made in OCR?",
DiscardText = "Do you want to discard changes made in current OCR session?",
MinLineSplitHeight = "Min. line height (split)",
FallbackToX = "Fallback to {0}"
FallbackToX = "Fallback to {0}",
ImagePreProcessing = "Image pre-processing..."
};
VobSubOcrCharacter = new LanguageStructure.VobSubOcrCharacter

View File

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

View File

@ -2543,6 +2543,7 @@
public string DiscardText { get; set; }
public string MinLineSplitHeight { get; set; }
public string FallbackToX { get; set; }
public string ImagePreProcessing { get; set; }
}
public class VobSubOcrCharacter

View File

@ -464,6 +464,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
checkBoxRightToLeft.Checked = Configuration.Settings.VobSubOcr.RightToLeft;
toolStripMenuItemSetUnItalicFactor.Text = language.SetUnitalicFactor;
deleteToolStripMenuItem.Text = Configuration.Settings.Language.Main.Menu.ContextMenu.Delete;
setForecolorThresholdToolStripMenuItem.Text = language.ImagePreProcessing;
toolStripMenuItemExport.Text = Configuration.Settings.Language.Main.Menu.File.Export;
vobSubToolStripMenuItem.Text = Configuration.Settings.Language.Main.Menu.File.ExportVobSub;