Skip to content

Conversation

@lilhammerfun
Copy link
Contributor

Summary

Fixed incorrect Chinese translation of "object file" from "对象文件" to "目标文件".

Changes

  • Changed "对象文件" to "目标文件" throughout the documentation
  • "对象文件" refers to "object-oriented" concepts, while "目标文件" is the correct term for compiled object files in Chinese programming terminology

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.md

This change improves clarity for Chinese-speaking developers learning Zig.

lilhammerfun and others added 2 commits August 14, 2025 16:41
- 更新内联汇编 clobber 列表为 .{ .rcx = true, .r11 = true } 语法
- 优化 function.md 中文标点与英文括号间距
@jinzhongjia
Copy link
Member

感谢 PR

- 将 clobber 列表由 .{ .rcx = true, .r11 = true } 改为 "rcx", "r11"
- 保持与最新 Zig 语法一致,提升代码兼容性
@jinzhongjia jinzhongjia merged commit e4e0db1 into zigcc:main Aug 14, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants