diff --git a/Dictionaries/da_names.xml b/Dictionaries/da_names.xml index 2e9a7b508..5d792d83e 100644 --- a/Dictionaries/da_names.xml +++ b/Dictionaries/da_names.xml @@ -3,6 +3,7 @@ Rabat + Heller Afghanistan Afrika diff --git a/Dictionaries/nb_names.xml b/Dictionaries/nb_names.xml index 6c3e38ef7..5c0592bc3 100644 --- a/Dictionaries/nb_names.xml +++ b/Dictionaries/nb_names.xml @@ -6,6 +6,8 @@ Bo Fred Jo + Meg + Heller Aage Aagot diff --git a/src/libse/AudioToText/AudioToTextPostProcessor.cs b/src/libse/AudioToText/AudioToTextPostProcessor.cs index 5d44ce08e..e3d036dd1 100644 --- a/src/libse/AudioToText/AudioToTextPostProcessor.cs +++ b/src/libse/AudioToText/AudioToTextPostProcessor.cs @@ -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)