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

2249 Commits

Author SHA1 Message Date
d856820869 id: normalize with mdbook-i18n-helpers 0.2.2 (#1106)
Before, po/id.po had these statistics:

32 translated messages, 4 fuzzy translations, 1745 untranslated
messages.

Afterwards, the statistics for po/id.po is:

32 translated messages, 3 fuzzy translations, 2432 untranslated
messages.

The number of translated messages changed from 2% to 1%.

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:13:08 -07:00
b2aaad0434 fr: normalize with mdbook-i18n-helpers 0.2.2 (#1107)
Before, po/fr.po had these statistics:

312 translated messages, 984 fuzzy translations, 485 untranslated
messages.

Afterwards, the statistics for po/fr.po is:

343 translated messages, 1363 fuzzy translations, 761 untranslated
messages.

The number of translated messages changed from 18% to 14%.

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:12:40 -07:00
a0f2499bb8 fa: normalize with mdbook-i18n-helpers 0.2.2 (#1108)
Before, po/fa.po had these statistics:

300 translated messages, 4 fuzzy translations, 1477 untranslated
messages.

Afterwards, the statistics for po/fa.po is:

291 translated messages, 6 fuzzy translations, 2170 untranslated
messages.

The number of translated messages changed from 17% to 12%.

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:12:12 -07:00
5ae9fdce6d es: normalize with mdbook-i18n-helpers 0.2.2 (#1109)
Before, po/es.po had these statistics:

386 translated messages, 133 fuzzy translations, 1262 untranslated
messages.

Afterwards, the statistics for po/es.po is:

585 translated messages, 142 fuzzy translations, 1740 untranslated
messages.

The number of translated messages changed from 22% to 24%.

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:11:08 -07:00
a6994a68f9 ru: normalize with mdbook-i18n-helpers 0.2.2 (#1110)
Before, po/ru.po had these statistics:

217 translated messages, 35 fuzzy translations, 1529 untranslated
messages.

Afterwards, the statistics for po/ru.po is:

374 translated messages, 47 fuzzy translations, 2046 untranslated
messages.

The number of translated messages changed from 12% to 15%.

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:10:36 -07:00
cc9a672baf da: normalize with mdbook-i18n-helpers 0.2.2 (#1111)
Before, po/da.po had these statistics:

279 translated messages, 26 fuzzy translations, 1476 untranslated
messages.

Afterwards, the statistics for po/da.po is:

244 translated messages, 22 fuzzy translations, 2201 untranslated
messages.

The number of translated messages changed from 16% to 10%.

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:10:04 -07:00
7b97f5bcc6 bn: normalize with mdbook-i18n-helpers 0.2.2 (#1112)
Before, po/bn.po had these statistics:

328 translated messages, 35 fuzzy translations, 1418 untranslated
messages.

Afterwards, the statistics for po/bn.po is:

351 translated messages, 42 fuzzy translations, 2074 untranslated
messages.

The number of translated messages changed from 18% to 14%.

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:09:33 -07:00
2dda32e130 el: normalize with mdbook-i18n-helpers 0.2.2 (#1113)
Before, po/el.po had these statistics:

227 translated messages, 846 fuzzy translations, 708 untranslated
messages.

Afterwards, the statistics for po/el.po is:

236 translated messages, 992 fuzzy translations, 1239 untranslated
messages.

The number of translated messages changed from 13% to 10%.

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:07:08 -07:00
b6d51a7f22 Update mdbook-i18n-helpers to latest version (#1115)
I have created PRs to normalize all PO files to the new version of
mdbook-i18n-helpers. Simultaneously, we need to update the version used
to publish the course.

This is indirectly part of #330.
2023-08-23 12:34:12 -04:00
6370c65684 Update CODEOWNERS to add vzz1x2 as ES reviewer (#1096) 2023-08-23 15:56:47 +00:00
40b9a1fc2c Update for-loops.md to remove misleading sentence (#1094)
Drops the comment about usage in the other loop. It's not related to the
focus on copy semantics, and so we want to eliminate that possible
confusion.

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-08-23 14:10:24 +00:00
b98d09f3d7 ko: normalize with mdbook-i18n-helpers 0.2.2 (#1102)
Before, po/ko.po had these statistics:

1323 translated messages, 231 fuzzy translations, 227 untranslated
messages.

Afterwards, the statistics for po/ko.po is:

1898 translated messages, 259 fuzzy translations, 310 untranslated
messages.

The number of translated messages changed from 74% to 77%.

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 23:05:44 +09:00
44ef9f0113 zh-TW: normalize with mdbook-i18n-helpers 0.2.2 (#1100)
Before, po/zh-TW.po had these statistics:

492 translated messages, 55 fuzzy translations, 1234 untranslated
messages.

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

776 translated messages, 67 fuzzy translations, 1624 untranslated
messages.

The number of translated messages changed from 28% to 31%.

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 06:38:23 -07:00
5432a613f9 pt-BR: normalize with mdbook-i18n-helpers 0.2.2 (#1104)
Before, po/pt-BR.po had these statistics:

1272 translated messages, 93 fuzzy translations, 416 untranslated
messages.

Afterwards, the statistics for po/pt-BR.po is:

1703 translated messages, 114 fuzzy translations, 650 untranslated
messages.

The number of translated messages changed from 71% to 69%.

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 14:56:48 +02:00
bbd2cfa4db it: normalize with mdbook-i18n-helpers 0.2.2 (#1105)
Before, po/it.po had these statistics:

447 translated messages, 927 fuzzy translations, 407 untranslated
messages.

Afterwards, the statistics for po/it.po is:

583 translated messages, 1288 fuzzy translations, 596 untranslated
messages.

The number of translated messages changed from 25% to 24%.

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 13:56:44 +02:00
cc8821b990 de: normalize with mdbook-i18n-helpers 0.2.2 (#1114)
Before, po/de.po had these statistics:

410 translated messages, 697 fuzzy translations, 674 untranslated
messages.

Afterwards, the statistics for po/de.po is:

556 translated messages, 814 fuzzy translations, 1097 untranslated
messages.

The number of translated messages stayed at 23%.

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:50:00 +00:00
10f03e370d Fix dprint comments in STYLE.md (#1092)
From #1091, thanks!
2023-08-21 12:26:13 -04:00
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
bfccc5ce8b zh-CN: translate traits (#961)
Part of #324.

---------

Co-authored-by: wnghl <wnghilin@gmail.com>
2023-08-17 10:34:01 -07:00
8190fd2b5e zh-TW: Translate async.md and async/async-await.md (#765)
Part of #684.

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
Co-authored-by: Addison Luh <hueich@users.noreply.github.com>
2023-08-17 10:16:39 +02:00
02f3c6e8eb zh-CN: translate android/build-rules/library.md (#1077)
Part of #324
2023-08-17 10:14:35 +02:00
27a668b66d zh-CN: translate android/build-rules/binary.md (#1072)
Part of #324
2023-08-17 10:14:11 +02:00
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
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
25d4281992 Iterate over array ref instead of array. (#1081)
This revises the example to iterate over `&array` to dodge a few issues.
2023-08-15 12:50:18 +00:00
52284c7d13 zh-TW: Translate android/build-rules.md (#824)
* zh-TW: Translate android/build-rules.md

* Apply suggestions from code review

Co-authored-by: Victor Hsieh <victorhsieh@gmail.com>

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
Co-authored-by: Victor Hsieh <victorhsieh@gmail.com>
2023-08-14 18:02:48 +00:00
f38b8a1972 zh-CN: translate android/aidl/interface.md (#1078)
Part of #324
2023-08-14 22:21:26 +08:00
77008687f2 zh-TW: Translation for src/android/aidl/changing.md (#803)
* add translation for android/aidl/changing.md

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

* addressing comments

---------

Co-authored-by: Addison Luh <hueich@users.noreply.github.com>
2023-08-14 06:16:05 +00:00
8b873a850d Fixed Cell link (#1076) 2023-08-14 08:14:05 +02:00
a166ccfdb1 Fixed TRANSLATIONS.md link (#1071) 2023-08-13 13:37:38 +00:00
7e08c7b157 Mention backwards compatibility (#1068)
This should allow us to keep the version numbers unchanged for a
while.

Fixes #333.
2023-08-13 15:25:25 +02:00
cd5705674a Remove confusing text in variables.md (#1070)
We have not yet talked about copy/move here, so the notes were confusing.

Fixes #519.
2023-08-13 15:24:57 +02:00
2a1ba6eeff zh-TW: replace "類型" with "型別" (#1069)
Fixes #1021.
2023-08-11 12:29:38 -07:00
2e92da7acd Update mdbook to 0.4.34 (#1066)
I also updated `book.js` and `index.hbs` to the latest versions while
keeping our local modifications.

I tested this locally with `mdbook serve` for both English and
Brazilian Portuguese and everything seems to work fine.
2023-08-11 15:40:01 +02:00
e596b80c03 Tweaks from student feedback (#1061)
* help students with the luhn exercise

* mention method-specific types in speaker notes

* Update src/exercises/day-2/luhn.md

Co-authored-by: Martin Geisler <martin@geisler.net>

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-08-11 12:40:05 +00:00
8956fab9bb Put Ref/Cell on its own slide (#1062) 2023-08-11 08:39:30 -04:00
debaca9f7f Add speaker notes for CXX page (#1060)
While we don’t have slides showing how to use the crate (#823), we can
at least explain at a high level what the instructor should focus on
when walking through the tutorial.
2023-08-11 13:00:10 +02:00
f79e6726cc Add that the ? operator works with From<Err> (#1059) 2023-08-09 16:48:15 +02:00
737cb9a496 ja: Translate chapter 48 (Channels) (#1053)
* ja: draft of Ch. 48 left old EN lines, google#652

* ja: reflect review by @keiichiw, Ch. 48 google#652
2023-08-09 18:06:51 +09:00
c674d392a4 fa: Add Persian/Farsi language (#1042)
* A partial translation into Farsi
2023-08-09 10:01:02 +01:00
981360c19c ko: refresh translation for bare-metal (#928)
Part of #925.

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-08-09 08:28:51 +00:00
17c77d398a Update course length in hello-world.md (#1055)
The fundamentals part is only three days long now
2023-08-07 21:36:54 +02:00
8b330b7308 ja: refresh original EN content, google#652 (#1054) 2023-08-07 21:31:13 +09:00
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
c23da457ae Expand "iff" to "if and only if" (#1051)
There has been a few PRs which wanted to change "iff" to "if". Expanding it should help and avoid math-heavy jargon.
2023-08-04 12:52:36 +01:00
c7240f604f Expand "iff" to "if and only if" in pl031.rs (#1052)
* Expand "if" to "if and only if" in pl031.rs

Similar to #1051.
2023-08-04 11:04:02 +01:00
5c42b6c816 zh-TW: Align memory allocation translations (#1022)
According to https://rust-lang.tw/book-tw/ch04-01-what-is-ownership.html

Allocation => 配置
Deallocation => 釋放記憶體
Dropped => 被丟棄
2023-08-03 18:10:08 +09:00
560cad93e6 Fixed link (#1044) 2023-08-02 15:39:42 +00:00
b44a6f76c3 Fix print details toggle (#1048)
* Fix print details toggle

* Update speaker-notes.js

Co-authored-by: Martin Geisler <mgeisler@google.com>

---------

Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-08-02 15:42:42 +02:00
f04dd2e87e Update exec plugin to latest version (#1046)
The latest version of `dprint` doesn't work with our old version of the `exec` plugin. This fixes the config based on https://github.com/dprint/dprint/issues/726.
2023-08-02 10:30:43 +01:00