Add missing language item

This commit is contained in:
Martijn van Berkel (Flitskikker) 2022-09-01 10:49:32 +02:00
parent 5787926234
commit 6f5934f66a
3 changed files with 5 additions and 2 deletions

View File

@ -588,6 +588,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
checkBoxNOcrItalic.Checked = Configuration.Settings.VobSubOcr.LineOcrAdvancedItalic; checkBoxNOcrItalic.Checked = Configuration.Settings.VobSubOcr.LineOcrAdvancedItalic;
numericUpDownNOcrMaxWrongPixels.Value = Configuration.Settings.VobSubOcr.LineOcrMaxErrorPixels; numericUpDownNOcrMaxWrongPixels.Value = Configuration.Settings.VobSubOcr.LineOcrMaxErrorPixels;
groupBoxCloudVision.Text = language.CloudVisionApi;
labelCloudVisionApiKey.Text = language.ApiKey; labelCloudVisionApiKey.Text = language.ApiKey;
labelCloudVisionLanguageHint.Text = language.Language; labelCloudVisionLanguageHint.Text = language.Language;
checkBoxCloudVisionSendOriginalImages.Text = language.SendOriginalImages; checkBoxCloudVisionSendOriginalImages.Text = language.SendOriginalImages;

View File

@ -3311,7 +3311,7 @@ Keep changes?",
OcrViaImageCompare = "Binary image compare", OcrViaImageCompare = "Binary image compare",
OcrViaModi = "Microsoft Office Document Imaging (MODI). Requires Microsoft Office", OcrViaModi = "Microsoft Office Document Imaging (MODI). Requires Microsoft Office",
OcrViaNOCR = "OCR via nOCR", OcrViaNOCR = "OCR via nOCR",
OcrViaCloudVision = "OCR via Cloud Vision API", OcrViaCloudVision = "OCR via Google Cloud Vision API",
TesseractEngineMode = "Engine mode", TesseractEngineMode = "Engine mode",
TesseractEngineModeLegacy = "Original Tesseract only (can detect italic)", TesseractEngineModeLegacy = "Original Tesseract only (can detect italic)",
TesseractEngineModeNeural = "Neural nets LSTM only", TesseractEngineModeNeural = "Neural nets LSTM only",
@ -3381,6 +3381,7 @@ Keep changes?",
StartTraining = "Start training", StartTraining = "Start training",
NowTraining = "Now training font '{1}'. Total chars trained: {0:#,###,##0}, {2:#,###,##0} known", NowTraining = "Now training font '{1}'. Total chars trained: {0:#,###,##0}, {2:#,###,##0} known",
ImagesWithTimeCodesInFileName = "Images with time codes in file name...", ImagesWithTimeCodesInFileName = "Images with time codes in file name...",
CloudVisionApi = "Google Cloud Vision API",
ApiKey = "API key", ApiKey = "API key",
SendOriginalImages = "Send original images", SendOriginalImages = "Send original images",
}; };

View File

@ -3228,6 +3228,7 @@
public string StartTraining { get; set; } public string StartTraining { get; set; }
public string NowTraining { get; set; } public string NowTraining { get; set; }
public string ImagesWithTimeCodesInFileName { get; set; } public string ImagesWithTimeCodesInFileName { get; set; }
public string CloudVisionApi { get; set; }
public string ApiKey { get; set; } public string ApiKey { get; set; }
public string SendOriginalImages { get; set; } public string SendOriginalImages { get; set; }
} }