gitlink-cli/shortcuts/issue
wauxing fbdab04a57 refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格
仅改造 fork 自己实现/新增的命令,不动 upstream 本身未 i18n 的包:

- issue/batch_*.go(7文件): newBatchXxxShortcut 接受 tr,所有
  Description/Usage 改 tr.T();新增 batchRuntimeFlags(tr) 共享 helper
  消除 dry-run/confirm/max/delay 重复
- search +issues: 11 个硬编码改 tr.T(),复用 flag.search.keyword/
  flag.page/flag.limit/flag.sort_by/flag.sort_direction
- user headmaps/stats-*/trends: newStatsShortcut 接受 tr,
  Description/Usage 改 tr.T()
- locale: 新增 51 个 key(zh-CN + en-US 双语),清理 10 个孤立死 key
  (batch_list.*/batch.reason/yes 等无对应命令的遗留 key)

全模块测试通过(40 包,0 失败)。
2026-06-15 17:28:21 +08:00
..
batch.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
batch_assign.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
batch_common.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
batch_create.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
batch_delete.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
batch_label.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
batch_open.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
batch_operation_test.go refactor: 收敛 21 个 Shortcut 的代码简化 — 提取辅助函数、测试表格化 2026-06-03 21:01:17 +08:00
batch_test.go merge: sync with upstream, keep our changes 2026-06-04 08:31:35 +08:00
batch_update.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
batch_update_test.go fix: batch-update 恢复 --ids 统一模式,实现双模式并存;注释规范化;文档更新 2026-06-02 09:18:36 +08:00
issue.go refactor(i18n): fork 引入的命令全面 i18n 化,对齐 upstream 风格 2026-06-15 17:28:21 +08:00
issue_test.go fix: 清理合并后遗留 — 文档对齐代码、删除死代码与临时测试桩 2026-06-15 11:48:48 +08:00