mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Formatting (whitespace only)
This commit is contained in:
parent
99091a8698
commit
6f9b9a73d0
@ -297,7 +297,7 @@ namespace Nikse.SubtitleEdit.Core
|
|||||||
count = GetCount(text, AutoDetectWordsCzechAndSlovak);
|
count = GetCount(text, AutoDetectWordsCzechAndSlovak);
|
||||||
if (count > bestCount)
|
if (count > bestCount)
|
||||||
{
|
{
|
||||||
int czechWordsCount = GetCount(text, AutoDetectWordsCzech);
|
int czechWordsCount = GetCount(text, AutoDetectWordsCzech);
|
||||||
int slovakWordsCount = GetCount(text, AutoDetectWordsSlovak);
|
int slovakWordsCount = GetCount(text, AutoDetectWordsSlovak);
|
||||||
if (czechWordsCount >= slovakWordsCount)
|
if (czechWordsCount >= slovakWordsCount)
|
||||||
return "cs"; // Czech
|
return "cs"; // Czech
|
||||||
|
@ -1097,7 +1097,7 @@ namespace Nikse.SubtitleEdit.Core
|
|||||||
public NetworkSettings NetworkSettings { get; set; }
|
public NetworkSettings NetworkSettings { get; set; }
|
||||||
public Shortcuts Shortcuts { get; set; }
|
public Shortcuts Shortcuts { get; set; }
|
||||||
public RemoveTextForHearingImpairedSettings RemoveTextForHearingImpaired { get; set; }
|
public RemoveTextForHearingImpairedSettings RemoveTextForHearingImpaired { get; set; }
|
||||||
public SubtitleBeaming SubtitleBeaming { get; set; }
|
public SubtitleBeaming SubtitleBeaming { get; set; }
|
||||||
public List<MultipleSearchAndReplaceGroup> MultipleSearchAndReplaceGroups { get; set; }
|
public List<MultipleSearchAndReplaceGroup> MultipleSearchAndReplaceGroups { get; set; }
|
||||||
|
|
||||||
[XmlIgnore]
|
[XmlIgnore]
|
||||||
@ -2357,7 +2357,7 @@ namespace Nikse.SubtitleEdit.Core
|
|||||||
subNode = listNode.SelectSingleNode("SearchType");
|
subNode = listNode.SelectSingleNode("SearchType");
|
||||||
if (subNode != null)
|
if (subNode != null)
|
||||||
item.SearchType = subNode.InnerText;
|
item.SearchType = subNode.InnerText;
|
||||||
group.Rules.Add(item);
|
group.Rules.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -628,7 +628,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
_currentGroup.Rules.Add(item);
|
_currentGroup.Rules.Add(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void MultipleReplace_Shown(object sender, EventArgs e)
|
private void MultipleReplace_Shown(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
_loading = false;
|
_loading = false;
|
||||||
@ -841,7 +841,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
}
|
}
|
||||||
else if (e.KeyData == (Keys.Control | Keys.Up))
|
else if (e.KeyData == (Keys.Control | Keys.Up))
|
||||||
{
|
{
|
||||||
moveUpToolStripMenuItem1_Click(sender, null);
|
moveUpToolStripMenuItem1_Click(sender, null);
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
}
|
}
|
||||||
@ -923,7 +923,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
if (item != newToolStripMenuItem)
|
if (item != newToolStripMenuItem)
|
||||||
item.Visible = doShow;
|
item.Visible = doShow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
Text = Configuration.Settings.Language.MultipleReplace.NewGroup;
|
Text = Configuration.Settings.Language.MultipleReplace.NewGroup;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Text = Configuration.Settings.Language.MultipleReplace.RenameGroup;
|
Text = Configuration.Settings.Language.MultipleReplace.RenameGroup;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user