New: Added Norwegian Bokmal alias

Co-Authored-By: taloth <taloth@users.noreply.github.com>
This commit is contained in:
Qstick 2020-04-08 21:18:19 -04:00
parent 37d004d78d
commit 30664ea806
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ namespace NzbDrone.Core.Parser
new IsoLanguage("vi", "vie", Language.Vietnamese),
new IsoLanguage("sv", "swe", Language.Swedish),
new IsoLanguage("no", "nor", Language.Norwegian),
new IsoLanguage("nb", "nob", Language.Norwegian),
new IsoLanguage("fi", "fin", Language.Finnish),
new IsoLanguage("tr", "tur", Language.Turkish),
new IsoLanguage("pt", "por", Language.Portuguese),
@ -55,7 +56,7 @@ namespace NzbDrone.Core.Parser
public static IsoLanguage Get(Language language)
{
return All.SingleOrDefault(l => l.Language == language);
return All.FirstOrDefault(l => l.Language == language);
}
}
}