mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
nlsub is treated as dutch
This commit is contained in:
parent
96a4cd33cb
commit
36e7dc75e5
@ -426,6 +426,9 @@ private static Language ParseLanguage(string title)
|
||||
if (lowerTitle.Contains("dutch"))
|
||||
return Language.Dutch;
|
||||
|
||||
if (lowerTitle.Contains("nlsub"))
|
||||
return Language.Dutch;
|
||||
|
||||
if (lowerTitle.Contains("japanese"))
|
||||
return Language.Japanese;
|
||||
|
||||
@ -462,9 +465,6 @@ private static Language ParseLanguage(string title)
|
||||
if (lowerTitle.Contains("portuguese"))
|
||||
return Language.Portuguese;
|
||||
|
||||
if (lowerTitle.Contains("nlsub"))
|
||||
return Language.Norwegian;
|
||||
|
||||
var match = LanguageRegex.Match(title);
|
||||
|
||||
if (match.Groups["italian"].Captures.Cast<Capture>().Any())
|
||||
|
Loading…
Reference in New Issue
Block a user