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