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

1534 Commits

Author SHA1 Message Date
6bf60dadc8 Add information about async cancellation (#716)
* 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 (#732)
* ja: translate ch.1 #652

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

changed 2 locations

* ja: 3 updates to ch.1 #652

changes suggested by @chikoski

* ja: update to Ch.1 #652

@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 (#735)
* 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 (#752)
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 (#774)
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 (#782)
* 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 (#781)
* 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 (#784)
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 (#783)
Add tjonganthony@ as ID translation owner.
2023-06-08 12:23:28 +00:00
617599e617 id: Working on SUMMARY.md translations (#780) 2023-06-08 10:49:18 +02:00
whd
63252e9d60 Add superwhd to CODEOWNERS of zh-CN.po (#751)
Add superwhd to CODEOWNERS of zh-Hans.po
2023-06-08 08:26:01 +00:00
7b7ffe58cf it: Further misc Italian translations (#776) 2023-06-07 19:37:20 +01:00
d1bccb7753 zh-CN: translate basic-syntax/methods.md and some words in SUMMARY.md (#753)
* 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 (#686) 2023-06-06 09:17:55 +00:00
c0f84d0864 Japanese translation ch 2 #652 (#766)
* ja: Ch.2.0 #652

* ja: Ch2.1 #652

* ja: Ch2.2 #652

* ja: Ch.2.3 #652

* ja: Ch.2.0 fix dupe #652

* ja: update Ch2 #652

as per @keiichiw

* ja: fix Ch.2.1 #652

as per @chikoski comments

* ja: fix CI Ch.2.2 #652

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 (#749)
* 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 #684.
2023-06-06 14:45:57 +09:00
b1c1c04626 zh-TW: translation for src/generics/monomorphization.md (#755)
* 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 (#771) 2023-06-05 17:12:00 +01:00
6f1afdb36b ru: Add @baltuky to CODEOWNERS (#769)
Add @baltuky to CODEOWNERS
2023-06-05 17:38:40 +02:00
c0138a424f zh-CN: Translation for src/why-rust/runtime.md (#750)
* 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 (#744)
* 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 (#736)
* 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. (#740) 2023-06-04 18:03:10 +01:00
efef5d2eb6 ja: Chapter 0 (#729)
* add consistent spacing to table of contents #652

* ja: translate ch.0 welcome section #652
2023-06-03 09:50:08 +02:00
bf5e9f832d Add myself for Russian translations (#764)
add myself for Russian translations
2023-06-03 07:39:27 +00:00
67a21cf2eb zh-CN: fix display error in hello-world.md (#754) 2023-06-03 14:10:39 +08:00
09feef995a Mention symlinks on Windows (#760)
* Mention symlinks on Windows

* Update README.md

Reformatting as `dprint` suggests.

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-06-02 12:46:11 +00:00
41c160260e Rename zh-CN.po in CODEOWNERS (#759) 2023-06-02 12:07:26 +02:00
df121565fd tr: Turkish Translation (#704)
* Completed first day titles po/tr.po

* Completed second day titles po/tr.po

* Completed third day titles po/tr.po

* tr: Completed Android titles
2023-06-02 11:28:42 +02:00
f26b166bdf zh-TW: Update english message from latest source (#758)
Auto-generated from the following commands:

```
MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' \
mdbook build -d po
msgmerge --update po/zh-TW.po po/messages.pot
```
2023-06-02 18:10:35 +09:00
1d730b0e1b Rename zh-Hant.po to zh-TW.po and add CODEOWNER (#757)
- Add myself as the code reviewer for zh-TW, as I am already listed in
  [the
  sheet](https://docs.google.com/spreadsheets/d/1bVSJEUGkI9gcqmmA4va4y-I7LzgQUqNwnZYJsQNMBGE/edit#gid=0) for zh-Hant translation
- As mentioned in
https://github.com/google/comprehensive-rust/issues/684#issuecomment-1571700135, Traditional Chinese are used differently in HK and TW. The intention for zh-Hant.go was to cover zh-TW.
2023-06-02 09:53:41 +02:00
77a791e9e3 zh-Hant: translation for src/generics/data-types.md (#745) 2023-06-02 08:52:37 +08:00
a7bef92b36 Mentioned the XKCD source of the joke in enums.md (#748)
XKCD is under CC BY-NC 2.5 licence, so it is fair to at least link to the source when reusing a joke.
2023-06-01 18:54:41 +00:00
7041fc62bf fr: Updating French translation file, and a few messages. (#743)
Updating french translation file, and a few messages.
2023-06-01 18:54:11 +02:00
23c569ca6f zh-CN: rename zh-Hans.po to zh-CN.po (#746) 2023-06-01 23:09:22 +08:00
0e05175e16 pt-BR: fix Markdown link (#742)
Found while discussing links in #737.

Part of #317.
2023-06-01 13:14:55 +01:00
54ed5a322d zh-Hans: Translation for src/basic-syntax/fnctions.md (#727) 2023-06-01 09:42:09 +08:00
c4ce7b498e zh-Hant: translation for src/generics.md (#723)
* zh-Hant: translation for src/generics.md

* zh-Hant: add English name of Generics in src/generics.md

* zh-Hant: update style of translation in src/generics.md

* zh-Hant: update translation in src/generics.md
2023-06-01 08:03:49 +08:00
02b8243de2 zh-Hans: Add translation for slices.md (#738)
* zh-Hans: Add translation for slices.md

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-05-31 21:51:31 +08:00
ea846407fb pt-BR: Updates Brazilian Portuguese translation to add new content (with cloud-translate) (#687)
* Updates Brazilian Portuguese translation with cloud-translate, will need fine-tuning

* no-wrap version for pt-BR update
2023-05-31 15:06:21 +02:00
ff3fa50597 Update lifetimes.md (#739)
* Update lifetimes.md

Don't think elidied is a word, nothing comes up if I google it. I think omitted works here.

* Update lifetimes.md
2023-05-31 12:55:54 +00:00
5de9cdafea Link to incomplete French, German, and Japanese translations (#730)
These translations all have more than 200 translated messages and
they’ve been updated in the last month.

I suggest we update the list here every few weeks based on input from
the translators: we don’t need a super strict rule here, we just need
interested translators who would like to see their work celebrated.

I suggest we only link completed translations in the language picker
since we have limited space there to differentiate the different
levels of completeness.
2023-05-31 11:55:39 +02:00
fad6f90216 zh-Hans: Translation for src/exercises/day-1/for-loops.md (#719)
* zh-Hans: Translation for src/exercises/day-1/for-loops.md

* Update po/zh-Hans.po

* Update po/zh-Hans.po

* Apply suggestions from code review

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

* Add spaces between chinese characters and symbols

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-05-31 17:32:05 +08:00
2e9e166f65 zh-Hans: Translation for src/why-rust/compile-time.md (#737)
* zh-Hans: Translation for src/why-rust/compile-time.md

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-05-31 17:30:34 +08:00
4f2263a785 Update CODEOWNERS (#734)
Chinese translation reviewer.
2023-05-31 09:01:08 +00:00
5943dfa60e zh-Hans: translate src/basic-syntax/compound-types.md (#708)
Great translation! Thanks!
2023-05-30 22:19:10 -07:00
2d6cfe3641 zh-Hans: Translation for src/why-rust.md (#726)
* zh-Hans: Translation for src/src/why-rust.md

* Apply suggestions from code review

Co-authored-by: suetfei <89482184+suetfei@users.noreply.github.com>

* Fix unescaped quotes and add spaces between chars

---------

Co-authored-by: suetfei <89482184+suetfei@users.noreply.github.com>
2023-05-31 09:44:46 +08:00
98e434d360 zh-Hans: Translate for src/exercises/day-1/morning.md (#709)
zh-Hans: Translate src/exercises/day-1/morning.md
2023-05-31 09:21:22 +08:00
054583f26b zh-Hans: Translation for src/functions-interlude.md (#712)
* zh-Hans: Translation for src/functions-interlude.md

* Update po/zh-Hans.po

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

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-05-31 09:21:03 +08:00
ebbc7501fb zh-Hans: Translation for src/async/async-await.md (#720) 2023-05-31 09:20:15 +08:00