今日英语表达 3/30 · 阶段:开启 Issue。 所有例句均为本文特意创作,并非直接搬运实际仓库中的评论,版本和命令仅为示例。
目录
概览
| 表达 | I can't reproduce this on v1.4.0. / I couldn't reproduce it with ... |
| 含义 | 在(我测试的)v1.4.0 中未出现相同现象。 |
| 使用场景 | Issue 分类(triage)评论、评审中确认 Bug、Slack |
| 礼貌程度 | 中性。仅传达事实,较少给人怀疑对方的感觉 |
1. 含义与语境
reproduce 意为“重新引发”Bug,即重现。在开源社区中也常简称为 repro(a minimal repro, Can you share a repro?)。Kubernetes 的 Bug 模板中也有 How can we reproduce it (as minimally and precisely as possible)? 这一栏。
I can't reproduce this 是一个关于“无法重现”的事实汇报。这里最重要的是 在 on 或 with 后面加上你自己的环境。只有写明条件,比如“在 v1.4.0 中”、“在 kind 集群中”、“使用默认配置”,对方才能对比出与他们环境的不同之处。如果什么条件都不加,只说 I can't reproduce,听起来可能会像是“觉得你的环境有问题”。
can't 和 couldn't 的意思几乎一样。couldn't 的侧重点在于过去的尝试(“尝试过了但没成功”),而 can't 的侧重点在于“当前无法重现”的状态。两者都很自然。
在这个表达后面,几乎总是会跟随着 提问。因为如果只说无法重现,对话就会中断。通常会请求对方的环境信息,或者展示自己尝试的步骤并询问哪里有出入。
2. 例句
情境 1:Issue 分类评论
I can't reproduce this on v1.4.0 with a fresh kind cluster. Here's what I tried:
- Created a VM with the example manifest
- Ran
virtctl migrate testvmThe migration completed in about 20 seconds. Could you share your VM spec and the virt-handler logs?
情境 2:指出条件可能不同时
I couldn't reproduce it with the default storage class. Are you using a custom CSI driver by any chance?
by any chance 意为“碰巧/也许”,能让提问显得更温和。
情境 3:成功重现时的配套表达
I can reproduce this on main as well. It looks like it started after the refactor in the reconcile loop.
can reproduce 意为“我也能重现”,这是一条能为 Issue 增加可信度的优质评论。比单纯的 +1 要有用得多。
3. 相似表达与区别
- It works for me. 意思相近,但“我这边是好的”这种语感较强,一不小心会显得有点生硬。如果和环境信息一起使用则没有问题。
- I'm not able to reproduce this. 比 can't 稍微正式且更委婉。
- Can you share a minimal repro? 请求重现信息的表达。minimal 意为“去除了不必要部分的最简化的”。
4. 韩国人常犯的错误
- I can't reappear this problem. reappear 是一个自动词,意为“重新出现”,不能接宾语。
- 修改后的句子:I can't reproduce this problem.
- In my environment, it is not occurred. occur 不用于被动语态。
- 修改后的句子:It doesn't happen in my environment. 或 I don't see this in my setup.
- Your environment seems wrong. 听起来像是在指责对方。应改为询问差异的句子。
- 修改后的句子:There might be a difference in our setups. Could you share your Helm values?
5. 一行练习
请将以下韩语句子翻译成英文评论。
main 分支上无法重现。请问能否告知您使用的是哪个版本?
参考答案
I can't reproduce this on main. Could you let me know which version you're running?
“使用某个版本”在英文中用 run a version 会更自然。使用 use 也没有错。
Titi 的小建议。 在“不行”后面加上“我是这样尝试的”,这条评论就会从反驳变成协作。
参考
- Kubernetes Bug 报告模板 (How can we reproduce it): https://github.com/kubernetes/kubernetes/blob/master/.github/ISSUE_TEMPLATE/bug-report.yaml
- Merriam-Webster, 「reproduce」: https://www.merriam-webster.com/dictionary/reproduce