feat(i18n): add Teldrive V2 driver strings - #652
Conversation
Adds the "Teldrive V2" block to the English driver strings: 16 keys for the new driver's config fields and their help text, mirroring the help: tags in the Go struct. Other locales are handled through Crowdin. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
3c57ee5 to
71ace71
Compare
pikachuren
left a comment
There was a problem hiding this comment.
结论:可以合并
为 Teldrive V2 驱动补充英文文案,三处改动位置都正确:主配置块按字母序插在 Teldrive 与 Terabox 之间,additions 索引块和驱动名索引块也都同步补上了对应条目,没有遗漏。
文案质量在这类 PR 里算相当高的,几处值得肯定:
chunk_size说明写清了「向上取整到 16 的倍数、上限 2000」这类实际约束,而不是只写「分片大小」;upload_concurrency点出了「每个分片都会缓冲,因此这个值会成倍放大内存占用」,这是用户调大该值时最容易踩的坑;use_share_link和share_expire的说明把安全影响讲得很到位——直链携带 TelDrive share token、任何拿到 URL 的人无需登录即可下载、OpenList 无法统计或吊销这些访问、且存储被移除后分享依然残留。这些都是会实际影响用户决策的信息,值得这样明写。
有一点建议确认:root_folder_path 只有标签没有 -tips。如果它的取值格式有约束(比如是否需要以 / 开头、留空代表根目录),补一条提示会更完整;如果确实一目了然,保持现状也可以。
同样需要与后端 PR 协调合并顺序:驱动未上线前这些文案不会被引用,无副作用;但驱动先上线则配置项会显示成原始字段名。
|
Thanks for reviewing.
|
Summary / 摘要
Adds
Teldrive V2tosrc/lang/en/drivers.json: the 16 config-field and helpstrings for the driver, plus its entries in the driver-name and additions index
blocks further down the file.
Pairs with OpenListTeam/OpenList#3000, which adds the
driver itself. The strings mirror the
help:tags in the Go struct exactly.English only; other locales are handled through Crowdin.
Related repository PRs / 关联仓库 PR:
Testing / 测试
bash build.sh --dev --compress --skip-i18n) and confirmedthe new storage form renders every field with its help text.
AI Disclosure / AI 使用声明
Tools used: Claude. Scope: documentation (help text wording).
Reviewed and validated; reproducible without AI tools.