From 90583354bf06532e7ae9881cfdfb52cba75424bf Mon Sep 17 00:00:00 2001 From: Vitiko Date: Thu, 8 Feb 2024 21:03:04 -0400 Subject: [PATCH] Modify portuguese custom language --- bazarr/languages/custom_lang.py | 6 ++++++ 1 file changed, 6 insertions(+) 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"