mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-22 07:42:28 +00:00
Add suport for Catalan Language
This commit is contained in:
parent
d27b062d6a
commit
ca318eef4c
2 changed files with 4 additions and 1 deletions
|
@ -102,6 +102,7 @@ public override bool Equals(object obj)
|
||||||
public static Language Bulgarian => new Language(29, "Bulgarian");
|
public static Language Bulgarian => new Language(29, "Bulgarian");
|
||||||
public static Language PortugueseBR => new Language(30, "Portuguese (Brazil)");
|
public static Language PortugueseBR => new Language(30, "Portuguese (Brazil)");
|
||||||
public static Language Arabic => new Language(31, "Arabic");
|
public static Language Arabic => new Language(31, "Arabic");
|
||||||
|
public static Language Catalan => new Language(32, "Catalan");
|
||||||
public static Language Any => new Language(-1, "Any");
|
public static Language Any => new Language(-1, "Any");
|
||||||
public static Language Original => new Language(-2, "Original");
|
public static Language Original => new Language(-2, "Original");
|
||||||
|
|
||||||
|
@ -143,6 +144,7 @@ public static List<Language> All
|
||||||
Bulgarian,
|
Bulgarian,
|
||||||
PortugueseBR,
|
PortugueseBR,
|
||||||
Arabic,
|
Arabic,
|
||||||
|
Catalan,
|
||||||
Any,
|
Any,
|
||||||
Original
|
Original
|
||||||
};
|
};
|
||||||
|
|
|
@ -38,7 +38,8 @@ public static class IsoLanguages
|
||||||
new IsoLanguage("bg", "", "bul", "Bulgarian", Language.Bulgarian),
|
new IsoLanguage("bg", "", "bul", "Bulgarian", Language.Bulgarian),
|
||||||
new IsoLanguage("ro", "", "ron", "Romanian", Language.Romanian),
|
new IsoLanguage("ro", "", "ron", "Romanian", Language.Romanian),
|
||||||
new IsoLanguage("pt", "br", "", "Portuguese (Brazil)", Language.PortugueseBR),
|
new IsoLanguage("pt", "br", "", "Portuguese (Brazil)", Language.PortugueseBR),
|
||||||
new IsoLanguage("ar", "", "ara", "Arabic", Language.Arabic)
|
new IsoLanguage("ar", "", "ara", "Arabic", Language.Arabic),
|
||||||
|
new IsoLanguage("ca", "", "cat", "Catalan", Language.Catalan)
|
||||||
};
|
};
|
||||||
|
|
||||||
public static IsoLanguage Find(string isoCode)
|
public static IsoLanguage Find(string isoCode)
|
||||||
|
|
Loading…
Reference in a new issue