mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Work on #7259
This commit is contained in:
parent
6953cf350e
commit
b7ed8c98c6
@ -3,6 +3,7 @@
|
|||||||
<names>
|
<names>
|
||||||
<blacklist>
|
<blacklist>
|
||||||
<name>Rabat</name>
|
<name>Rabat</name>
|
||||||
|
<name>Heller</name>
|
||||||
</blacklist>
|
</blacklist>
|
||||||
<name>Afghanistan</name>
|
<name>Afghanistan</name>
|
||||||
<name>Afrika</name>
|
<name>Afrika</name>
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
<name>Bo</name>
|
<name>Bo</name>
|
||||||
<name>Fred</name>
|
<name>Fred</name>
|
||||||
<name>Jo</name>
|
<name>Jo</name>
|
||||||
|
<name>Meg</name>
|
||||||
|
<name>Heller</name>
|
||||||
</blacklist>
|
</blacklist>
|
||||||
<name>Aage</name>
|
<name>Aage</name>
|
||||||
<name>Aagot</name>
|
<name>Aagot</name>
|
||||||
|
@ -28,7 +28,7 @@ namespace Nikse.SubtitleEdit.Core.AudioToText
|
|||||||
|
|
||||||
public AudioToTextPostProcessor(string twoLetterLanguageCode)
|
public AudioToTextPostProcessor(string twoLetterLanguageCode)
|
||||||
{
|
{
|
||||||
TwoLetterLanguageCode = twoLetterLanguageCode;
|
TwoLetterLanguageCode = twoLetterLanguageCode == "no" ? "nb" : twoLetterLanguageCode;
|
||||||
|
|
||||||
ParagraphMaxChars = Configuration.Settings.Tools.AudioToTextLineMaxChars;
|
ParagraphMaxChars = Configuration.Settings.Tools.AudioToTextLineMaxChars;
|
||||||
if (ParagraphMaxChars < 10 || ParagraphMaxChars > 1_000_000)
|
if (ParagraphMaxChars < 10 || ParagraphMaxChars > 1_000_000)
|
||||||
|
Loading…
Reference in New Issue
Block a user