mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-18 05:37:52 +02:00
zh-CN: translate src/welcome-day-2.md (#817)
Co-authored-by: Hang Du <hhangdu@google.com>
This commit is contained in:
parent
0e09a1c569
commit
9127253adf
17
po/zh-CN.po
17
po/zh-CN.po
@ -5058,11 +5058,11 @@ msgstr ""
|
||||
|
||||
#: src/welcome-day-2.md:1
|
||||
msgid "# Welcome to Day 2"
|
||||
msgstr ""
|
||||
msgstr "# 欢迎来到第二天"
|
||||
|
||||
#: src/welcome-day-2.md:3
|
||||
msgid "Now that we have seen a fair amount of Rust, we will continue with:"
|
||||
msgstr ""
|
||||
msgstr "现在我们已经了解了相当多的Rust,接下来我们将学习:"
|
||||
|
||||
#: src/welcome-day-2.md:5
|
||||
msgid ""
|
||||
@ -5080,6 +5080,19 @@ msgid ""
|
||||
"\n"
|
||||
"* Modules: visibility, paths, and filesystem hierarchy."
|
||||
msgstr ""
|
||||
"* 结构体(struct), 枚举(enum), 方法(method)。\n"
|
||||
"\n"
|
||||
"* 模式匹配: 解构枚举, 结构体和数组(array)。\n"
|
||||
"\n"
|
||||
"* 控制流的构造: `if`, `if let`, `while`, `while let`, `break`, "
|
||||
"和\n"
|
||||
" `continue`。\n"
|
||||
"\n"
|
||||
"* 标准库: `字符串(String)`, `选项(Option)` 和 `结果(Result)`, `动态数组(Vec)`, `散列表(HashMap)`, "
|
||||
"`引用计数(Rc)`\n"
|
||||
" 和 `共享引用计数(Arc)`。\n"
|
||||
"\n"
|
||||
"* 模块: 可见性, 路径和文件系统的层次结构。"
|
||||
|
||||
#: src/structs.md:1
|
||||
msgid "# Structs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user