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

[Feature] 手动触发清除[请求错误]段落并重新翻译 #1028

Open
1 task done
nkh0472 opened this issue Nov 29, 2024 · 0 comments
Open
1 task done

[Feature] 手动触发清除[请求错误]段落并重新翻译 #1028

nkh0472 opened this issue Nov 29, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nkh0472
Copy link

nkh0472 commented Nov 29, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Environment

  • OS:
  • Zotero Version: 7.0.10 (64-bit)
  • Plugin Version: 2.0.11

Describe the feature request

Is your feature request related to a problem? Please describe.
当批量导入文献后,使用插件自动触发了标题和摘要翻译。
然后由于各种原因(如知网的短时间内的翻译次数限制/谷歌的网络问题等),会引起大量条目内出现[请求错误]的大段内容。
在引起请求错误的原因解决后,我希望重新对这些条目进行翻译,但是此时选择对应条目点击标题翻译不会有反应。
同时,我也不希望清除所有这些条目的其他中的内容,因为这个栏里面保存了一些其他插件及我个人的注释。
而手动清理大量条目的内容则非常耗时。
image

Why do you need this feature?
当遇到大量条目翻译失败后,需要在问题解决后重新翻译条目。
目前没有方法能在不清除其他内容的情况下重新翻译的方法。

Describe the solution you'd like

The solution you'd like
0.插件能够识别自己产生的[请求错误]段落,手段包括但不限于:
正则表达式/硬编码段落特征词/后续版本中在[请求错误]段落开头加入特定emoji等
2.在触发翻译标题翻译摘要功能时,清除[请求错误]段落,并重新翻译。

Alternatives you've considered
提供脚本手动清除所有[请求错误]段落

Anything else?

No response

@nkh0472 nkh0472 added the enhancement New feature or request label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants