1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-15 22:37:28 +02:00
Commit Graph

41 Commits

Author SHA1 Message Date
Qinglin
430d76ba35
zh-CN: translate android/aidl/changing.md (#1087)
Part of #324
2023-08-30 22:34:23 +02:00
Qinglin
8edb95ef93
zh-CN: translate android/aidl/implementation.md (#1085)
Part of #324
2023-08-30 22:34:07 +02:00
iGmainC
63ca76ac3c
zh-CN: Update Simplified Chinese Translation (#1134) 2023-08-29 08:21:04 +00:00
Martin Geisler
14a2044aa0
zh-CN: normalize with mdbook-i18n-helpers 0.2.2 (#1097)
Before, po/zh-CN.po had these statistics:

693 translated messages, 90 fuzzy translations, 998 untranslated
messages.

Afterwards, the statistics for po/zh-CN.po is:

1079 translated messages, 121 fuzzy translations, 1267 untranslated
messages.

The number of translated messages changed from 39% to 44%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
2023-08-23 11:19:51 -07:00
Martin Geisler
d5822d2f70
zh-CN: translate std (#962)
Part of #324.

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
Co-authored-by: Qinglin <prosixe@gmail.com>
2023-08-17 10:35:13 -07:00
Martin Geisler
bfccc5ce8b
zh-CN: translate traits (#961)
Part of #324.

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-08-17 10:34:01 -07:00
Qinglin
02f3c6e8eb
zh-CN: translate android/build-rules/library.md (#1077)
Part of #324
2023-08-17 10:14:35 +02:00
Qinglin
27a668b66d
zh-CN: translate android/build-rules/binary.md (#1072)
Part of #324
2023-08-17 10:14:11 +02:00
Martin Geisler
6dc3a1e013
zh-CN: translate error-handling (#968)
Part of #324.

---------

Co-authored-by: Henri Fontana <henrif75@users.noreply.github.com>
Co-authored-by: wnghl <wnghilin@gmail.com>
2023-08-17 09:26:57 +02:00
Qinglin
945f5ea892
zh-CN: translate android/aidl/server.md && android/aidl/deploy.md (#1086)
Part of #324

---------

Co-authored-by: whd <7058128+superwhd@users.noreply.github.com>
2023-08-17 00:27:57 +00:00
Qinglin
f38b8a1972
zh-CN: translate android/aidl/interface.md (#1078)
Part of #324
2023-08-14 22:21:26 +08:00
Martin Geisler
3ff9e22480
zh-CN: translate generics (#965)
* zh-CN: translate generics

Part of #324.

* Apply suggestions from code review

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

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-08-07 09:24:26 +02:00
Martin Geisler
1afd67b318
zh-CN: translate unsafe (#963)
* zh-CN: translate unsafe

Part of #324.

* Apply suggestions from code review

Co-authored-by: whd <7058128+superwhd@users.noreply.github.com>

---------

Co-authored-by: whd <7058128+superwhd@users.noreply.github.com>
2023-07-26 08:46:35 +00:00
Martin Geisler
c0e79596d4
zh-CN: translate structs (#967)
Merged, thank you!
2023-07-22 10:52:58 -07:00
wnghl
e33ed49d74
zh-CN: translation for src/basic-syntax/string-slices.md (#767) 2023-07-19 12:52:42 -04:00
Martin Geisler
a11d3afe8c
zh-CN: translate testing (#970)
Part of #324.
2023-07-19 09:29:42 +02:00
Martin Geisler
4f84a7e505
zh-CN: translate running-the-course (#861)
* zh-CN: translate running-the-course

Part of #324.

* Apply suggestions from code review

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

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-07-12 12:04:48 +02:00
Doris-Ge
365d7dc62a
zh-CN: translate basic-syntax/static-and-const.md (#877)
* zh-CN: translate basic-syntax/static-and-const.md

* Fix build error

* Update po/zh-CN.po to commit suggestions

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

---------

Co-authored-by: Anlun Xu <anlunx@google.com>
2023-07-11 10:30:05 -07:00
Martin Geisler
fe8c374d3b
zh-CN: translate memory-management (#862)
* zh-CN: translate memory-management

Part of #324.

* Apply suggestions from code review

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

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-07-03 17:46:48 +08:00
Martin Geisler
b83dd9a1f9
zh-CN: translate ownership (#868)
Part of #324.
2023-06-28 09:11:39 +00:00
Martin Geisler
fe40ef54e5
zh-CN: translate cargo (#870)
* zh-CN: translate cargo

Part of #324.

* Apply suggestions from code review

Co-authored-by: Abner Chou <zhcjtht@hotmail.com>

---------

Co-authored-by: Abner Chou <zhcjtht@hotmail.com>
2023-06-28 09:01:28 +00:00
Martin Geisler
a2ff653d84
zh-CN: translate credits (#867)
Part of #324.
2023-06-28 09:17:53 +02:00
Martin Geisler
86a4bb4f89
zh-CN: translate enums (#869)
Part of #324.
2023-06-28 09:17:36 +02:00
Martin Geisler
3e26c0feed
zh-CN: translate control-flow (#866)
Part of #324.
2023-06-28 09:15:18 +02:00
Zhang Rui
f7d969787b
zh-CN: translate src/basic-syntax/variables.md, src/basic-syntax/type-inference.md (#796) (#841)
* zh-CN: translate src/basic-syntax/variables.md, src/basic-syntax/type-inference.md and some words in SUMMARY.md (#796)

* zh-CN: translate src/basic-syntax/variables.md, src/basic-syntax/type-inference.md and some words in SUMMARY.md

* Use "类型推导" for "Type Inference"

* Update translation in src/basic-syntax/type-inference.md

Co-authored-by: whd <7058128+superwhd@users.noreply.github.com>

* Update translation in src/basic-syntax/variables.md

Co-authored-by: whd <7058128+superwhd@users.noreply.github.com>

* Update translation in src/basic-syntax/type-inference.md

* Add newlines inside translation at src/basic-syntax/type-inference.md:28

* Revert "Update translation in src/basic-syntax/type-inference.md"

This reverts commit 5119474c1c.

* zh-CN: use `#, fuzzy` instead of FIXME comment in basic-syntax/type-inference.md

---------

Co-authored-by: Zhang Rui <me@zhrichard.me>
Co-authored-by: whd <7058128+superwhd@users.noreply.github.com>
2023-06-27 12:55:35 -04:00
wnghl
933abb6596
zh-CN: translate src/pattern-matching/destructuring-arrays.md (#834) 2023-06-27 17:49:34 +08:00
HangDu
d5e460fddd
zh-CN: Translation for src/exercises/day-2/afternoon.md (#875)
Co-authored-by: Hang Du <hhangdu@google.com>
2023-06-25 09:58:13 +08:00
Anlun Xu
78a7f19e34
zh-CN: Add translation for pattern-matching.md (#821)
* [zh-CN] Add translation for pattern-matching.md

* Update po/zh-CN.po

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

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-06-20 08:54:11 +08:00
Doris-Ge
935456fccb
zh-CN: Translation for src/basic-syntax/scopes-shadowing.md (#793)
* zh-CN: Translation for src/basic-syntax/scopes-shadowing.md

* Change the translation for shadowing from 遮蔽 to 隐藏

* Address superwhd's comments
2023-06-15 09:28:39 +08:00
HangDu
9127253adf
zh-CN: translate src/welcome-day-2.md (#817)
Co-authored-by: Hang Du <hhangdu@google.com>
2023-06-14 17:34:07 +08:00
Ke Xu
bc031361ae
zh-CN: translate src/welcome-day-1.md (#805)
* 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
Martin Geisler
02dea6bd28
zh-CN: Translate Concurrency morning (#785)
* 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
Yulin Shen
c878ecd7a8
zh-CN: Translation for src/exercises/day-2/morning.md (#806) 2023-06-14 08:57:15 +08:00
Yulin Shen
c948186fc6
zh-CN: Translate for src/exercises/day-2/health-statistics.md (#807) 2023-06-14 08:56:21 +08:00
jasminewu229
6880671ba4
zh-CN: Translate src/android.md, src/android/build-rules.md, src/android/setup.md (#728)
* 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
wnghl
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
Yulin Shen
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
Yulin Shen
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
wnghl
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
wnghl
67a21cf2eb
zh-CN: fix display error in hello-world.md (#754) 2023-06-03 14:10:39 +08:00
wnghl
23c569ca6f
zh-CN: rename zh-Hans.po to zh-CN.po (#746) 2023-06-01 23:09:22 +08:00