Added Norwegian Bokmal alias

pull/3484/head
Taloth Saldono 5 years ago
parent 51e2e084af
commit 023c8260f2

@ -23,6 +23,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), // Norwegian Bokmål
new IsoLanguage("fi", "fin", Language.Finnish),
new IsoLanguage("tr", "tur", Language.Turkish),
new IsoLanguage("pt", "por", Language.Portuguese),
@ -53,7 +54,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);
}
}
}

Loading…
Cancel
Save