|
176 | 176 | "zh-CN": "// Config 代表项目配置" |
177 | 177 | }, |
178 | 178 | "12643a2e6591197284f266a6b70eb9a428be38d0": { |
179 | | - "en": "// Verify the last doc comments (lines 15, 17, 18)\n// We expect them to be separate but have the same symbol" |
| 179 | + "en": "// Verify the last doc comments (lines 15, 17, 18)\n// We expect them to be separate but have the same symbol", |
| 180 | + "zh-CN": "// 验证最后的文档注释(第15、17、18行)\n// 我们希望它们是独立的但具有相同的符号" |
180 | 181 | }, |
181 | 182 | "1311d6e062c85e73fb969ffe451e40f1630f6317": { |
182 | 183 | "en": "// If I pass server.URL to NewLLMTranslator, the client will append /chat/completions?", |
|
475 | 476 | "zh-CN": "// 块注释 /* */" |
476 | 477 | }, |
477 | 478 | "2972276bec78563545bf4fe31350177a7bd5e811": { |
478 | | - "en": "// Verify range logic for first comment (line 1)" |
| 479 | + "en": "// Verify range logic for first comment (line 1)", |
| 480 | + "zh-CN": "// 验证第一条注释(第1行)的范围逻辑" |
479 | 481 | }, |
480 | 482 | "2aa5b10fd959f6d7a34647fca6b0bb705129c105": { |
481 | 483 | "en": "// - If zh-CN exists but en is missing: zh-CN -\u003e en", |
|
566 | 568 | "zh-CN": "// GenerateCommentID 为评论计算一个稳定的ID" |
567 | 569 | }, |
568 | 570 | "32e60c112bd0efa971fb7c9196461e55d8630829": { |
569 | | - "en": "/// This is an optimization that allows us to keep using the static precompiles" |
| 571 | + "en": "/// This is an optimization that allows us to keep using the static precompiles", |
| 572 | + "zh-CN": "/// 这是一种优化,允许我们继续使用静态预编译合约" |
570 | 573 | }, |
571 | 574 | "338f41c80244b4be6d7a151887fbeeb46cdce772": { |
572 | 575 | "en": "// Create the content to hash", |
|
877 | 880 | "zh-CN": "// LanguageAdapter 定义了语言特定解析器的接口" |
878 | 881 | }, |
879 | 882 | "543f716248798f3acd7c15dee782360393de062c": { |
880 | | - "en": "// Line 17" |
| 883 | + "en": "// Line 17", |
| 884 | + "zh-CN": "// 第17行" |
881 | 885 | }, |
882 | 886 | "55cf0f288a1869934366533f97c2e4d25d295a2a": { |
883 | 887 | "en": "// Append content\n// Ensure we have a newline between them if not present in the last one", |
|
908 | 912 | "zh-CN": "// 确定策略" |
909 | 913 | }, |
910 | 914 | "58ec13c61728d38e31e55efd6b36342f81dfc3f2": { |
911 | | - "en": "//! It happened on Ethereum block 1_920_000" |
| 915 | + "en": "//! It happened on Ethereum block 1_920_000", |
| 916 | + "zh-CN": "//! 这发生在以太坊区块 1_920_000" |
912 | 917 | }, |
913 | 918 | "5a7adb029281a1a578262900b2e3858e677bf683": { |
914 | 919 | "en": "// Normalize current comment text for comparison", |
|
947 | 952 | "zh-CN": "// Version 是映射文件格式的版本号(例如:\"1.0\")" |
948 | 953 | }, |
949 | 954 | "5f25ee88be7bdce1231e3d92513b03fb6204d6f2": { |
950 | | - "en": "// good" |
| 955 | + "en": "// good", |
| 956 | + "zh-CN": "// 好" |
951 | 957 | }, |
952 | 958 | "5f9a3b66d0c811823df0e16c9bcfe939990b65b3": { |
953 | 959 | "en": "// Mixed batch, fallback to sequential loop manually here\n// This shouldn't happen often if we sort, but safety net.", |
|
1102 | 1108 | "zh-CN": "// - 如果存在英文版本但缺少中文简体版本:英文 -\u003e 中文简体" |
1103 | 1109 | }, |
1104 | 1110 | "724a4e4b73aeb0efed82ddce315d7e237ff59f0a": { |
1105 | | - "en": "// Line 15" |
| 1111 | + "en": "// Line 15", |
| 1112 | + "zh-CN": "// 第15行" |
1106 | 1113 | }, |
1107 | 1114 | "725c0ca4655e8edf6ff0d91fc134e2ab89da386f": { |
1108 | 1115 | "en": "// var result map[string]interface{}", |
|
1361 | 1368 | "zh-CN": "// Mapping 表示映射文件的结构" |
1362 | 1369 | }, |
1363 | 1370 | "8e97132c83930a78177bb7133078f0fc7dd3cee0": { |
1364 | | - "en": "//! DAO Fork related constants from [EIP-779](https://eips.ethereum.org/EIPS/eip-779)." |
| 1371 | + "en": "//! DAO Fork related constants from [EIP-779](https://eips.ethereum.org/EIPS/eip-779).", |
| 1372 | + "zh-CN": "//! 来自[EIP-779](https://eips.ethereum.org/EIPS/eip-779)的DAO分叉相关常量。" |
1365 | 1373 | }, |
1366 | 1374 | "8ecb1b5c0b7cab6b8a3ab8cf964ffb26738ee732": { |
1367 | 1375 | "en": "// Check if ID exists", |
|
1496 | 1504 | "zh-CN": "// RustAdapter 为 Rust 语言实现了 LanguageAdapter 接口。\n// 它使用 Tree-sitter 解析 Rust 源代码,并提取注释及其上下文。" |
1497 | 1505 | }, |
1498 | 1506 | "9e0769f27a5a61c5920154b1a31a031fe77f9aea": { |
1499 | | - "en": "// luck" |
| 1507 | + "en": "// luck", |
| 1508 | + "zh-CN": "// 运气" |
1500 | 1509 | }, |
1501 | 1510 | "9e9ff4ff1867057fb3508f8f3a3c7cee3e5c5ddf": { |
1502 | 1511 | "en": "// Comment represents a single comment extracted from AST", |
|
1543 | 1552 | "zh-CN": "// 它返回一个包含评论文本、位置和上下文符号的 domain.Comment 结构体列表。" |
1544 | 1553 | }, |
1545 | 1554 | "a419be8974323121254abe6995f87c098872262d": { |
1546 | | - "en": "// Expect 11 comments without merging:\n// 1. Inner doc (line 1)\n// 2. Inner doc (line 2)\n// 3. Inner doc (line 4)\n// 4. Outer doc (line 6)\n// 5. Line comment (line 8)\n// 6. Block comment (lines 9-10)\n// 7. Line comment (line 11)\n// 8. Line comment (line 12)\n// 9. Doc comment (line 15)\n// 10. Doc comment (line 17) - line 16 is empty and filtered\n// 11. Doc comment (line 18)" |
| 1555 | + "en": "// Expect 11 comments without merging:\n// 1. Inner doc (line 1)\n// 2. Inner doc (line 2)\n// 3. Inner doc (line 4)\n// 4. Outer doc (line 6)\n// 5. Line comment (line 8)\n// 6. Block comment (lines 9-10)\n// 7. Line comment (line 11)\n// 8. Line comment (line 12)\n// 9. Doc comment (line 15)\n// 10. Doc comment (line 17) - line 16 is empty and filtered\n// 11. Doc comment (line 18)", |
| 1556 | + "zh-CN": "// 预期有11条未合并的注释:\n// 1. 内部文档注释(第1行)\n// 2. 内部文档注释(第2行)\n// 3. 内部文档注释(第4行)\n// 4. 外部文档注释(第6行)\n// 5. 行注释(第8行)\n// 6. 块注释(第9-10行)\n// 7. 行注释(第11行)\n// 8. 行注释(第12行)\n// 9. 文档注释(第15行)\n// 10. 文档注释(第17行)- 第16行为空行已被过滤\n// 11. 文档注释(第18行)" |
1547 | 1557 | }, |
1548 | 1558 | "a42bbc48bddf39a3604678b584e5271e273f1dea": { |
1549 | 1559 | "en": "// Test empty array", |
|
1670 | 1680 | "zh-CN": "// 但命令行界面可以扫描目录。" |
1671 | 1681 | }, |
1672 | 1682 | "b0c4b4afb41326693301a70f826bbad28f563336": { |
1673 | | - "en": "// Line 18" |
| 1683 | + "en": "// Line 18", |
| 1684 | + "zh-CN": "// 第18行" |
1674 | 1685 | }, |
1675 | 1686 | "b0e8c7ede9066d54d8d0eac233cf1190b0a6e936": { |
1676 | 1687 | "en": "// [MOCK zh-CN-\u003een] // Remove comment markers", |
|
2025 | 2036 | "zh-CN": "// Tree-sitter 通常将 macro_rules! 的主体解析为令牌树或特定结构\n// 看看它是否能捕获注释。\n// 更新:这取决于语法中如何定义 'macro_rules'。\n// 如果它能提取出来,很好。如果不能,目前可以接受(根据规范)。" |
2026 | 2037 | }, |
2027 | 2038 | "d10588558d7105c5b9504114eab6e27b4b342e3c": { |
2028 | | - "en": "/// until we need to modify them, at which point we convert to the dynamic representation." |
| 2039 | + "en": "/// until we need to modify them, at which point we convert to the dynamic representation.", |
| 2040 | + "zh-CN": "/// 在需要修改之前,我们保持使用静态表示,需要修改时再转换为动态表示。" |
2029 | 2041 | }, |
2030 | 2042 | "d119c66734dec806c571617b36d48bc0a2b31a0e": { |
2031 | 2043 | "en": "// Debug: Print mappings.json", |
|
2132 | 2144 | "zh-CN": "// 这是一个行注释,添加到缓冲区" |
2133 | 2145 | }, |
2134 | 2146 | "d996bb683a5ad1c81f8565f44d68da8f20ca4dca": { |
2135 | | - "en": "/// A mapping of precompile contracts that can be either static (builtin) or dynamic." |
| 2147 | + "en": "/// A mapping of precompile contracts that can be either static (builtin) or dynamic.", |
| 2148 | + "zh-CN": "/// 预编译合约的映射,可以是静态(内置)或动态的。" |
2136 | 2149 | }, |
2137 | 2150 | "da486cda0e857bd7dd13c9ed12ca40a65c20030f": { |
2138 | 2151 | "en": "// c.SourceText is EN", |
|
0 commit comments