summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVitiko <[email protected]>2024-02-08 21:03:04 -0400
committerVitiko <[email protected]>2024-02-08 21:03:04 -0400
commit90583354bf06532e7ae9881cfdfb52cba75424bf (patch)
treeb18ef6cf3916ab2384dd216333fe9cd61034dad1
parent90e4cf1c6fa17ea179fa808025b7e23b1e106201 (diff)
downloadbazarr-90583354bf06532e7ae9881cfdfb52cba75424bf.tar.gz
bazarr-90583354bf06532e7ae9881cfdfb52cba75424bf.zip
Modify portuguese custom language
-rw-r--r--bazarr/languages/custom_lang.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bazarr/languages/custom_lang.py b/bazarr/languages/custom_lang.py
index e1090e2c7..bc50a4758 100644
--- a/bazarr/languages/custom_lang.py
+++ b/bazarr/languages/custom_lang.py
@@ -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"