1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-16 14:17:34 +02:00
Commit Graph

1861 Commits

Author SHA1 Message Date
0e09a1c569 Add redirects for all broken links to book.toml ()
This should clean up the list of 404 errors in the Search Console.
2023-06-14 10:21:22 +01:00
53fff52b60 Fix link to LICENSE in credits.md ()
The link worked fine when GitHub was rendering it — it rewrites the relative path correctly. However, when viewed as the output of `mdbook`, the link pointed to nowhere.
2023-06-14 10:17:29 +01:00
bc031361ae zh-CN: translate src/welcome-day-1.md ()
* zh-CN: translate src/welcome-day-1.md

* Update po/zh-CN.po

Co-authored-by: whd <7058128+superwhd@users.noreply.github.com>
2023-06-14 11:09:31 +08:00
02dea6bd28 zh-CN: Translate Concurrency morning ()
* zh-CN: translate the Concurrency morning

* Apply suggestions from code review

Co-authored-by: Anlun Xu <anlunx@google.com>
Co-authored-by: Siwei Xu <xusiwei1236@gmail.com>

* Apply suggestions from code review

Co-authored-by: Anlun Xu <anlunx@google.com>
Co-authored-by: wnghl <wnghilin@gmail.com>

---------

Co-authored-by: Anlun Xu <anlunx@google.com>
Co-authored-by: Siwei Xu <xusiwei1236@gmail.com>
Co-authored-by: wnghl <wnghilin@gmail.com>
2023-06-13 20:06:59 -07:00
c878ecd7a8 zh-CN: Translation for src/exercises/day-2/morning.md () 2023-06-14 08:57:15 +08:00
c948186fc6 zh-CN: Translate for src/exercises/day-2/health-statistics.md () 2023-06-14 08:56:21 +08:00
00835e7fd4 de: continued German translation until chapter 6.5.3 ()
* German translation until 6.5.3

* changed 'Sie' to 'Du'

* Apply suggestions from code review

Thanks @ronaldfw!

Co-authored-by: ronaldfw <wotzlaw@gmail.com>

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
Co-authored-by: ronaldfw <wotzlaw@gmail.com>
2023-06-13 18:18:06 +00:00
6880671ba4 zh-CN: Translate src/android.md, src/android/build-rules.md, src/android/setup.md ()
* Update zh-Hans.po 

src/android.md, src/android/build-rules.md, src/android/setup.md

---------

Co-authored-by: suetfei <89482184+suetfei@users.noreply.github.com>
2023-06-13 18:14:36 +00:00
d71ea715bb Fix broken link in for-expressions.md () 2023-06-13 17:43:08 +00:00
7c9195ba7a Fix broken link in Pitfalls of async/await ()
Fix broken link in Async Pitfalls
2023-06-13 17:26:56 +00:00
078a99885d ru: Translation for the welcome page and chapters 1,2 ()
Translate the welcome page and chapters 1,2
2023-06-13 15:50:55 +02:00
cf0ce5c0b2 Explain iff in mutex.md ()
---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-06-13 12:56:42 +00:00
19780b832c zh-TW: translation for src/control-flow/if-expressions.md ()
* zh-TW: translation for src/control-flow/if-expressions.md

* zh-TW: add translation for src/SUMMARY.md:98
2023-06-13 12:47:08 +00:00
6b17bc47b1 Explicitly ask people to clone the repository ()
This was a question in .
2023-06-13 11:01:12 +00:00
c0a14c6d3e Update CODEOWNERS to add me as an id reviewer ()
Update CODEOWNERS to add me as a id reviewer

Co-authored-by: Nurlita Dhuha Fatmawati <nurlitadf@google.com>
2023-06-13 09:07:30 +00:00
aaf99534e0 zh-TW: fix style in src/testing.md () 2023-06-12 10:30:46 +01:00
f965668f63 zh-TW: translation for src/control-flow/break-continue.md ()
* zh-TW: translation for src/control-flow/break-continue.md

* zh-TW: update translation for src/control-flow/break-continue.md
2023-06-12 16:48:35 +08:00
4f06a14954 ja: Ch.3 ()
ja: Ch3 

short chapter, did not separate to sections

Co-authored-by: Keiichi Watanabe <keiichiw@chromium.org>
2023-06-12 05:52:56 +00:00
5a62f650c1 zh-TW: Translate Concurrency morning ()
* zh-TW: Translate Concurrency morning

* Apply suggestions from code review

Thanks @hueich!

Co-authored-by: Addison Luh <hueich@users.noreply.github.com>

---------

Co-authored-by: Addison Luh <hueich@users.noreply.github.com>
2023-06-11 13:34:57 +00:00
9cf55893ac Rephrase when send blocks ()
* Rephrase when `send` blocks

From a discussion with @hueich in : https://github.com/google/comprehensive-rust/pull/786#discussion_r1224850499.
2023-06-11 13:20:33 +00:00
56c1a6e55e Add suggestion to use rustup doc ()
Suggest to use `rustup doc std::fmt` to open the documentation for `std::fmt`.
2023-06-10 18:01:57 -04:00
4074b72df8 Fix typo in borrowing.md () 2023-06-10 13:31:46 +00:00
07a7380b13 Update sizes.md () 2023-06-09 18:00:33 +00:00
4b7b5d83ea Make chat-client reads cancellation safe ()
* Make chat-client reads cancellation safe

