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

211 Commits

Author SHA1 Message Date
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
Martin Geisler
e79fd4f845
ko: refresh translation for testing (#931)
* ko: refresh translation for testing

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 10:09:46 +00:00
Martin Geisler
d052f4402b
ko: refresh translation for basic-syntax (#937)
* ko: refresh translation for basic-syntax

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 12:05:24 +02:00
Martin Geisler
cc171fa7cf
ko: refresh translation for welcome (#946)
* ko: refresh translation for welcome

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 09:59:58 +00:00
Martin Geisler
5715ddc924
ko: refresh translation for control-flow (#935)
* ko: refresh translation for control-flow

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 11:53:58 +02:00
Martin Geisler
062df5c3a8
ko: refresh translation for SUMMARY (#940)
* ko: refresh translation for SUMMARY

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 11:48:19 +02:00
Martin Geisler
47b31e8d7e
ko: refresh translation for credits (#942)
* ko: refresh translation for credits

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 11:47:08 +02:00
Martin Geisler
bded36a214
ko: refresh translation for methods (#949)
Part of #925.
2023-07-14 11:44:54 +02:00
Martin Geisler
2e6219c005
ko: refresh translation for memory-management (#947)
Part of #925.
2023-07-14 11:44:39 +02:00
Martin Geisler
5bb2dc81a0
ko: refresh translation for ownership (#944)
Part of #925.
2023-07-14 11:41:49 +02:00
Martin Geisler
d7da4ad8fe
ko: refresh translation for running-the-course (#941)
* ko: refresh translation for running-the-course

Part of #925.

* Apply suggestions from code review

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

* Rebase and move translations to correct spot

I believe the PO file would benefit from a msgmerge run. I’ll let the
translators do this after merging all outstanding translations.

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 09:21:21 +00:00
Martin Geisler
80823a6f2b
ko: refresh translation for enums (#930)
* ko: refresh translation for enums

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 11:01:27 +02:00
Martin Geisler
9d99e9b082
ko: refresh translation for std (#938)
Part of #925.
2023-07-14 11:01:13 +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
Henri Fontana
666fe8f71d
pt-BR: Day 3 afternoon tune-up - ch. 27-30 (#956)
* pt-BR: Day 3 afternoon tune up, ch. 27-30

* Fix. One. Missing. "/n"
2023-07-12 10:42:31 +01:00