mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
New: Added Norwegian Bokmal alias
Co-Authored-By: taloth <taloth@users.noreply.github.com>
This commit is contained in:
parent
37d004d78d
commit
30664ea806
@ -24,6 +24,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),
|
||||
new IsoLanguage("fi", "fin", Language.Finnish),
|
||||
new IsoLanguage("tr", "tur", Language.Turkish),
|
||||
new IsoLanguage("pt", "por", Language.Portuguese),
|
||||
@ -55,7 +56,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