microsoft / microsoft/TypeScript

Japanese translation of the TS2637 error message is wrong.

未关闭
#54,079 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Bug Domain: Error Messages
主要语言
Go
星标
111k
派生
14.4k
平均合并
1 天 19 小时
30 天内合并 PR
117

描述

Bug Report

🔎 Search Terms

translation Japanese variance TS2637

🕗 Version & Regression Information
  • This is the behavior in every version I tried.
⏯ Playground Link

Playground link with relevant code

Error messages in the playground are not localized, therefore I have attached an image taken in VSCode:

スクリーンショット 2023-05-01 11 55 38
💻 Code

Here is the proposed change.

🙁 Actual behavior

The term 'variance' is translated to '分散', which is a statistical term that refers to a measure of how much a set of values differs from their mean.

🙂 Expected behavior

The term 'variance' is translated to '変性', which is a correct term for type variance.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 issue 中引用的 Playground 链接和提议变更的 commit 开始,然后比较 VSCode 中显示的日语 TS2637 诊断。类型方差术语使用预期的日语翻译,并且本地化诊断已得到验证,即表示完成。

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

评估

技术栈
typescript
领域
localization
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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