fix(i18n): 修复 ignore 组帮助显示原始键名,9 个命令组简介补齐 i18n #424
Loading…
Reference in New Issue
No description provided.
Delete Branch "Taoyouce/gitlink-cli:fix/i18n-group-shorts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
gitlink-cli --help与gitlink-cli ignore --help中 ignore 组的简介直接显示原始键名cmd.ignore.short——register.go 引用了该键但两个 locale 文件都没有定义变更
cmd.<group>.short键(含缺失的 ignore)tr.T(...)验证
ignore --help首行显示cmd.ignore.short;修复后 en 显示 "Ignore file template operations",zh 显示「忽略文件模板操作」GITLINK_LANG=zh-CN --help实测 health/ignore/wiki 等组简介全部正确中文化