Skip to content
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

vi: translate Default trait #2447

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vohoanglong0107
Copy link
Contributor

Translate the Default chapter of the std-trait section to Vietnamese

Copy link
Collaborator

@qu-ngx qu-ngx left a comment

Choose a reason for hiding this comment

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

I am running some tests on your PR first. I will get back to this PR later when they are done.

Copy link
Collaborator

@qu-ngx qu-ngx left a comment

Choose a reason for hiding this comment

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

I left some comments. Please feel free to correct me if I'm wrong anywhere:)) Tks!


#: src/std-traits/default.md
msgid ""
"It can be implemented directly or it can be derived via `#[derive(Default)]`."
msgstr ""
"Người dùng có thể trực tiếp implement trait này, hoặc derive trait này bằng "
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know this trans holds "trait" as a type but since "implement" type isn't here for this one can we use "ứng dụng" or "áp dụng" instead? Which one do you prefer better and why?


#: src/std-traits/default.md
msgid ""
"A derived implementation will produce a value where all fields are set to "
"their default values."
msgstr ""
"Khi derive trait này, từng miền của giá trị mặc định được tạo ra sẽ được gán "
Copy link
Collaborator

Choose a reason for hiding this comment

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

"derive" will be resolved as well according to the above "implement".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants