贡献者新增图表显示 #310
Loading…
Reference in New Issue
No description provided.
Delete Branch "wdgde/gitlink-cli:feature/code-stats"
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 repo +contributors --chart命令添加中文国际化支持,使用户在中文环境下能够看到本地化的图表输出。相关Issue
关联Issue编号:暂无
变更内容
1. 新增图表渲染模块
新增
shortcuts/repo/contributor_charts.go文件,实现三种图表渲染器:2. 实现中文国际化支持
internal/i18n/locales/zh-CN.json和en-US.json中新增 16 个翻译键3. 新增单元测试
新增
shortcuts/repo/contributor_charts_test.go测试文件,包含 6 个测试用例,覆盖三种图表类型的渲染逻辑。测试情况
使用示例
效果
文件变更
Pull request closed