背景 / Background
Zotero 中附件的标题(显示名)和文件名是两个独立字段。重命名文件后,Zotero 列表中显示的仍是原标题,需要手动修改。本次新增设置项,勾选后每次重命名操作会自动将标题同步为新文件名。
In Zotero, an attachment's title (display name) and filename are separate fields. After renaming, the title shown in the item list remains unchanged. This update adds an option to automatically sync the title to the new filename after every rename.
新功能 / New Feature
在「其他设置」中新增勾选项:重命名后同步修改附件标题 / Sync attachment title after renaming
- 默认不勾选,不影响现有行为 / Unchecked by default — no behavior change for existing users
- 勾选后,每次重命名(手动触发或自动触发)完成后,附件的标题字段会同步更新为新文件名(含扩展名) / When checked, the attachment title is updated to the new filename (including extension) after every rename
- 与原有的标题自动同步逻辑(标题等于旧文件名、或标题为"PDF"时)为 OR 关系,不破坏原有行为 / Works alongside the existing auto-sync logic (title equals old filename, or title is "PDF") without breaking it