You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-08-15 12:53:13 +02:00
zh-Hans: Translation for basic-syntax.md (#692)
* zh-Hans translation for basic-syntax.md * Update zh-Hans.po by translating "delimited" as "界定" --------- Co-authored-by: Yulin Shen <yulinshen@google.com>
This commit is contained in:
@@ -86,7 +86,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: src/SUMMARY.md:26
|
#: src/SUMMARY.md:26
|
||||||
msgid "Basic Syntax"
|
msgid "Basic Syntax"
|
||||||
msgstr ""
|
msgstr "基本语法"
|
||||||
|
|
||||||
#: src/SUMMARY.md:27
|
#: src/SUMMARY.md:27
|
||||||
msgid "Scalar Types"
|
msgid "Scalar Types"
|
||||||
@@ -2316,11 +2316,11 @@ msgstr ""
|
|||||||
|
|
||||||
#: src/basic-syntax.md:1
|
#: src/basic-syntax.md:1
|
||||||
msgid "# Basic Syntax"
|
msgid "# Basic Syntax"
|
||||||
msgstr ""
|
msgstr "# 基本语法"
|
||||||
|
|
||||||
#: src/basic-syntax.md:3
|
#: src/basic-syntax.md:3
|
||||||
msgid "Much of the Rust syntax will be familiar to you from C, C++ or Java:"
|
msgid "Much of the Rust syntax will be familiar to you from C, C++ or Java:"
|
||||||
msgstr ""
|
msgstr "Rust 的许多语法与 C, C++ 和 Java 的语法相似"
|
||||||
|
|
||||||
#: src/basic-syntax.md:5
|
#: src/basic-syntax.md:5
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -2331,6 +2331,12 @@ msgid ""
|
|||||||
"* Keywords like `if` and `while` work the same.\n"
|
"* Keywords like `if` and `while` work the same.\n"
|
||||||
"* Variable assignment is done with `=`, comparison is done with `==`."
|
"* Variable assignment is done with `=`, comparison is done with `==`."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"* 代码块和作用域都是由花括号来界定的。\n"
|
||||||
|
"* 行内注释以 `//` 起始,块注释使用 `/"
|
||||||
|
"* ...\n"
|
||||||
|
" */` 来界定。\n"
|
||||||
|
"* `if` 和 `while` 等关键词作用与以上语言一致。\n"
|
||||||
|
"* 变量赋值使用 `=`,值之间比较使用 `==`。"
|
||||||
|
|
||||||
#: src/basic-syntax/scalar-types.md:1
|
#: src/basic-syntax/scalar-types.md:1
|
||||||
msgid "# Scalar Types"
|
msgid "# Scalar Types"
|
||||||
|
Reference in New Issue
Block a user