mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
parent
3b731efc21
commit
1c88611f09
@ -14,6 +14,7 @@ class EPUBBookLoaderHelper:
|
||||
def insert_trans(self, p, text, translation_style="", single_translate=False):
|
||||
if (
|
||||
p.string is not None
|
||||
and text is not None
|
||||
and p.string.replace(" ", "").strip() == text.replace(" ", "").strip()
|
||||
):
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user