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

1418 Commits

Author SHA1 Message Date
King
99e60e35bf
zh-CN: Fix miss htts for https (#1443)
htts => https
2023-11-03 10:34:19 +00:00
javad-jafari
0f7ec3f507
Update CODEOWNERS (#1440) 2023-11-02 18:17:48 +01:00
Phosphorus Moscu
890ae517d8
es: fix some problems with the Spanish translation (#1333)
Hi! I was checking the book and I found little things to fix.
2023-10-31 11:46:58 +00:00
Martin Geisler
3c159d8af0
Add instructions for how to use build_all.sh (#1434) 2023-10-31 09:00:02 +01:00
Amin Sharifi
8f42baf968
Fixture code and footer content tags in rtl content (#1433)
Part of #671 
and #1413

In the code part of content which always is in english and must be
`text-align: left` but with `<html ... dir=rtl >` cuz conflict.

---------

Co-authored-by: Kaveh <hamidrkp@riseup.net>
2023-10-31 07:37:04 +01:00
Javier Sorribes-Camargo
9d2043e17f
Step down from codeowners (#1438)
I don't have bandwidth and I'm slowing PRs down.
2023-10-30 11:44:41 -07:00
blkcor
9f56149181
zh-CN: fix typo (#1437)
There is a typo in `while let` loops chapter
2023-10-29 22:06:08 +00:00
Gourav
bcd7cecdaa
Unified Formatting/Preparation (#1431)
Closes issue #1426

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-10-29 22:02:16 +00:00
Amin Sharifi
77ab1ab6c4
fa: Add transltion of Part 1,2 of Book (#1432)
Part of #671
Summary of changes:

- Translate Part 1,2
- Recheck `#, fuzzy` lines and synced their translations

Co-authored-by: Kaveh <hamidrkp@riseup.net>
2023-10-27 01:06:45 +03:30
Kaveh
d7ed3c59e9
Add usernames for Persian translation reviewers (#1375)
Hello,
This list is still a Draft, will be ready in a day or two.

---------

Co-authored-by: Hamid R. K. Pisghadam <kaveh@riseup.net>
Co-authored-by: Henri F <henrif75@users.noreply.github.com>
2023-10-25 19:08:56 -07:00
Eric Ngoiya
2d68007f98
Update README.md (#1397)
Add instructions to install Rust.

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-10-25 18:23:21 +00:00
Henri F
2f0c9dc053
Add Spanish reviewer to CODEOWNERS (#1422) 2023-10-25 08:10:56 -07:00
justanotheranonymoususer
17f61463f5
Update converting-error-types.md (#1428) 2023-10-25 11:02:34 -04:00
Amin Sharifi
629a5c322c
fa: Adding Persian translations for sidebar items (#1427)
Part of #671
**Summary of changes:** 
- Persian version of book messages synced to original book
- Translate sidebar menu
* I just translate and double check until `# src/SUMMARY.md:333` part*
2023-10-25 17:41:54 +03:30
Alex Leoshko
7bb7a48b0b
uk: adding cloud-translate translations to speed up Ukrainian translation (#1425)
Updated translated version of `uk.po` file using `cloud-translate`, for
further editing
2023-10-25 13:43:57 +01:00
Ivan De Marino
0e8aeabe8a
Refreshed existing IT translations, and added a few more (#1391)
Still a long way to go.

Also added a small QoL improvement to the translators instructions.

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-10-25 10:30:58 +01:00
Qinglin
1cf0a86676
zh-CN: translate android/interoperability/with-c.md (#1399)
Part of #324
2023-10-24 22:11:45 -07:00
Qinglin
33867c5752
zh-CN: translate android/interoperability/with-c/bindgen.md (#1400)
Part of #324
2023-10-24 22:11:35 -07:00
Qinglin
dd16f8755c
zh-CN: translate android/interoperability/with-c/rust.md (#1401)
Part of #324


**The translation of "mangling" refers to the Chinese translation on
Wikipedia (https://en.wikipedia.org/wiki/Name_mangling#Rust).**
2023-10-24 22:08:13 -07:00
Rean Fei
42c210b240
zh-CN: Fix usage errors of some punctuations and translate some texts (#1402)
I formatted the translation file on WSL. Worried about being failed
again, so I just improved some translations.

Update: Things seems very nice and I will continue my translating work.
Translation contributors who use Windows OS must use WSL instead of
using `dprint fmt` command on Windows itself, until the resolution that
can make the experience on Windows equal to Linux emerged.

To learn more about that, see this issue: #1394 .

---------

Co-authored-by: Emma Li <liyu1204@gmail.com>
2023-10-24 22:07:41 -07:00
Qinglin
b604828e2a
zh-CN: translate android/interoperability/cpp.md (#1406)
Part of #324
2023-10-24 22:07:13 -07:00
Qinglin
8ec6ff3298
zh-CN: translate exercises/android/morning.md (#1407)
Part of #324
2023-10-24 22:05:53 -07:00
Qinglin
fd3c8f2f81
zh-CN: translate android/interoperability/java.md (#1408)
Part of #324
2023-10-24 22:05:20 -07:00
Martin Geisler
e6e4d50eef
Be more precise about printing in compound-types.md (#1421)
Fixes #1412.
2023-10-24 11:32:34 +02:00
justanotheranonymoususer
77c55ef10e
Update hashmap.md (#1420)
Remove extra space
2023-10-24 08:01:21 +02:00
Chayim Refael Friedman
3ba21370bb
Simpler character counting (#1419)
`str.chars().map(|_| 1).sum()` is just `str.chars().count()`.
2023-10-23 20:36:26 +00:00
Gourav
ecd2bc863e
Updated about nc and telnet in task.md (#1382)
Updated about `nc` and `telnet` with their documentation link provided
as well
Closes issue #1349
2023-10-23 18:10:26 +00:00
Henri F
ce27799096
Fixes drop-down link to the correct zh-TW translation (#1416) 2023-10-23 19:34:50 +02:00
Henri F
88edcd02e7
Adds Chinese Traditional to the language drop-down (#1411)
Graduates the Chinese Traditional translation to the language drop-down
selector.
Part of Chinese (Traditional) translation #684.

File stats (Rust Fundamentals):

```
msggrep -v --location=src/{exercises/,}{android,bare-metal,concurrency,async}{.md,"/*","/*/*","/*/*/*"} po/zh-CN.po | msgfmt -o /dev/null --statistics -

1315 translated messages, 146 fuzzy translations, 149 untranslated messages.
```
2023-10-23 09:20:15 -07:00
Martin Geisler
cf798ae50e
Fix malformed SUMMARY.md entries (#1410)
These extra `)` were ignored by the `mdbook` parser, but they began
showing up in my testing of
https://github.com/google/mdbook-i18n-helpers/pull/100.
2023-10-23 09:26:15 -04:00
AdrienBaudemont
266a3d5c9f
fr: translation of the "course structure" page and minor edits. (#1398)
fr: translation of the "course structure" page and minor edits.
2023-10-23 09:13:31 -04:00
Henri F
696f8e1e58
zh-TW: Day 1 Translations (#1322)
Professional translations for missing day 1 entries #684

---------

Co-authored-by: Victor Hsieh <victorhsieh@gmail.com>
2023-10-22 15:16:04 -07:00
Henri F
9b5bff2133
zh-TW: Day 2 Translations (#1323)
Professional translations for missing day 2 entries #684


---------

Co-authored-by: Martin Geisler <martin@geisler.net>
Co-authored-by: Emma Li <liyu1204@gmail.com>
2023-10-22 15:05:29 -07:00
Qinglin
b155ffd40c
Adds nodmp as a zh-CN translator (#1409) 2023-10-22 15:04:01 -07:00
Henri F
e44efd97c5
Update CONTRIBUTING.md with MacOS installation instructions (#1395) 2023-10-22 14:59:03 -07:00
Martin Geisler
a2bb4dab11
Rename action to check msgid changes (#1365)
The focus of the action is to check and validate changes to the `msgid`
fields, not to totally prevent such changes.

This also makes the `paths` a little more precise: we only care about
changes to `po/*.po`.
2023-10-22 16:37:34 +02:00
justanotheranonymoususer
0c128d9357
Update std.md (#1405)
Fix typo
2023-10-22 16:29:35 +02:00
justanotheranonymoususer
1dfb82c085
Update structs.md (#1403)
Fix markdown
2023-10-22 16:24:04 +02:00
justanotheranonymoususer
c3abb35837
Update tuple-structs.md (#1404)
Fix markdown
2023-10-22 16:13:39 +02:00
javad-jafari
09b565f62b
feat:add fa line of tans (#1396)
Co-authored-by: danny <danykhosravi@gmail.com>
Co-authored-by: Martin Geisler <martin@geisler.net>
2023-10-21 12:08:02 +03:30
Henri F
1c7dfb5b49
zh-TW: Day 3 Translations (#1324)
Professional translations for missing day 3 entries #684
2023-10-20 09:52:44 -07:00
Martin Geisler
0f0d46bb93
Add dprint instructions to CONTRIBUTING.md (#1389) 2023-10-20 13:52:36 +02:00
Henri F
9637e3c607
Delete some inactive reviewers from CODEOWNERS (#1386)
These users don't have write permission to the repository, therefore
they haven't done any review so far.
2023-10-19 09:19:12 -07:00
Henri F
b535ddacab
Adds entry for fa.po (Persian) to CODEOWNERS, and adds one reviewer. (#1385) 2023-10-19 09:10:35 -07:00
liruifengv
e9c61b91c1
zh-CN: Update Index page (#1388) 2023-10-19 14:11:21 +02:00
Martin Geisler
1357f7ac57
Add comments and license text to prevent-msgid.py (#1364) 2023-10-19 09:31:06 +00:00
迷渡
a06d9855ad
zh-CN: fix link (#1387) 2023-10-18 21:41:41 -05:00
dependabot[bot]
dd4460af06
Bump rustix from 0.38.15 to 0.38.19 (#1384)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.15
to 0.38.19.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3a53dfe16c"><code>3a53dfe</code></a>
chore: Release rustix version 0.38.19</li>
<li><a
href="55cbe8839c"><code>55cbe88</code></a>
Fixes for <code>Dir</code> on macOS, FreeBSD, and WASI.</li>
<li><a
href="31fd98ca72"><code>31fd98c</code></a>
Merge pull request from GHSA-c827-hfw6-qwvm</li>
<li><a
href="4bb2f4bbcd"><code>4bb2f4b</code></a>
Add <code>mlockall</code> and <code>munlockall</code> (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/872">#872</a>)</li>
<li><a
href="d012bcf896"><code>d012bcf</code></a>
Fixes needed by io_uring. (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/873">#873</a>)</li>
<li><a
href="5e5c0460cc"><code>5e5c046</code></a>
Add a test for <code>get_socket_nosigpipe</code>. (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/874">#874</a>)</li>
<li><a
href="1a9d12963d"><code>1a9d129</code></a>
chore: Release rustix version 0.38.18</li>
<li><a
href="112c268cd7"><code>112c268</code></a>
io-uring API updates. (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/871">#871</a>)</li>
<li><a
href="0c227041a7"><code>0c22704</code></a>
Provide {get,set}_socket_nosigpipe on NetBSD and DragonFly BSD (<a
href="https://redirect.github.com/bytecodealliance/rustix/issues/870">#870</a>)</li>
<li><a
href="a00dbd0f53"><code>a00dbd0</code></a>
chore: Release rustix version 0.38.17</li>
<li>Additional commits viewable in <a
href="https://github.com/bytecodealliance/rustix/compare/v0.38.15...v0.38.19">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustix&package-manager=cargo&previous-version=0.38.15&new-version=0.38.19)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/google/comprehensive-rust/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 16:49:15 -04:00
Martin Geisler
c4ce2ab8a9
Format Python files with YAPF (#1360) 2023-10-18 13:56:05 -04:00
justanotheranonymoususer
0022898ada
Update pattern-matching.md (#1374)
Typo
2023-10-18 08:40:13 +02:00