diff --git a/libse/LanguageStructure.cs b/libse/LanguageStructure.cs index 56f09b898..02540ee6d 100644 --- a/libse/LanguageStructure.cs +++ b/libse/LanguageStructure.cs @@ -1053,7 +1053,7 @@ public string BeforeMergeLinesWithSameText { get; set; } public string ImportTimeCodesDifferentNumberOfLinesWarning { get; set; } public string ParsingTransportStream { get; set; } - public string XPercentCompleted { get; set; } + public string XPercentCompleted { get; set; } public string ErrorLoadIdx { get; set; } public string ErrorLoadRar { get; set; } public string ErrorLoadZip { get; set; } diff --git a/libse/SubtitleFormats/Cavena890.cs b/libse/SubtitleFormats/Cavena890.cs index ec29c1fd5..9481a386d 100644 --- a/libse/SubtitleFormats/Cavena890.cs +++ b/libse/SubtitleFormats/Cavena890.cs @@ -235,7 +235,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats { _languageIdLine1 = LanguageIdDanish; _languageIdLine2 = LanguageIdDanish; - } + } // prompt??? //if (Configuration.Settings.SubtitleSettings.CurrentCavena890LanguageIdLine1 >= 0) @@ -707,7 +707,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats if (_languageIdLine1 == LanguageIdHebrew || fontNameLine1 == "HEBNOA" || fontNameLine2 == "HEBNOA") { _languageIdLine1 = LanguageIdHebrew; - _languageIdLine2 = LanguageIdHebrew; + _languageIdLine2 = LanguageIdHebrew; } // Russian @@ -727,7 +727,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats else if (_languageIdLine1 == LanguageIdChineseTraditional || fontNameLine1 == "CCKM44" || fontNameLine2 == "CCKM44") { _languageIdLine1 = LanguageIdChineseTraditional; - _languageIdLine2 = LanguageIdChineseTraditional; + _languageIdLine2 = LanguageIdChineseTraditional; } diff --git a/libse/SubtitleFormats/NciTimedRollUpCaptions.cs b/libse/SubtitleFormats/NciTimedRollUpCaptions.cs index 419bdb7ab..dabd7c13d 100644 --- a/libse/SubtitleFormats/NciTimedRollUpCaptions.cs +++ b/libse/SubtitleFormats/NciTimedRollUpCaptions.cs @@ -73,7 +73,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats public override void LoadSubtitle(Subtitle subtitle, List lines, string fileName) { - var paragraph = new Paragraph(); var expecting = ExpectingLine.TimeCodes; _errorCount = 0; @@ -162,4 +161,4 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats } } -} +} \ No newline at end of file diff --git a/libse/SubtitleFormats/Pac.cs b/libse/SubtitleFormats/Pac.cs index e956b032c..42a038b75 100644 --- a/libse/SubtitleFormats/Pac.cs +++ b/libse/SubtitleFormats/Pac.cs @@ -1139,7 +1139,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats } else { - sb.Append(Encoding.GetEncoding(950).GetString(buffer, index, 2)); + sb.Append(Encoding.GetEncoding(950).GetString(buffer, index, 2)); } } index++; @@ -1793,4 +1793,4 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats } } -} +} \ No newline at end of file diff --git a/libse/Utilities.cs b/libse/Utilities.cs index ced89c69b..b487ae61d 100644 --- a/libse/Utilities.cs +++ b/libse/Utilities.cs @@ -179,7 +179,7 @@ namespace Nikse.SubtitleEdit.Core return string.Format("{0:0.0} gb", (float)fileSize / (1024 * 1024 * 1024)); } - + /// /// Downloads the requested resource as a using the configured . diff --git a/src/Forms/ExportPngXml.cs b/src/Forms/ExportPngXml.cs index a013778a7..7379c409e 100644 --- a/src/Forms/ExportPngXml.cs +++ b/src/Forms/ExportPngXml.cs @@ -118,7 +118,7 @@ namespace Nikse.SubtitleEdit.Forms return d; return 25; } - } + } private int MillisecondsToFramesMaxFrameRate(double milliseconds) { @@ -4065,4 +4065,4 @@ $DROP=[DROPVALUE]" + Environment.NewLine + Environment.NewLine + } } -} +} \ No newline at end of file diff --git a/src/Forms/Main.cs b/src/Forms/Main.cs index 980c8bcda..7cc6f4002 100644 --- a/src/Forms/Main.cs +++ b/src/Forms/Main.cs @@ -32,7 +32,6 @@ namespace Nikse.SubtitleEdit.Forms private class ComboBoxZoomItem { - public string Text { get; set; } public double ZoomFactor { get; set; } @@ -40,7 +39,6 @@ namespace Nikse.SubtitleEdit.Forms { return Text; } - } private const int TabControlListView = 0; diff --git a/src/Logic/UiEbuSaveHelper.cs b/src/Logic/UiEbuSaveHelper.cs index 2becb30d8..d007f2c4f 100644 --- a/src/Logic/UiEbuSaveHelper.cs +++ b/src/Logic/UiEbuSaveHelper.cs @@ -18,7 +18,7 @@ namespace Nikse.SubtitleEdit.Logic _header = header; _justificationCode = justificationCode; _fileName = fileName; - _subtitle = subtitle; + _subtitle = subtitle; } public bool ShowDialogOk() @@ -32,9 +32,9 @@ namespace Nikse.SubtitleEdit.Logic public byte JustificationCode { - get { return _justificationCode; } + get { return _justificationCode; } set { _justificationCode = value; } } } -} +} \ No newline at end of file diff --git a/src/UpdateAssemblyInfo/Program.cs b/src/UpdateAssemblyInfo/Program.cs index 18e0401e7..7f1b9e13a 100644 --- a/src/UpdateAssemblyInfo/Program.cs +++ b/src/UpdateAssemblyInfo/Program.cs @@ -172,7 +172,7 @@ namespace UpdateAssemblyInfo } else { - Console.WriteLine("updating version number to " + newVersionInfo.Version + " " + newVersionInfo.RevisionGuid); + Console.WriteLine("updating version number to " + newVersionInfo.Version + " " + newVersionInfo.RevisionGuid); } UpdateAssemblyInfo(seTemplateFileName, newVersionInfo); UpdateAssemblyInfo(libSeTmplateFileName, newVersionInfo);