gitlink-cli/doc/changes/ignore-i18n-key.md

7 lines
356 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Ignore group i18n key
`register.go``tr.T("cmd.ignore.short")` 设置 `ignore` 组描述,但该键在两个语言包中都缺失,导致 `--help` 里直接显示字面量 `cmd.ignore.short`
- 补齐 `en-US.json` / `zh-CN.json``cmd.ignore.short`
- `TestRegisterAllGroupDescriptions` 增加断言:组描述不得是未解析的 i18n 键