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

225 Commits

Author SHA1 Message Date
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
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
Martin Geisler
2a1ba6eeff
zh-TW: replace "類型" with "型別" (#1069)
Fixes #1021.
2023-08-11 12:29:38 -07:00
Kanta Yamaoka (山岡幹太)
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
Danny Khosravi
c674d392a4
fa: Add Persian/Farsi language (#1042)
* A partial translation into Farsi
2023-08-09 10:01:02 +01:00
Martin Geisler
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
Kanta Yamaoka (山岡幹太)
8b330b7308
ja: refresh original EN content, google#652 (#1054) 2023-08-07 21:31:13 +09: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
Jonathan Hao
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
Martin Geisler
14bfd7b723
zh-TW: translate std (#964)
* zh-TW: translate std

Part of #684.

* Apply suggestions from code review

Co-authored-by: Jonathan Hao <phao@google.com>

* Apply suggestions from code review

* zh-TW: fix PO file syntax

We lost a few double-quotes in the editing process.

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-27 11:47:12 +02:00
Martin Geisler
e364e020cb
zh-TW: fix line breaks in lists (#1036)
* zh-TW: fix line breaks in lists

I looked through the recent PRs for the Taiwanese translations and
found that some lists items had extra line breaks (without the
necessary indentation). This PR should fix the rendering.

Part of #684.

* Apply suggestions from code review

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-27 11:37:54 +02:00
AdrienBaudemont
e1ef954d08
Translation fr (#1037)
* fr: update the translation on the Welcome page.

* fr: Some updates to summary.md entries, also removing a few fuzzy markers where the translation has not changed.
2023-07-27 11:29:10 +02:00
Yauheni Baltukha
d6f727307d
ru: Day 1: Morning translation (#903)
Translate Day 1: Morning
2023-07-26 22:21:31 +02:00
Jonathan Hao
3c6a8201bd
zh-TW: Fix indentation. (#1035) 2023-07-26 12:15:18 -04: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
Henri Fontana
53707c5943
pt-BR: Review / update of Android course (#1017)
* pt-BR: Catches up with latest PRs on the original
EN material

* pt-BR: Review / update of the Android course.
2023-07-25 09:34:05 +01:00
Martin Geisler
707933c617
zh-TW: translate error-handling (#973)
* zh-TW: translate error-handling

Part of #684.

* Update zh-TW.po

Fix msgfmt lint error.

* Apply suggestions from code review

Co-authored-by: Jonathan Hao <phao@google.com>

* zh-TW: remove untranslated `msgstr` entries

* zh-TW: copy code samples as-is

The code can (but doesn’t have to be) translated.

---------

Co-authored-by: Henri Fontana <henrif75@users.noreply.github.com>
Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-24 15:58:09 +00:00
Martin Geisler
34acff339d
zh-TW: translate enums (#865)
* zh-TW: translate enums

Part of #684.

* Apply suggestions from code review

Co-authored-by: Jonathan Hao <phao@google.com>

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-24 15:56:59 +00:00
Martin Geisler
0a09079198
zh-TW: translate memory-management (#872)
* zh-TW: translate memory-management

Part of #684.

* Apply suggestions from code review

Co-authored-by: Jonathan Hao <phao@google.com>

* Update po/zh-TW.po

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-24 15:54:11 +00:00
Martin Geisler
b8d2434719
zh-TW: translate traits (#971)
* zh-TW: translate traits

Part of #684.

* Update zh-TW.po

Fix msgfmt lint error.

* Apply suggestions from code review

Co-authored-by: Jonathan Hao <phao@google.com>

* zh-TW: replace “特徵邊界” with “特徵界限”

* Apply suggestions from code review

Co-authored-by: Jonathan Hao <phao@google.com>

---------

Co-authored-by: Henri Fontana <henrif75@users.noreply.github.com>
Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-24 14:34:49 +00:00
Martin Geisler
c0e79596d4
zh-CN: translate structs (#967)
Merged, thank you!
2023-07-22 10:52:58 -07:00
Henri Fontana
e2038b4897
pt-BR: Catches up with latest PRs on the original EN text (#1008)
pt-BR: Catches up with latest PRs on the original
EN material
2023-07-21 09:39:37 +01:00
Enrico Rivarola
bb6fdeaa09
it: update translation (#974)
* Updating 'it' Translation

- MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' \
    mdbook build -d po
- msgmerge --update po/it.po po/messages.pot

* it: summary

* it: welcome

* it: 'Running the Course'

* it: using cargo

* it: Day 1 - Morning

* it: Fix attempt to resolve errors for the PR integration:

PR run failed: Test, Attempt #2 - it: update translation (9496e96):
https://github.com/google/comprehensive-rust/actions/runs/5544681099

* Minor fixes validated with @detro for PR merge (#974)
2023-07-20 17:59:42 +01:00
Martin Geisler
7bd1bcc99f
zh-TW: translate structs (#969)
* zh-TW: translate structs

Part of #684.

* zh-TW: Apply suggestion to speaker notes about newtypes.

* zh-TW: Apply suggestion to speaker notes about newtypes.

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-19 21:46:41 -07:00
Martin Geisler
2cdbd933f6
zh-TW: translate unsafe (#966)
* zh-TW: translate unsafe

Part of #684.

* zh-TW: Update "read and write"

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-19 21:45:41 -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
c83d164233
zh-TW: translate testing (#972)
* zh-TW: translate testing

Part of #684.

* zh-TW: Apply suggestion on proptest description

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-19 15:58:39 +00:00
Kanta Yamaoka (山岡幹太)
86208e4435
ja: Translate chapter 46&47 (Threads) (#981)
* ja: first draft of Ch. 46&47, google#652

* ja: reflect review by @keiichiw, Ch. 46&47 google#652
2023-07-19 23:47:42 +09:00
Martin Geisler
a11d3afe8c
zh-CN: translate testing (#970)
Part of #324.
2023-07-19 09:29:42 +02:00
Louis Stanko
b8005ee37a
de: Translation until chapter 9.1 (#980)
* reformated de.po

* Apply suggestions from code review

Co-authored-by: ronaldfw <wotzlaw@gmail.com>

---------

Co-authored-by: ronaldfw <wotzlaw@gmail.com>
2023-07-18 13:29:24 -07:00
Henri Fontana
b0380e1f0e
pt-BR: Some updates and fixes (#994)
pt-BR: Some updates and fixes to the
Brazilian Portuguese translation.
2023-07-18 11:10:24 +01:00
Martin Geisler
3568823731
ko: refresh translation for async (#945)
* ko: refresh translation for async

Part of #925.

* Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>

* ko: move translations back to where they belong

Moving them back helps avoid conflicts. The outdated messages can be
cleaned up with `msgmerge` at a later point.

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-18 08:27:13 +00:00
Martin Geisler
0234886c67
ko: refresh translation for error-handling (#948)
* ko: refresh translation for error-handling

Part of #925.

* ko: move translations back to where they belong

Moving them back helps avoid conflicts. The outdated messages can be
cleaned up with `msgmerge` at a later point.
2023-07-18 09:55:58 +02:00
Martin Geisler
ab5988180b
ko: refresh translation for concurrency (#932)
* ko: refresh translation for concurrency

Part of #925.

* ko: move translation back to where it belongs

This is likely outdated, but moving it here helps avoid conflicts. The
outdated paragraph can be cleaned up with `msgmerge` at a later point.
2023-07-17 09:47:44 +00:00
Martin Geisler
d8ffa270aa
ko: refresh translation for android (#934)
* ko: refresh translation for android

Part of #925.

* ko: move translations back to where they belong

Moving them back helps avoid conflicts. The outdated paragraphs can be
cleaned up with `msgmerge` at a later point.
2023-07-17 09:38:50 +00:00
Martin Geisler
45a41b33d9
ko: refresh translation for pattern-matching (#933)
* ko: refresh translation for pattern-matching

Part of #925.

* Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>

* ko: move translation back to where it belongs

This is likely outdated, but moving it here helps avoid conflicts. The
outdated paragraph can be cleaned up with `msgmerge` at a later point.

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-17 09:34:19 +00:00
Martin Geisler
acd1c41f07
ko: refresh translation for generics (#929)
* ko: refresh translation for generics

Part of #925.

* Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>

* ko: move translation back to where it belongs

This paragraph is likely outdated, but moving it here helps avoid
conflicts. The outdated paragraph can be cleaned up with `msgmerge` at
a later point.

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-17 09:28:51 +00:00
Martin Geisler
15f5ced5f9
ko: refresh translation for unsafe (#927)
Part of #925.
2023-07-17 09:06:04 +02:00
Henri Fontana
4d11d59247
pt-BR: Review new fuzzy entries after .po file refresh (#976)
* Added steps to configure Poedit properly

* Small adjustments

* Add link to Poedit

* Fix file formatting

* One. More. dprint. Fix.

* Normalizes pt-BR.po file format through Poedit
with line wrap.

* Fix typo.

* Fix fuzzy entries after .po file reformatting.

* Fix one code sample
2023-07-14 18:34:09 +00:00
Henri Fontana
d891d0bb5e
pt-BR: normalize file formatting (#975)
* Added steps to configure Poedit properly

* Small adjustments

* Add link to Poedit

* Fix file formatting

* One. More. dprint. Fix.

* Normalizes pt-BR.po file format through Poedit
with line wrap.

* Fix typo.
2023-07-14 08:57:05 -07:00
Martin Geisler
e6a28fbeaf
ko: refresh translation for traits (#926)
Part of #925.

Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 13:36:15 +00:00
Martin Geisler
f00711d333
ko: refresh translation for modules (#939)
* ko: refresh translation for modules

Part of #925.

* Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>

* Update po/ko.po

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 10:25:55 +00:00
Martin Geisler
2e45cd95ef
ko: refresh translation for cargo (#943)
Part of #925.
2023-07-14 10:13:53 +00:00
Martin Geisler
c74759b5c1
ko: refresh translation for structs (#936)
* ko: refresh translation for structs

Part of #925.

* Fix missing `\n` po/ko.po
2023-07-14 10:11:40 +00:00