From 0b28a36aa776862c2ad50624d049852c30b00dcf Mon Sep 17 00:00:00 2001 From: niksedk Date: Fri, 21 Apr 2023 17:06:50 +0200 Subject: [PATCH] Fix missing translation - thx Jamakmake :) --- LanguageBaseEnglish.xml | 1 + src/ui/Forms/BatchConvert.cs | 1 + src/ui/Logic/Language.cs | 1 + src/ui/Logic/LanguageDeserializer.cs | 3 +++ src/ui/Logic/LanguageStructure.cs | 1 + 5 files changed, 7 insertions(+) diff --git a/LanguageBaseEnglish.xml b/LanguageBaseEnglish.xml index 4d2e844da..0d6a01161 100644 --- a/LanguageBaseEnglish.xml +++ b/LanguageBaseEnglish.xml @@ -358,6 +358,7 @@ Read more info (web)? Two letter language code Three letter language code No language code + Also scan video files in "Search folder" (slow) Import image... diff --git a/src/ui/Forms/BatchConvert.cs b/src/ui/Forms/BatchConvert.cs index c8362f0a0..1c03c2594 100644 --- a/src/ui/Forms/BatchConvert.cs +++ b/src/ui/Forms/BatchConvert.cs @@ -261,6 +261,7 @@ namespace Nikse.SubtitleEdit.Forms tesseractToolStripMenuItem_Click(null, null); } + alsoScanVideoFilesInSearchFolderslowToolStripMenuItem.Text = LanguageSettings.Current.BatchConvert.SearchFolderScanVideo; checkBoxOverwrite.Checked = Configuration.Settings.Tools.BatchConvertOverwriteExisting; buttonConvertOptionsSettings.Text = l.Settings; radioButtonShowEarlier.Text = LanguageSettings.Current.ShowEarlierLater.ShowEarlier.RemoveChar('&'); diff --git a/src/ui/Logic/Language.cs b/src/ui/Logic/Language.cs index 089a3cffc..abf4b2c4e 100644 --- a/src/ui/Logic/Language.cs +++ b/src/ui/Logic/Language.cs @@ -523,6 +523,7 @@ namespace Nikse.SubtitleEdit.Logic MkvLanguageStyleTwoLetter = "Two letter language code", MkvLanguageStyleThreeLetter = "Three letter language code", MkvLanguageStyleEmpty = "No language code", + SearchFolderScanVideo = "Also scan video files in \"Search folder\" (slow)", }; BinEdit = new LanguageStructure.BinEdit diff --git a/src/ui/Logic/LanguageDeserializer.cs b/src/ui/Logic/LanguageDeserializer.cs index 8a3d17f11..08ed50450 100644 --- a/src/ui/Logic/LanguageDeserializer.cs +++ b/src/ui/Logic/LanguageDeserializer.cs @@ -961,6 +961,9 @@ namespace Nikse.SubtitleEdit.Logic case "BatchConvert/MkvLanguageStyleEmpty": language.BatchConvert.MkvLanguageStyleEmpty = reader.Value; break; + case "BatchConvert/SearchFolderScanVideo": + language.BatchConvert.SearchFolderScanVideo = reader.Value; + break; case "BinEdit/ImportImage": language.BinEdit.ImportImage = reader.Value; break; diff --git a/src/ui/Logic/LanguageStructure.cs b/src/ui/Logic/LanguageStructure.cs index 379ccaabd..07e4fa8fc 100644 --- a/src/ui/Logic/LanguageStructure.cs +++ b/src/ui/Logic/LanguageStructure.cs @@ -380,6 +380,7 @@ namespace Nikse.SubtitleEdit.Logic public string MkvLanguageStyleTwoLetter { get; set; } public string MkvLanguageStyleThreeLetter { get; set; } public string MkvLanguageStyleEmpty { get; set; } + public string SearchFolderScanVideo { get; set; } } public class BinEdit