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

1215 Commits

Author SHA1 Message Date
Henri Fontana
f492aa6368
uk: Refresh .po file after mdbook-i18n-helpers 0.2.2 (#1132)
Part of #330, #282, #836
2023-08-26 16:30:50 +02:00
Henri Fontana
a40488965f
tr: Refresh .po file after mdbook-i18n-helpers 0.2.2 (#1131)
Part of #330, #282, #500
2023-08-26 16:30:35 +02:00
Henri Fontana
c49080f148
el: Refresh .po file after mdbook-i18n-helpers 0.2.2 (#1126)
Part of #330, #282, #283
2023-08-26 16:29:43 +02:00
Henri Fontana
00b8b969e0
id: Refresh .po file after mdbook-i18n-helpers 0.2.2 (#1127)
Part of #330, #282, #439
2023-08-26 16:29:24 +02:00
Henri Fontana
2d5a121c0e
bn: Refresh .po file after mdbook-i18n-helpers 0.2.2 (#1124)
Part of #330
2023-08-26 16:26:36 +02:00
Martin Geisler
62dcb323aa
Update deep-dive titles in course structure (#1121)
I'm trying to align on these names for the additional material:

- Rust in Android
- Bare-Metal Rust
- Concurrency in Rust

It's not perfectly reflected everywhere, but this brings us a bit closer
to that.
2023-08-25 18:38:21 +02:00
rastringer
184b406900
pt-BR: Refresing translation via msgmerge #317 (#1120)
Refresing Brazilian Portuguese translation via msgmerge with new version
of mdbook-i18n-helpers and agreed Poedit settings. Issue #317, keeping
pace with #1104.
2023-08-25 09:28:44 -07:00
Frances Wingerter
d3a90373b0
Reorder material on first two days (#913)
- Morning of Day 1 still introduces the language and its high-level
goals/value proposition, and starts with the built-in data types Rust
provides, and how you define a function. 
- Afternoon of Day 1 gets a front loading of the basic control flow
structures in Rust but not the more exotic ones.
- The exercises for day 1 afternoon will be the Luhn algorithm (where we
can match on digits and enums such as `Option`.
- Morning of day 2 still has discussion of memory management.

Fixes #510.

---------

Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-08-25 17:42:31 +02:00
Martin Geisler
e55361233e
da: refresh translation (#1118)
Clean update of the file, no new translations.

Part of #286.
2023-08-24 15:06:27 -07:00
Javier Sorribes-Camargo
e5efc78736
Add @javisorribes as a reviewer for ES (#1090)
Co-authored-by: Dustin J. Mitchell <dustin@v.igoro.us>
Co-authored-by: Henri Fontana <henrif75@users.noreply.github.com>
2023-08-24 14:24:49 -07:00
Martin Geisler
4c73c23a5b
Fix extra indentation in code block (#1119) 2023-08-24 12:00:58 -04: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
98f4296975
tr: normalize with mdbook-i18n-helpers 0.2.2 (#1098)
Before, po/tr.po had these statistics:

164 translated messages, 6 fuzzy translations, 1611 untranslated
messages.

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

165 translated messages, 6 fuzzy translations, 2296 untranslated
messages.

The number of translated messages changed from 9% to 7%.

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:22 -07:00
Martin Geisler
6ed836d9b7
uk: normalize with mdbook-i18n-helpers 0.2.2 (#1099)
Before, po/uk.po had these statistics:

63 translated messages, 15 fuzzy translations, 1703 untranslated
messages.

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

104 translated messages, 19 fuzzy translations, 2344 untranslated
messages.

The number of translated messages stayed at 4%.

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:18:33 -07:00
Martin Geisler
47e809d29e
ja: normalize with mdbook-i18n-helpers 0.2.2 (#1101)
Before, po/ja.po had these statistics:

351 translated messages, 32 fuzzy translations, 1398 untranslated
messages.

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

472 translated messages, 46 fuzzy translations, 1949 untranslated
messages.

The number of translated messages changed from 20% to 19%.

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:18:02 -07:00
Martin Geisler
0f0e29bef3
pl: normalize with mdbook-i18n-helpers 0.2.2 (#1103)
Before, po/pl.po had these statistics:

441 translated messages, 713 fuzzy translations, 627 untranslated
messages.

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

666 translated messages, 882 fuzzy translations, 919 untranslated
messages.

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

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:15:04 -07:00
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Claudio Marcial Peon
6370c65684
Update CODEOWNERS to add vzz1x2 as ES reviewer (#1096) 2023-08-23 15:56:47 +00:00
Danny Yoo
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
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
Martin Geisler
10f03e370d
Fix dprint comments in STYLE.md (#1092)
From #1091, thanks!
2023-08-21 12:26:13 -04: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
hyperbola
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
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
Danny Yoo
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
En-Shuo Hsu
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
Qinglin
f38b8a1972
zh-CN: translate android/aidl/interface.md (#1078)
Part of #324
2023-08-14 22:21:26 +08:00
cafeholyc
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
Vito King
8b873a850d
Fixed Cell link (#1076) 2023-08-14 08:14:05 +02:00
Qinglin
a166ccfdb1
Fixed TRANSLATIONS.md link (#1071) 2023-08-13 13:37:38 +00:00
Martin Geisler
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
Martin Geisler
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
Martin Geisler
2a1ba6eeff
zh-TW: replace "類型" with "型別" (#1069)
Fixes #1021.
2023-08-11 12:29:38 -07:00
Martin Geisler
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