mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
parent
0342c0bd5e
commit
79866d9548
@ -12,9 +12,10 @@ class EPUBBookLoaderHelper:
|
||||
self.context_flag = context_flag
|
||||
|
||||
def insert_trans(self, p, text, translation_style="", single_translate=False):
|
||||
if text is None:
|
||||
text = ""
|
||||
if (
|
||||
p.string is not None
|
||||
and text is not None
|
||||
and p.string.replace(" ", "").strip() == text.replace(" ", "").strip()
|
||||
):
|
||||
return
|
||||
|
2
setup.py
2
setup.py
@ -19,7 +19,7 @@ packages = [
|
||||
setup(
|
||||
name="bbook_maker",
|
||||
description="The bilingual_book_maker is an AI translation tool that uses ChatGPT to assist users in creating multi-language versions of epub/txt files and books.",
|
||||
version="0.7.7",
|
||||
version="0.7.8",
|
||||
license="MIT",
|
||||
author="yihong0618",
|
||||
author_email="zouzou0208@gmail.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user