Fix missing translation in "Batch convert" - thx Jamakmake :)

This commit is contained in:
Nikolaj Olsson 2017-10-23 17:14:12 +02:00
parent 8c30163475
commit bc4da75a46
5 changed files with 8 additions and 1 deletions

View File

@ -195,6 +195,7 @@ Note: Do check free disk space.</WaveFileMalformed>
<FixCommonErrorsErrorX>Fix common errors: {0}</FixCommonErrorsErrorX>
<MultipleReplaceErrorX>Multiple replace: {0}</MultipleReplaceErrorX>
<AutoBalanceErrorX>Auto balance: {0}</AutoBalanceErrorX>
<OffsetTimeCodes>Offset time codes</OffsetTimeCodes>
</BatchConvert>
<Beamer>
<Title>Beamer</Title>

View File

@ -328,6 +328,7 @@ namespace Nikse.SubtitleEdit.Core
FixCommonErrorsErrorX = "Fix common errors: {0}",
MultipleReplaceErrorX = "Multiple replace: {0}",
AutoBalanceErrorX = "Auto balance: {0}",
OffsetTimeCodes = "Offset time codes",
};
Beamer = new LanguageStructure.Beamer

View File

@ -526,6 +526,9 @@ namespace Nikse.SubtitleEdit.Core
case "BatchConvert/AutoBalanceErrorX":
language.BatchConvert.AutoBalanceErrorX = reader.Value;
break;
case "BatchConvert/OffsetTimeCodes":
language.BatchConvert.OffsetTimeCodes = reader.Value;
break;
case "Beamer/Title":
language.Beamer.Title = reader.Value;
break;

View File

@ -203,6 +203,7 @@
public string FixCommonErrorsErrorX { get; set; }
public string MultipleReplaceErrorX { get; set; }
public string AutoBalanceErrorX { get; set; }
public string OffsetTimeCodes { get; set; }
}
public class Beamer

View File

@ -113,7 +113,7 @@ namespace Nikse.SubtitleEdit.Forms
checkBoxScanFolderRecursive.Left = buttonSearchFolder.Left - checkBoxScanFolderRecursive.Width - 5;
groupBoxChangeFrameRate.Text = Configuration.Settings.Language.ChangeFrameRate.Title;
groupBoxOffsetTimeCodes.Text = Configuration.Settings.Language.ShowEarlierLater.TitleAll;
groupBoxOffsetTimeCodes.Text = l.OffsetTimeCodes;
groupBoxSpeed.Text = Configuration.Settings.Language.ChangeSpeedInPercent.TitleShort;
labelFromFrameRate.Text = Configuration.Settings.Language.ChangeFrameRate.FromFrameRate;
labelToFrameRate.Text = Configuration.Settings.Language.ChangeFrameRate.ToFrameRate;
@ -191,6 +191,7 @@ namespace Nikse.SubtitleEdit.Forms
checkBoxBridgeGaps.Checked = Configuration.Settings.Tools.BatchConvertBridgeGaps;
checkBoxSetMinimumDisplayTimeBetweenSubs.Checked = Configuration.Settings.Tools.BatchConvertSetMinDisplayTimeBetweenSubtitles;
buttonRemoveTextForHiSettings.Text = l.Settings;
buttonBridgeGapsSettings.Text = l.Settings;
buttonFixCommonErrorSettings.Text = l.Settings;
buttonMultipleReplaceSettings.Text = l.Settings;
checkBoxFixCommonErrors.Text = Configuration.Settings.Language.FixCommonErrors.Title;