1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-03 13:35:18 +00:00

Modify portuguese custom language

This commit is contained in:
Vitiko 2024-02-08 21:03:04 -04:00
parent 90e4cf1c6f
commit 90583354bf

View file

@ -125,6 +125,12 @@ class Portuguese(CustomLanguage):
".pt-pt.cc", ".por.cc", ".pt.cc",
".pt-pt.sdh", ".por.sdh", ".pt.sdh")
def subzero_language(self):
return Language(self.official_alpha3)
def language_found(self, language: Language):
return str(language.alpha3) == self.alpha3
class ChineseTraditional(CustomLanguage):
alpha2 = "zt"