From 29b8769d2cdc4e729c51172aa13e562f55767c03 Mon Sep 17 00:00:00 2001 From: kukinghan <62957051+kukinghan@users.noreply.github.com> Date: Sat, 17 Oct 2026 00:04:58 +0800 Subject: [PATCH] fix(website): correct mistranslated zh-CN catalog entries (#3856) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(website): correct mistranslated zh-CN catalog entries The zh-CN gettext catalog had not been reviewed. Terminology was taken from unrelated dictionary senses and several file names, version numbers and observed byte values were translated as if they were prose, so rendered pages showed content that did not match the English source or the recorded target identity. Rewrites 236 msgstr values across the catalog: - Terminology now uses one term per concept: mask -> 掩码, assembly -> 汇编, helper -> 辅助函数, source -> 源码, native -> 原生, oracle -> 校验基准, authenticator -> 身份验证器, agent -> 编程助手, and flag stays untranslated. - Literal values are preserved: MAIN.EXE, main/, Ghidra 12.1.x, 0x5b?, export.js, preload.js and npx rea-agents@latest setup are no longer translated. - Word-salad sentences are rewritten in natural Chinese, including "剂将它们转化为方程" -> "编程助手把它们转化为方程". - Step-marker separators damaged from "·" to "*" are restored. No msgid or msgctxt changes, so translations extract is not required and no entry becomes fuzzy or empty. * Update website/locales/zh-CN/messages.po Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update website/locales/zh-CN/messages.po Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- website/locales/zh-CN/messages.po | 532 +++++++++++++++--------------- 1 file changed, 266 insertions(+), 266 deletions(-) diff --git a/website/locales/zh-CN/messages.po b/website/locales/zh-CN/messages.po index 16617ccdf..a6f641dfa 100644 --- a/website/locales/zh-CN/messages.po +++ b/website/locales/zh-CN/messages.po @@ -36,7 +36,7 @@ msgstr "逆向工程的思考。" #, python-brace-format msgctxt "page:blog/index.html" msgid "Game reconstruction{ph0}Essay" -msgstr "游戏重建{ph0}论文" +msgstr "游戏重建{ph0}随笔" #: website/public/blog/index.html:219 msgctxt "page:blog/index.html" @@ -48,7 +48,7 @@ msgctxt "page:blog/index.html" msgid "" "What manual RE and reconstructing TH08, TH095 and TH04 taught me about " "agents, verification and knowledge that compounds across projects." -msgstr "什么手动重新和重建TH08,TH095和TH04教我关于编程助手,验证和知识,跨项目的化合物。" +msgstr "手工逆向,以及重建TH08,TH095和TH04的经历,让我理解了编程助手、验证,以及如何在项目之间积累知识。" #: website/public/blog/index.html:210 website/public/blog/index.html:225 msgctxt "page:blog/index.html" @@ -58,7 +58,7 @@ msgstr "阅读文章" #: website/public/blog/index.html:228 msgctxt "page:blog/index.html" msgid "By N0zoM1z0 · 10 October 2026" -msgstr "通过N0zoM1z0*10十月2026" +msgstr "作者 N0zoM1z0 · 2026 年 10 月 10 日" #. {ph0}: @@ -133,7 +133,7 @@ msgctxt "shared" msgid "" "REA — Find out how software works. Reverse engineering with your coding " "agent." -msgstr "REA-了解软件的工作原理。 逆向工程与你的编程助手." +msgstr "REA — 了解软件如何工作。和你的编程助手一起做逆向工程。" #: website/public/blog/index.html:110 #: website/public/blog/reverse-engineering-models/index.html:110 @@ -628,7 +628,7 @@ msgid "" " explanation and tests it; a mismatch gives it something specific to " "investigate." msgstr "" -"这让对照检查成为工作的核心。我把这些基准称为{ph0}校验基准(oracle){ph1}。代码对比可以检查重建函数是否复现原始指令;运行时检查可以确认已走过的路径是否到达预期状态。助手提出解释,再验证它。发现不匹配,就有了具体的调查方向。" +"这让对照检查成为整个工作的核心。我把这些基准称为{ph0}校验基准{ph1}。代码对比可以判断重建的函数是否复现了原始指令;运行时检查可以判断实际走过的路径是否到达了预期状态。编程助手提出一种解释并加以验证;一旦对不上,它就有了具体的调查方向。" #: website/public/blog/touhou-reconstruction/index.html:456 msgctxt "page:blog/touhou-reconstruction/index.html" @@ -1376,7 +1376,7 @@ msgctxt "page:blog/touhou-reconstruction/index.html" msgid "" "I now look at an unfamiliar program and ask: {ph0}what access, feedback and " "accumulated knowledge would let an agent work on this reliably?{ph1}" -msgstr "现在看到一个陌生程序,我会问:{ph0}怎样的工具访问、反馈和知识积累,能让助手可靠地推进这个项目?{ph1}" +msgstr "现在看到一个陌生的程序,我会问:{ph0}要提供什么样的访问途径、反馈和知识积累,编程助手才能可靠地处理它?{ph1}" #: website/public/blog/touhou-reconstruction/index.html:937 msgctxt "page:blog/touhou-reconstruction/index.html" @@ -1384,7 +1384,7 @@ msgid "" "That question makes me consider projects I would previously have left alone." " Each one can improve the way we approach the next. I want to keep exploring" " how far that can take us." -msgstr "这个问题让我考虑以前会放弃的项目。每个项目都能改善下一个项目的工作方式。我想继续探索,这能带我们走多远。" +msgstr "这个问题让我重新考虑那些原本会搁置的项目。每一个都能改善我们处理下一个项目的方式。我想继续探索这条路能把我们带多远。" #: website/public/blog/touhou-reconstruction/index.html:945 msgctxt "page:blog/touhou-reconstruction/index.html" @@ -1637,8 +1637,8 @@ msgid "" "speed. {ph0}REA returned the running script;{ph1} we used its rule to build " "this mini-game with {ph2}adjustable speed.{ph3}" msgstr "" -"要重新创建游戏的加速,首先找到控制其速度的规则。 {ph0} REA返回运行脚本;{ph1} 我们用它的规则来构建这个迷你游戏。 " -"{ph2}速度可调。{ph3}" +"要复现游戏的加速效果,先找到控制速度的规则。{ph0}REA 返回" +"了正在运行的脚本;{ph1}我们用它的规则做了这个{ph2}速度可调{ph3}的小游戏。" #: website/public/examples/dino-lab/index.html:212 #: website/public/examples/dino-lab/index.html:211 @@ -1681,7 +1681,7 @@ msgstr "{ph0}试试分析{ph1}" #: website/public/examples/dino-lab/index.html:222 msgctxt "page:examples/dino-lab/index.html" msgid "Play and change the speed" -msgstr "播放和改变速度" +msgstr "游玩并调整速度" #: website/public/examples/dino-lab/index.html:223 msgctxt "page:examples/dino-lab/index.html" @@ -1689,7 +1689,7 @@ msgid "" "Press Play, then jump over the cactus. Move the speed slider to try a slower" " or faster game; it switches to a fixed speed. Select the recovered rule to " "start at 6 and gradually accelerate again." -msgstr "按播放,然后跳过仙人掌。 移动速度滑块尝试更慢或更快的游戏;它切换到固定的速度。 选择恢复的规则从6开始,然后再次逐渐加速。" +msgstr "点击「开始」,然后跳过仙人掌。拖动速度滑块可以试玩更慢或更快的游戏;也可以切换为固定速度。选择还原后的规则,从 6 开始再次逐步加速。" #: website/public/examples/dino-lab/index.html:229 msgctxt "page:examples/dino-lab/index.html" @@ -1729,19 +1729,19 @@ msgstr "原始规则:从6开始,然后向13增加。" #: website/public/examples/dino-lab/index.html:285 msgctxt "page:examples/dino-lab/index.html" msgid "Move the slider to set your own speed. Space or Jump clears a cactus." -msgstr "移动滑块来设置自己的速度。 空间或跳跃清除仙人掌。" +msgstr "移动滑块设置速度。按空格键或点「跳跃」即可越过仙人掌。" #: website/public/examples/dino-lab/index.html:290 msgctxt "page:examples/dino-lab/index.html" msgid "" "Enable JavaScript to play the reconstruction. The code and explanation above" " remain readable." -msgstr "启用JavaScript播放重建。 上面的代码和解释仍然是可读的。" +msgstr "启用 JavaScript 即可游玩重建版。上方的代码和说明仍可阅读。" #: website/public/examples/dino-lab/index.html:298 msgctxt "page:examples/dino-lab/index.html" msgid "Read the script REA returned" -msgstr "读取脚本REA返回" +msgstr "阅读 REA 返回的脚本" #. {ph0}: #. {ph1}: @@ -1754,7 +1754,7 @@ msgid "" " returned the loaded {ph2}, including this branch in the game’s update " "function:" msgstr "" -"我们检查过 {ph0}wayou的Chromium派生浏览器版{ph1} 与REA。 它返回加载 {ph2},将此分支包含在游戏的更新功能中:" +"我们用 REA 检查了 {ph0}wayou 基于 Chromium 的浏览器版本{ph1}。它返回了已加载的 {ph2},其中包含游戏更新函数里的这个分支:" #. {ph0}: SPEED: 6 #. {ph1}: ACCELERATION: 0.001 @@ -1765,7 +1765,7 @@ msgctxt "page:examples/dino-lab/index.html" msgid "" "The settings are {ph0}, {ph1} and {ph2}. The game runs this branch on an " "update without a collision." -msgstr "设置是 {ph0}, {ph1} 和 {ph2}. 游戏在没有碰撞的更新上运行此分支。" +msgstr "设置为 {ph0}、{ph1} 和 {ph2}。在没有发生碰撞的那次更新中,游戏会执行这个分支。" #: website/public/examples/dino-lab/index.html:320 msgctxt "page:examples/dino-lab/index.html" @@ -1786,8 +1786,8 @@ msgid "" "collision checks are new code for this teaching game; its simulation " "advances at 60 updates per second." msgstr "" -"迷你游戏使用此功能进行自动加速。 移动滑块提供了一个固定的速度代替. " -"绘图,跳跃物理和矩形碰撞检查是这个教学游戏的新代码;它的模拟以每秒60次更新的速度前进。" +"这个迷你游戏用这个函数实现自动加速。拖动滑块则改为固定速度。绘" +"图、跳跃物理和矩形碰撞检测是这个教学游戏中新写的代码;它的模拟以每秒 60 次更新的速度推进。" #. {ph0}: #. {ph1}: @@ -1810,17 +1810,17 @@ msgid "" "We called the original game’s update function with obstacles and automatic " "scheduling disabled. Compare those recorded speeds with a replay of the " "recovered rule." -msgstr "我们称原来的游戏的更新功能与障碍和自动调度禁用。 将这些记录的速度与恢复规则的重播进行比较。" +msgstr "我们在禁用障碍物和自动调度的情况下调用了原游戏的更新函数。把这些记录下来的速度与重放还原出的规则所得的结果做个比较。" #: website/public/examples/dino-lab/index.html:363 msgctxt "page:examples/dino-lab/index.html" msgid "Updates" -msgstr "更新资料" +msgstr "更新次数" #: website/public/examples/dino-lab/index.html:364 msgctxt "page:examples/dino-lab/index.html" msgid "Original game" -msgstr "原创游戏" +msgstr "原版游戏" #: website/public/examples/dino-lab/index.html:365 msgctxt "page:examples/dino-lab/index.html" @@ -1837,7 +1837,7 @@ msgctxt "page:examples/dino-lab/index.html" msgid "" "Values rounded to three decimals. The branch checks before adding, so the " "final increment can take speed just above 13." -msgstr "四舍五入为三位小数的值。 分支在添加之前进行检查,因此最终增量可以采用略高于13的速度。" +msgstr "数值保留三位小数。该分支在加法前先做判断,因此最终的增量可能让速度略高于 13。" #: website/public/examples/dino-lab/index.html:401 msgctxt "page:examples/dino-lab/index.html" @@ -1850,7 +1850,7 @@ msgstr "自己试试分析" #, python-brace-format msgctxt "page:examples/dino-lab/index.html" msgid "{ph0}Set up REA{ph1} with your coding agent." -msgstr "{ph0}设立 REA{ph1} 用你的编程助手。" +msgstr "{ph0}配置 REA{ph1},配合你的编程助手使用。" #. {ph0}: #. {ph1}: @@ -1936,7 +1936,7 @@ msgctxt "page:examples/dino-lab/index.html" msgid "" "Read the dinosaur game’s speed rule with REA, rebuild it, then change the " "speed and play." -msgstr "阅读恐龙游戏的速度规则与REA,重建它,然后改变速度和发挥。" +msgstr "用 REA 读出恐龙游戏的速度规则,重建它,然后修改速度并试玩。" #: website/public/examples/dino-lab/index.html:220 msgctxt "page:examples/dino-lab/index.html" @@ -1948,7 +1948,7 @@ msgctxt "page:examples/dino-lab/index.html" msgid "" "Dinosaur mini-game. Use the Jump button or press Space while the game is " "focused." -msgstr "恐龙迷你游戏。 使用跳跃按钮或按空格键,而游戏是重点。" +msgstr "恐龙迷你游戏。游戏处于焦点状态时,点击「跳跃」按钮或按空格键。" #: website/public/examples/dino-lab/index.html:326 msgctxt "page:examples/dino-lab/index.html" @@ -2804,7 +2804,7 @@ msgctxt "page:first-investigation/index.html" msgid "" "{ph0}How DX-Ball calculates sound panning{ph1}{ph2}Read the original " "instructions and the reconstruction’s checks.{ph3}" -msgstr "{ph0}DX-Ball 如何计算声音左右位置{ph1}{ph2}查看原始指令,以及重建结果的验证。{ph3}" +msgstr "{ph0}DX-Ball 如何计算声像定位{ph1}{ph2}阅读原始指令,以及重建结果的校验。{ph3}" #. {ph0}: #. {ph1}: @@ -3402,7 +3402,7 @@ msgstr "复制Linux的fnm安装命令" #: website/public/get-started/index.html:383 msgctxt "page:get-started/index.html" msgid "Copy Node.js 24 commands for Linux" -msgstr "复制 Node.js 24命令 Linux" +msgstr "复制 Linux 的 Node.js 24 命令" #: website/public/get-started/index.html:210 #: website/public/get-started/index.html:209 @@ -3467,7 +3467,7 @@ msgctxt "page:guides/browser/index.html" msgid "" "Use a small browser app to connect an action, its network request and the " "JavaScript that builds a download." -msgstr "使用小型浏览器应用程序连接操作,其网络请求和构建下载的JavaScript。" +msgstr "用一个小型的浏览器应用,把一个操作、对应的网络请求,以及生成下载文件的 JavaScript 联系起来。" #: website/public/guides/browser/index.html:209 msgctxt "page:guides/browser/index.html" @@ -3496,7 +3496,7 @@ msgstr "{ph0}打开浏览器{ph1}" #, python-brace-format msgctxt "page:guides/browser/index.html" msgid "{ph0}Ask your agent{ph1}" -msgstr "{ph0}问问你的编程助手{ph1}" +msgstr "{ph0}向编程助手提问{ph1}" #. {ph0}: #. {ph1}: @@ -3504,7 +3504,7 @@ msgstr "{ph0}问问你的编程助手{ph1}" #, python-brace-format msgctxt "page:guides/browser/index.html" msgid "{ph0}Capture from CLI{ph1}" -msgstr "{ph0}从CLI捕获 {ph1}" +msgstr "{ph0}使用 CLI 捕获{ph1}" #. {ph0}: #. {ph1}: @@ -3512,7 +3512,7 @@ msgstr "{ph0}从CLI捕获 {ph1}" #, python-brace-format msgctxt "page:guides/browser/index.html" msgid "{ph0}Read the request and script{ph1}" -msgstr "{ph0}阅读请求和脚本{ph1}" +msgstr "{ph0}读取请求和脚本{ph1}" #: website/public/guides/browser/index.html:220 msgctxt "page:guides/browser/index.html" @@ -3566,7 +3566,7 @@ msgctxt "page:guides/browser/index.html" msgid "" "{ph0}02 · REA{ph1}{ph2}Record the request{ph3}{ph4}Capture the request URL, " "response status and JSON structure from the selected page.{ph5}" -msgstr "{ph0}02*REA {ph1}{ph2}记录请求{ph3}{ph4}从所选页面捕获请求URL,响应状态和JSON结构。{ph5}" +msgstr "{ph0}02 · REA{ph1}{ph2}记录请求{ph3}{ph4}从所选页面捕获请求 URL、响应状态和 JSON 结构。{ph5}" #. {ph0}: #. {ph1}: @@ -3588,12 +3588,12 @@ msgstr "" #: website/public/guides/browser/index.html:260 msgctxt "page:guides/browser/index.html" msgid "Start the capture before clicking Export notes." -msgstr "在单击导出注释之前开始捕获。" +msgstr "在点击 Export notes 之前开始捕获。" #: website/public/guides/browser/index.html:266 msgctxt "page:guides/browser/index.html" msgid "Open Chrome with remote debugging" -msgstr "使用远程调试打开Chrome" +msgstr "以远程调试方式启动 Chrome" #: website/public/guides/browser/index.html:267 msgctxt "page:guides/browser/index.html" @@ -3633,7 +3633,7 @@ msgstr "REA连接到这个现有的浏览器。 你可以控制页面,执行 #: website/public/guides/browser/index.html:299 msgctxt "page:guides/browser/index.html" msgid "Ask your agent to watch one action" -msgstr "让你的编程助手看一个动作" +msgstr "让编程助手观察一个操作" #. {ph0}: