Skip to content

vi: Translate Welcome Day 2 and Day 3 #2448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions po/vi.po
Original file line number Diff line number Diff line change
Expand Up @@ -4783,34 +4783,38 @@ msgstr ""

#: src/welcome-day-2.md
msgid "Welcome to Day 2"
msgstr ""
msgstr "Chào mừng tới Ngày 2"

#: src/welcome-day-2.md
msgid ""
"Now that we have seen a fair amount of Rust, today will focus on Rust's type "
"system:"
msgstr ""
"Chúng ta đã có kiến thức tổng quan về Rust, hôm nay sẽ tập trung vào hệ "
"thống kiểu trong Rust:"

#: src/welcome-day-2.md
msgid "Pattern matching: extracting data from structures."
msgstr ""
msgstr "So khớp mẫu (Pattern matching): trích xuất dữ liệu từ các cấu trúc."

#: src/welcome-day-2.md
msgid "Methods: associating functions with types."
msgstr ""
msgstr "Phương thức (Methods): liên kết hàm với các kiểu dữ liệu."

#: src/welcome-day-2.md
msgid "Traits: behaviors shared by multiple types."
msgstr ""
msgstr "Traits: hành vi được chia sẻ bởi nhiều kiểu dữ liệu."

#: src/welcome-day-2.md
msgid "Generics: parameterizing types on other types."
msgstr ""
msgstr "Generics: tham số hóa các kiểu dữ liệu trên các kiểu khác nhau."

#: src/welcome-day-2.md
msgid ""
"Standard library types and traits: a tour of Rust's rich standard library."
msgstr ""
"Các kiểu thư viện chuẩn và traits: sơ bộ về thư viện chuẩn phong phú của "
"Rust."

#: src/welcome-day-2.md src/welcome-day-4-afternoon.md
msgid ""
Expand Down Expand Up @@ -7097,21 +7101,24 @@ msgstr ""

#: src/welcome-day-3.md
msgid "Welcome to Day 3"
msgstr ""
msgstr "Chào mừng tới Ngày 3"

#: src/welcome-day-3.md
msgid "Today, we will cover:"
msgstr ""
msgstr "Chủ đề chúng ta sẽ học là:"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Chủ đề hôm nay chúng ta sẽ học là" or "Chủ đề chúng ta sẽ học hôm nay là:" might be "more" closely translated. If you don't like it I can still resolve it btw.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I've also changed the sentence to make it more natural.


#: src/welcome-day-3.md
msgid ""
"Memory management, lifetimes, and the borrow checker: how Rust ensures "
"memory safety."
msgstr ""
"Quản lý bộ nhớ, vòng đời (lifetimes), và trình kiểm tra mượn (the borrow "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"quá trình kiểm mượn" should be better than "trình kiểm tra mượn". Sounds a bit rough with trình kiểm tra mượn

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds better than the original.

"checker): cách mà Rust đảm bảo được tính an toàn bộ nhớ."

#: src/welcome-day-3.md
msgid "Smart pointers: standard library pointer types."
msgstr ""
"Con trỏ thông minh (smart pointers): các kiểu con trỏ trong thư viện chuẩn."

#: src/welcome-day-3.md
msgid ""
Expand Down