mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-27 09:07:51 +08:00
Fixed embedded subtitles detection for Brazilian that are sometimes marked with the word "brazil" instead of "brasil"
This commit is contained in:
parent
d0f50a2e99
commit
f6a9cee3c0
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class EmbeddedSubsReader:
|
|||
data = api.know(file)
|
||||
|
||||
traditional_chinese = ["cht", "tc", "traditional", "zht", "hant", "big5", u"繁", u"雙語"]
|
||||
brazilian_portuguese = ["pt-br", "pob", "pb", "brazilian", "brasil"]
|
||||
brazilian_portuguese = ["pt-br", "pob", "pb", "brazilian", "brasil", "brazil"]
|
||||
|
||||
if 'subtitle' in data:
|
||||
for detected_language in data['subtitle']:
|
||||
|
|
Loading…
Reference in a new issue