fix Chinese translation: object file should be 目标文件 instead of 对象文件#268
Merged
jinzhongjia merged 3 commits intozigcc:mainfrom Aug 14, 2025
Merged
fix Chinese translation: object file should be 目标文件 instead of 对象文件#268jinzhongjia merged 3 commits intozigcc:mainfrom
目标文件 instead of 对象文件#268jinzhongjia merged 3 commits intozigcc:mainfrom
Conversation
- 更新内联汇编 clobber 列表为 .{ .rcx = true, .r11 = true } 语法
- 优化 function.md 中文标点与英文括号间距
Member
|
感谢 PR |
- 将 clobber 列表由 .{ .rcx = true, .r11 = true } 改为 "rcx", "r11"
- 保持与最新 Zig 语法一致,提升代码兼容性
jinzhongjia
approved these changes
Aug 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixed incorrect Chinese translation of "object file" from "对象文件" to "目标文件".
Changes
Rationale
The current translation "对象文件" is confusing as it suggests object-oriented programming concepts rather than compiled object files. "目标文件" is the standard and widely accepted translation in Chinese programming communities.
Files Modified
course/basic/basic_type/function.mdThis change improves clarity for Chinese-speaking developers learning Zig.