* Update chat-app references
2023-06-09 16:35:52 +02:00
8c212b3f8c Warn against running msgmerge too often ()
* Warn against running `msgmerge` too often
2023-06-09 14:32:48 +00:00
c1750baa07 Update CODEOWNERS to add 'zvonden' as a ru reviewer ()
Update CODEOWNERS to add me as ru reviewer
2023-06-09 13:30:04 +00:00
0b93628ef3 Call out GitHub suggestions ()
* Call out GitHub suggestions
2023-06-09 09:29:26 -04:00
6bf60dadc8 Add information about async cancellation ()
* Mention cancellation via select!

* Add a section on async cancellation

* Update cancellation slide, rework example

* Rework select! note about cancellation

* Collapse cancellation comparision to panic and ?

* Don't keep null bytes from incomplete reads
2023-06-09 11:59:12 +02:00
84e6c14406 ja: Translate chapter 1 ()
* ja: translate ch.1 

* ja: ch.1 fixed 実地 to 実施 * 2 

changed 2 locations

* ja: 3 updates to ch.1 

changes suggested by @chikoski

* ja: update to Ch.1 

@chikoski

1. チェッカー
2. あらかじめ
3. 「の」

---------

Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-06-09 09:27:30 +00:00
61a4de2303 de: Continued German translation ()
* Updated base translations

* Translated TOC to german

* Translated Chapter 1 to German

* Update po/de.po

Co-authored-by: ronaldfw <wotzlaw@gmail.com>

---------

Co-authored-by: ronaldfw <wotzlaw@gmail.com>
2023-06-09 11:14:01 +02:00
05ed9b9889 Update CODEOWNERS ()
Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-06-09 09:07:26 +00:00
ede2971a55 zh-TW: Translate testing.md and update CODEOWNERS ()
Translate testing.md to zh-TW and update CODEOWNERS
2023-06-09 09:07:12 +00:00
ebf1bbb5fe zh-TW: translation for src/control-flow/blocks.md ()
* zh-TW: translation for src/control-flow/blocks.md

* zh-TW: update translation for src/control-flow/blocks.md
2023-06-09 06:04:08 +08:00
2eda22dced zh-TW translation for src/control-flow.md ()
* zh-TW translation for src/control-flow.md

* zh-TW: update translation for src/control-flow.md
2023-06-09 06:03:13 +08:00
753dea4950 Give guidance on how to review translations ()
This captures some general advice which I’ve been handing out 1:1 to
the many new translation reviewers.
2023-06-08 10:42:09 -04:00
806dbca402 Update CODEOWNERS ()
Add tjonganthony@ as ID translation owner.
2023-06-08 12:23:28 +00:00
617599e617 id: Working on SUMMARY.md translations () 2023-06-08 10:49:18 +02:00
whd
63252e9d60 Add superwhd to CODEOWNERS of zh-CN.po ()
Add superwhd to CODEOWNERS of zh-Hans.po
2023-06-08 08:26:01 +00:00
7b7ffe58cf it: Further misc Italian translations () 2023-06-07 19:37:20 +01:00
d1bccb7753 zh-CN: translate basic-syntax/methods.md and some words in SUMMARY.md ()
* zh-CN: translate basic-syntax/methods.md and some words in SUMMARY.md

* Use "构造函数" for "constructor"
2023-06-06 09:43:47 -04:00
305bdbb29a Fix slices immutable example () 2023-06-06 09:17:55 +00:00
c0f84d0864 Japanese translation ch 2 ()
* ja: Ch.2.0 

* ja: Ch2.1 

* ja: Ch2.2 

* ja: Ch.2.3 

* ja: Ch.2.0 fix dupe 

* ja: update Ch2 

as per @keiichiw

* ja: fix Ch.2.1 

as per @chikoski comments

* ja: fix CI Ch.2.2 

edited directly on ja.po instead of poedit, as copy&paste in the tool auto-converted
2023-06-06 15:44:01 +09:00
63d11b1240 zh-TW: translation for src/generics/methods.md ()
* zh-Hant: translation for src/generics/methods.md

* zh-Hant: update translation for src/generics/methods.md

* Merge remote-tracking branch 'upstream/main' into src/generics/methods.md

* update translation for src/generics/methods.md

Part of .
2023-06-06 14:45:57 +09:00
b1c1c04626 zh-TW: translation for src/generics/monomorphization.md ()
* zh-Hant: translation for src/generics/monomorphization.md

* zh-TW: update translation for src/generics/monomorphization.md
2023-06-06 10:36:47 +09:00
7257052f0c Minor fixes in async () 2023-06-05 17:12:00 +01:00
6f1afdb36b ru: Add @baltuky to CODEOWNERS ()
Add @baltuky to CODEOWNERS
2023-06-05 17:38:40 +02:00
c0138a424f zh-CN: Translation for src/why-rust/runtime.md ()
* zh-CN: Translation for src/why-rust/runtime.md

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-06-05 01:20:22 +00:00
323114c969 zh-Hans: Translation for src/why-rust/modern.md ()
* zh-Hans: Translation for src/why-rust/modern.md

* remove redundant space

* Apply suggestions from code review

Co-authored-by: wnghl <wnghilin@gmail.com>

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-06-05 09:15:28 +08:00
6e16928ee3 zh-Hans: translate src/basic-syntax/rustdoc.md ()
* zh-Hans: translate src/basic-syntax/rustdoc.md

---------

Co-authored-by: suetfei <89482184+suetfei@users.noreply.github.com>
2023-06-05 09:09:00 +08:00
8d33b7c7ac bn: Fixed and removed some translations. () 2023-06-04 18:03:10 +01:00