mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-17 10:45:49 +02:00
Added Norwegian Bokmal alias
This commit is contained in:
parent
51e2e084af
commit
023c8260f2
@ -23,6 +23,7 @@ public static class IsoLanguages
|
||||
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 @@ public static IsoLanguage Find(string isoCode)
|
||||
|
||||
public static IsoLanguage Get(Language language)
|
||||
{
|
||||
return All.SingleOrDefault(l => l.Language == language);
|
||||
return All.FirstOrDefault(l => l.Language == language);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user