-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
base: main
Are you sure you want to change the base?
vi: translate Default trait #2447
Conversation
There was a problem hiding this 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.
There was a problem hiding this 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 " |
There was a problem hiding this comment.
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 " |
There was a problem hiding this comment.
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".
Translate the
Default
chapter of thestd-trait
section to Vietnamese