nlsub is treated as dutch

This commit is contained in:
Mark McDowall 2014-03-05 17:29:05 -08:00
parent 96a4cd33cb
commit 36e7dc75e5
1 changed files with 3 additions and 3 deletions

View File

@ -426,6 +426,9 @@ namespace NzbDrone.Core.Parser
if (lowerTitle.Contains("dutch")) if (lowerTitle.Contains("dutch"))
return Language.Dutch; return Language.Dutch;
if (lowerTitle.Contains("nlsub"))
return Language.Dutch;
if (lowerTitle.Contains("japanese")) if (lowerTitle.Contains("japanese"))
return Language.Japanese; return Language.Japanese;
@ -462,9 +465,6 @@ namespace NzbDrone.Core.Parser
if (lowerTitle.Contains("portuguese")) if (lowerTitle.Contains("portuguese"))
return Language.Portuguese; return Language.Portuguese;
if (lowerTitle.Contains("nlsub"))
return Language.Norwegian;
var match = LanguageRegex.Match(title); var match = LanguageRegex.Match(title);
if (match.Groups["italian"].Captures.Cast<Capture>().Any()) if (match.Groups["italian"].Captures.Cast<Capture>().Any())