blog_os icon indicating copy to clipboard operation
blog_os copied to clipboard

Tracking issue for Chinese translations

Open 0xPoe opened this issue 4 years ago • 27 comments

This is a tracking issue for Chinese translations. If you have any questions/problems with Chinese translations, feel free to leave a comment here!

0xPoe avatar Apr 02 '21 10:04 0xPoe

There was a comment from @Guo-weijian about the x86_64 dependency in https://github.com/phil-opp/blog_os/issues/934#issuecomment-786434482:

please update crate x86_64 from 0.11 to 0.12, the old version didn't work now

phil-opp avatar Jun 26 '21 13:06 phil-opp

There was a comment from @Guo-weijian about the x86_64 dependency in #934 (comment):

please update crate x86_64 from 0.11 to 0.12, the old version didn't work now

I'll take a look tomorrow.

0xPoe avatar Jun 26 '21 13:06 0xPoe

@hi-rustin Thanks a lot!

phil-opp avatar Jun 27 '21 15:06 phil-opp

@hi-rustin 第二章节 "A Minimal Rust Kernel" 从 "Building our Kernel" 开始有较大差异, 原文去掉了 "cargo xbuild" 作为构建工具, 同时添加了 "The build-std Option", "Memory-Related Intrinsics" 小节的内容作为替代.

plko345 avatar Oct 06 '21 04:10 plko345

对于最新的 bootimage 需要在 Cargo.toml 中添加如下配置指定编译命令, 否则会默认使用 cargo build 编译,导致编译报错

[package.metadata.bootimage]
build-command = ["xbuild"]

Salpadding avatar Nov 25 '21 12:11 Salpadding

@Salpadding cargo xbuild has been subsumed by the build-std functionality of cargo. This is why newer bootimage versions default to it. It looks like the chinese translation hasn't yet been updated for this. If you add

[unstable]
build-std = ["core", "compiler_builtins"]

to .cargo/config.toml you can use cargo build. See https://os.phil-opp.com/minimal-rust-kernel/#the-build-std-option in the english version.

@hi-rustin would you mind updating the translation for https://github.com/phil-opp/blog_os/pull/836?

bjorn3 avatar Nov 25 '21 12:11 bjorn3

@hi-rustin would you mind updating the translation for #836?

I'll give it a try this weekend.

0xPoe avatar Dec 02 '21 12:12 0xPoe

use cargo build instead of cargo xbuild.

See #1125

xtexx avatar Aug 08 '22 07:08 xtexx

Thx for ur tracking! And I think it can be combined with this repository

HuSharp avatar Nov 13 '22 08:11 HuSharp

There is a new Chinese translation for post-09 ("Paging Implementation") in https://github.com/phil-opp/blog_os/pull/1189. We're still looking for someone that can give it a quick review.

phil-opp avatar Feb 06 '23 11:02 phil-opp

In https://os.phil-opp.com/paging-introduction/#paging-on-x86-64, paragraph 3, "We see that each table index consists of 9 bits, ...", "bits" is translated into "字节", whereas it actually means "bytes". Correct translation should be "比特", "位", or "字"。

zhc7 avatar Feb 12 '23 06:02 zhc7

image missing spaces when using *

zhc7 avatar Feb 12 '23 07:02 zhc7

image should be "字节"(byte), not "比特"(bit)

zhc7 avatar Feb 12 '23 07:02 zhc7

https://os.phil-opp.com/zh-CN/testing/ 内核测试章节 最后一块代码引用

// in tests/should_panic.rs
use blog_os::{QemuExitCode, exit_qemu, serial_println};

应该为 use blog_os::{QemuExitCode, exit_qemu, serial_println, serial_print};

acyanbird avatar Jan 05 '24 00:01 acyanbird

@acyanbird @zhc7 Thanks a lot for reporting these errors! Please create pull requests to fix these things, as it's difficult for me to work with Chinese text.

You can find the source files for each post in https://github.com/phil-opp/blog_os/tree/main/blog/content/edition-2/posts . For editing, you can either fork the repo or just use GitHub's web editor. Thanks!

phil-opp avatar Jan 05 '24 10:01 phil-opp

@phil-opp Sure! I've created PR to fix all errors raised by me and @zhc7. #1262

acyanbird avatar Jan 05 '24 16:01 acyanbird

https://github.com/phil-opp/blog_os/pull/1274 Hi I open a new PR to fix some format errors

acyanbird avatar Jan 29 '24 00:01 acyanbird

And sorry to ask here, but can I visit edition 3 through web page, or it only available from github repo branch edition-3? It's too hard to read from there qwq

acyanbird avatar Jan 29 '24 00:01 acyanbird

And sorry to ask here, but can I visit edition 3 through web page, or it only available from github repo branch edition-3? It's too hard to read from there qwq

Only through the repo right now, sorry. I want to finish the screen output post before publishing. I try my best to get to it soon!

phil-opp avatar Jan 30 '24 17:01 phil-opp

And sorry to ask here, but can I visit edition 3 through web page, or it only available from github repo branch edition-3? It's too hard to read from there qwq

Only through the repo right now, sorry. I want to finish the screen output post before publishing. I try my best to get to it soon!

OK thank you so much! And by the way, I may have time to translate some posts. I could directly raise the PR right?

acyanbird avatar Feb 01 '24 14:02 acyanbird

Yes, thanks a lot!

phil-opp avatar Feb 02 '24 11:02 phil-opp