This commit is contained in:
niksedk 2023-08-18 17:15:08 +02:00
parent 6953cf350e
commit b7ed8c98c6
3 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@
<names>
<blacklist>
<name>Rabat</name>
<name>Heller</name>
</blacklist>
<name>Afghanistan</name>
<name>Afrika</name>

View File

@ -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>

View File

@ -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)