1
0
Fork 0
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:
dtalens 2024-05-19 15:14:48 +02:00 committed by databio
parent d27b062d6a
commit ca318eef4c
No known key found for this signature in database
GPG key ID: DFB1712F2DDA3EA1
2 changed files with 4 additions and 1 deletions

View file

@ -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
}; };

View file

@ -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)