Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

标题的译文能否也当做段落来处理,或者新增一个可选项,选择标题译文换行。 #128

Closed
Benson1997 opened this issue Sep 17, 2023 · 9 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@Benson1997
Copy link

具体译文细节如下:

下面这个是我们 Ebook-Translator 翻译的

image

隔壁沉**插件的译文,如下

image

根据段落(标题)换行,章节目录更直观。因为经常会遇到一些小标题文字比较多,译文合并在一起,就会出现一大片的加粗内容。

比如下面这段文字:

(原文)
image

( Ebook-Translator 译文)
image

( 沉*** 译文)
image

补充细节:他们把目录也翻译了,不知道我们的开发计划中有没有呢,批量功能很强大,期待 Ebook-Translator 越来越强大 👍👍

@Benson1997
Copy link
Author

@bookfere
Copy link
Owner

谢谢反馈。标题换行的问题已在提交 75f8885 中得到解决。导航目录的翻译需求同 #105,此功能已在提交 3a2d943 中添加。这些修改会在下个版本可用。你也可以按照安装步骤下载安装代码库中的最新版本(非发布版本未测试可能会存在错误)。

另外,我看到你截图中 ChatGPT 回答了带有问句的标题,这个问题可以在设置中修改提示词来避免。

@bookfere bookfere added the duplicate This issue or pull request already exists label Sep 17, 2023
@Benson1997
Copy link
Author

好的,谢谢大佬🤞

@Benson1997
Copy link
Author

谢谢反馈。标题换行的问题已在提交 75f8885 中得到解决。导航目录的翻译需求同 #105,此功能已在提交 3a2d943 中添加。这些修改会在下个版本可用。你也可以按照安装步骤下载安装代码库中的最新版本(非发布版本未测试可能会存在错误)。

另外,我看到你截图中 ChatGPT 回答了带有问句的标题,这个问题可以在设置中修改提示词来避免。

请问您说的修改提示词(是下图这个译文吧),是应该怎么修改呢

image

image

@bookfere
Copy link
Owner

如果不想用英文,你也可以用中文撰写提示词内容,只需确保保留 <slang><tlang> 这两个标记即可。比如:

你是一位细心的译者,负责将任何给定的内容从 <slang> 翻译成 <tlang>,注意不要回答任何疑问句式和解释任何术语。

你可以根据具体情况调整提示词。填写好保存,可以先通过测试功能用之前出错的内容来验证是否符合预期,也可以用高级模式打开那本书,重新翻译之前翻译有误的段落。

@Benson1997
Copy link
Author

嗯呢,明白了,谢谢。就是gpt在翻译的时候,把标题当作一个问题,直接给回答了去,哈哈🤣

@Benson1997
Copy link
Author

直接把zip下载下来,文件拖到Ebook Translator.zip里面覆盖之前的文件,这样可以实现插件更新吗?

image

@bookfere
Copy link
Owner

这种方式应该是没问题的。现在插件添加了一个落地页面:https://translator.bookfere.com,每次提交代码都会生成一个最新版本,今后你可通过页面上的【Rolling Version】按钮下载使用。

@Benson1997
Copy link
Author

好的,谢谢哦!🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants