mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-03 01:56:12 +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:
parent
364bb107c0
commit
8171ce00c2
@ -86,7 +86,7 @@ msgstr ""
|
||||
|
||||
#: src/SUMMARY.md:26
|
||||
msgid "Basic Syntax"
|
||||
msgstr ""
|
||||
msgstr "基本语法"
|
||||
|
||||
#: src/SUMMARY.md:27
|
||||
msgid "Scalar Types"
|
||||
@ -2316,11 +2316,11 @@ msgstr ""
|
||||
|
||||
#: src/basic-syntax.md:1
|
||||
msgid "# Basic Syntax"
|
||||
msgstr ""
|
||||
msgstr "# 基本语法"
|
||||
|
||||
#: src/basic-syntax.md:3
|
||||
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
|
||||
msgid ""
|
||||
@ -2331,6 +2331,12 @@ msgid ""
|
||||
"* Keywords like `if` and `while` work the same.\n"
|
||||
"* Variable assignment is done with `=`, comparison is done with `==`."
|
||||
msgstr ""
|
||||
"* 代码块和作用域都是由花括号来界定的。\n"
|
||||
"* 行内注释以 `//` 起始,块注释使用 `/"
|
||||
"* ...\n"
|
||||
" */` 来界定。\n"
|
||||
"* `if` 和 `while` 等关键词作用与以上语言一致。\n"
|
||||
"* 变量赋值使用 `=`,值之间比较使用 `==`。"
|
||||
|
||||
#: src/basic-syntax/scalar-types.md:1
|
||||
msgid "# Scalar Types"
|
||||
|
Loading…
x
Reference in New Issue
Block a user