Repository navigation
更新中文翻译:2026-07 上游同步 - #7
Merged
Merged
Conversation
Sync po/zh.po with the latest source and translate the new/changed strings introduced upstream since the 2025-08 update: - 32 newly translated entries (previously untranslated) - 42 retranslated entries (source text changed upstream) - 15 obsolete strings removed from source dropped Main chapters affected: hello/comment (comment section rework), trait/clone (new "Copy: Implicit Cloning" section), fn/closures iter_find, generics/new_types (miles/marathon example), trait/drop, hello/print/fmt. Now 100% translated (2959/2959); msgfmt --check clean.
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.
概述
将
po/zh.po与最新上游源码同步后,翻译了自 2025-08 以来上游新增/变更的字符串。完成后中文版翻译完成度达 100%(2959/2959)。改动明细
主要涉及章节:
hello/commenttrait/clonefn/closures/…/iter_findfind/position注释重写generics/new_typestrait/dropTempFile自动清理示例注释hello/print/fmt、types/cast、variable_bindings等术语与约定
trait/Copy/Clone保留英文,predicate译作「闭包」,edition→ 「版本」,move→ 「移动」,heap memory→ 「堆内存」,file handle→ 「文件句柄」。"MIT"、"alice_codes"等数据/标识符保留原文。校验
msgfmt --check --statistics:2959 条全部翻译,无格式错误。mdbook serve(mdbook 0.5.1 + i18n-helpers 0.4.0)预览确认各章节渲染正常。