Modify portuguese custom language

This commit is contained in:
Vitiko 2024-02-08 21:03:04 -04:00
parent 90e4cf1c6f
commit 90583354bf
1 changed files with 6 additions and 0 deletions

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"