Skip to content

Commit

Permalink
Update traditional2mandarin optimizer condition & lock file.
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-plus committed Oct 8, 2023
1 parent 600adfb commit 82fef13
Show file tree
Hide file tree
Showing 2 changed files with 1,023 additions and 818 deletions.
2 changes: 1 addition & 1 deletion openlrc/opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def perform_all(self):
self.remove_unk()
self.remove_empty()

if self.subtitle.lang.lower() == 'zh-cn':
if self.subtitle.lang.lower() in ['zh-cn', 'zh']:
self.traditional2mandarin()

def save(self, output_name=None, update_name=False):
Expand Down
Loading

0 comments on commit 82fef13

Please sign in to comment.