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 Request] 跟进 转换器 creatorsExt #106

Open
northword opened this issue Dec 29, 2023 · 1 comment
Open

[Feature Request] 跟进 转换器 creatorsExt #106

northword opened this issue Dec 29, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@northword
Copy link
Owner

northword commented Dec 29, 2023

Describe the feature

从 extra.creatorsExt 里读取扩展作者信息,填充 国籍,交换中英文名。

应有弹窗允许用户设置 国籍所用括号,应用中文名还是英文名。

Additional context

ref:

@iiwenwen
Copy link

能否增加对原有作者名字段的格式化,早期使用豆瓣翻译器获取的条目信息与现在豆瓣翻译器获取的格式相差太多,并且不符合要求。

creators: 外籍作者的中文译名需要将姓名填写在一起(fieldMode: 1),如“理查德·J. 皮尔斯”。这是因为 CSL 无法将其与中国姓名区分开。如果分开姓和名会按照姓前名后的顺序输出为“皮尔斯理查德·J.”。我国部分少数民族姓名也按照此格式,如“迪丽热巴·迪力木拉提”。另外注意间隔号应使用“·”(U+00B7);外文用首字母缩写的点号后有空格。

功能实现:

  1. 将中文条目的firstName和lastName合并。

处理前:
image

处理后:
image

  1. 将旧条目作者信息中出现的国籍信息保存至extra.creatorsExt中,与现有方案保持一致。

处理前:
image

image

处理后:
image

image

我使用actions-tags编写一段脚本,使其实现上面的功能,不知能否增加到该插件中,这样用起来更方便。
[Share] Format creators · windingwind/zotero-actions-tags · Discussion #289

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
Status: 🏗 In progress
Development

No branches or pull requests

2 participants