mirror of https://github.com/morpheus65535/bazarr
Modify portuguese custom language
This commit is contained in:
parent
90e4cf1c6f
commit
90583354bf
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue