commitizen / commitizen/cz-cli

Incorrectly localized symbols in confirm message description

未关闭
#605 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
17.5k
派生
566
平均合并
8 小时 16 分钟
30 天内合并 PR
1

描述

Hi, im using commitizen-cli + cz-customizable in my project. Project itself runs in cyrillic enviroment (OS etc.), so "git cz" is used in it too. When im running "git cz", proceeding to last step, after confirmMessage caption you can see this:

![image](https://user-images.githubusercontent.com/21021184/51521564-0016b200-1e38-11e9-900b-d49c1ed7cbf5.png)

"yn" I can understand (yes/no), but what logic stand behind localized chars "еН"? Its not cyrillic matchers to "y" and "n" buttons on keyboard. "y" on cyr keyboard is "н", "n" is "т".

This moment itself is a small bug, but maybe it will be better to remove transliteration (or what is it? :D) to exclude some misunderstanding (problem is not in loss of meaning what is displayed, it just looks like random chars after obvious "yes" and "no" :) )

贡献指南

打开贡献指南

调研方向

首先,在西里尔字母环境中运行 `git cz`,复现最终确认提示,重点关注 `confirmMessage` 描述以及显示的 yes/no 符号。从该入口追踪 CLI 提示和本地化行为;完成标准是这些符号易于理解,并且不再显示为具有误导性的本地化字符。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。