Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 0ce4ecc

Browse files
authored
[i18n] Zh build/smart-contracts/book/ (#947)
* [i18n] Zh build/smart-contracts/book/ * fmt
1 parent 32dce71 commit 0ce4ecc

32 files changed

+7082
-67
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Move 编程语言
2+
3+
## 入门指南
4+
5+
- [模块与脚本](modules-and-scripts.mdx)
6+
- [Move 教程](move-tutorial.mdx)
7+
8+
## 语言版本说明
9+
10+
- [Move 2](move-2.mdx)
11+
12+
## 基本数据类型
13+
14+
- [整数类型](integers.mdx)
15+
- [布尔类型](bool.mdx)
16+
- [地址类型](address.mdx)
17+
- [向量类型](vector.mdx)
18+
- [签名者类型](signer.mdx)
19+
- [引用类型](references.mdx)
20+
- [元组与单元类型](tuples.mdx)
21+
22+
## 基础概念
23+
24+
- [局部变量与作用域](variables.mdx)
25+
- [相等性](equality.mdx)
26+
- [中止与断言](abort-and-assert.mdx)
27+
- [条件语句](conditionals.mdx)
28+
- [循环结构](loops.mdx)
29+
- [函数](functions.mdx)
30+
- [结构体与资源](structs-and-resources.mdx)
31+
- [枚举类型](enums.mdx)
32+
- [常量](constants.mdx)
33+
- [泛型](generics.mdx)
34+
- [类型能力](abilities.mdx)
35+
- [使用与别名](uses.mdx)
36+
- [友元](friends.mdx)
37+
- [包管理](packages.mdx)
38+
- [包升级](package-upgrades.mdx)
39+
- [单元测试](unit-testing.mdx)
40+
41+
## 全局存储
42+
43+
- [全局存储结构](global-storage-structure.mdx)
44+
- [全局存储操作符](global-storage-operators.mdx)
45+
46+
## 参考文档
47+
48+
- [标准库](standard-library.mdx)
49+
- [编码规范](coding-conventions.mdx)
Lines changed: 36 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,115 @@
11
export default {
22
SUMMARY: {
3-
title: "Summary",
4-
href: "/en/build/smart-contracts/book/summary",
3+
title: "Summary 总结",
54
},
65
"move-2": {
7-
title: "Move 2 Release Notes",
8-
href: "/en/build/smart-contracts/book/move-2",
6+
title: "Move 2 Release Notes Move 2 发布说明",
97
},
108
"---getting-started---": {
119
type: "separator",
12-
title: "Getting Started",
10+
title: "Getting Started 入门",
1311
},
1412
"modules-and-scripts": {
15-
title: "Modules and Scripts",
16-
href: "/en/build/smart-contracts/book/modules-and-scripts",
13+
title: "Modules and Scripts 模块与脚本",
1714
},
1815
"move-tutorial": {
19-
title: "Move Tutorial",
20-
href: "/en/build/smart-contracts/book/move-tutorial",
16+
title: "Move Tutorial Move 教程",
2117
},
2218
"---primitive-types---": {
2319
type: "separator",
24-
title: "Primitive Types",
20+
title: "Primitive Types 基本类型",
2521
},
2622
integers: {
27-
title: "Integers",
28-
href: "/en/build/smart-contracts/book/integers",
23+
title: "Integers 整数",
2924
},
3025
bool: {
31-
title: "Bool",
32-
href: "/en/build/smart-contracts/book/bool",
26+
title: "Bool 布尔值",
3327
},
3428
address: {
35-
title: "Address",
36-
href: "/en/build/smart-contracts/book/address",
29+
title: "Address 地址",
3730
},
3831
vector: {
39-
title: "Vector",
40-
href: "/en/build/smart-contracts/book/vector",
32+
title: "Vector 向量",
4133
},
4234
signer: {
43-
title: "Signer",
44-
href: "/en/build/smart-contracts/book/signer",
35+
title: "Signer 签名者",
4536
},
4637
references: {
47-
title: "References",
48-
href: "/en/build/smart-contracts/book/references",
38+
title: "References 引用",
4939
},
5040
tuples: {
51-
title: "Tuples and Unit",
52-
href: "/en/build/smart-contracts/book/tuples",
41+
title: "Tuples and Unit 元组与单元",
5342
},
5443
"---basic-concepts---": {
5544
type: "separator",
56-
title: "Basic Concepts",
45+
title: "Basic Concepts 基础概念",
5746
},
5847
variables: {
59-
title: "Local Variables and Scopes",
60-
href: "/en/build/smart-contracts/book/variables",
48+
title: "Local Variables and Scopes 局部变量与作用域",
6149
},
6250
equality: {
63-
title: "Equality",
64-
href: "/en/build/smart-contracts/book/equality",
51+
title: "Equality 相等性",
6552
},
6653
"abort-and-assert": {
67-
title: "Abort and Assert",
68-
href: "/en/build/smart-contracts/book/abort-and-assert",
54+
title: "Abort and Assert 中止与断言",
6955
},
7056
conditionals: {
71-
title: "Conditionals",
72-
href: "/en/build/smart-contracts/book/conditionals",
57+
title: "Conditionals 条件语句",
7358
},
7459
loops: {
75-
title: "While, For, and Loop",
76-
href: "/en/build/smart-contracts/book/loops",
60+
title: "While, For, and Loop 循环结构",
7761
},
7862
functions: {
79-
title: "Functions",
80-
href: "/en/build/smart-contracts/book/functions",
63+
title: "Functions 函数",
8164
},
8265
"structs-and-resources": {
83-
title: "Structs and Resources",
84-
href: "/en/build/smart-contracts/book/structs-and-resources",
66+
title: "Structs and Resources 结构体与资源",
8567
},
8668
enums: {
87-
title: "Enum Types",
88-
href: "/en/build/smart-contracts/book/enums",
69+
title: "Enum Types 枚举类型",
8970
},
9071
constants: {
91-
title: "Constants",
92-
href: "/en/build/smart-contracts/book/constants",
72+
title: "Constants 常量",
9373
},
9474
generics: {
95-
title: "Generics",
96-
href: "/en/build/smart-contracts/book/generics",
75+
title: "Generics 泛型",
9776
},
9877
abilities: {
99-
title: "Type abilities",
100-
href: "/en/build/smart-contracts/book/abilities",
78+
title: "Type abilities 类型能力",
10179
},
10280
uses: {
103-
title: "Uses and Aliases",
104-
href: "/en/build/smart-contracts/book/uses",
81+
title: "Uses and Aliases 用法与别名",
10582
},
10683
friends: {
107-
title: "Friends",
108-
href: "/en/build/smart-contracts/book/friends",
84+
title: "Friends 友元",
10985
},
11086
packages: {
111-
title: "Packages",
112-
href: "/en/build/smart-contracts/book/packages",
87+
title: "Packages 包",
11388
},
11489
"package-upgrades": {
115-
title: "Package Upgrades",
116-
href: "/en/build/smart-contracts/book/package-upgrades",
90+
title: "Package Upgrades 包升级",
11791
},
11892
"unit-testing": {
119-
title: "Unit Tests",
120-
href: "/en/build/smart-contracts/book/unit-testing",
93+
title: "Unit Tests 单元测试",
12194
},
12295
"---global-storage---": {
12396
type: "separator",
124-
title: "Global Storage",
97+
title: "Global Storage 全局存储",
12598
},
12699
"global-storage-structure": {
127-
title: "Global Storage Structure",
128-
href: "/en/build/smart-contracts/book/global-storage-structure",
100+
title: "Global Storage Structure 全局存储结构",
129101
},
130102
"global-storage-operators": {
131-
title: "Global Storage Operators",
132-
href: "/en/build/smart-contracts/book/global-storage-operators",
103+
title: "Global Storage Operators 全局存储操作符",
133104
},
134105
"---reference---": {
135106
type: "separator",
136-
title: "Reference",
107+
title: "Reference 参考",
137108
},
138109
"standard-library": {
139-
title: "Standard Library",
140-
href: "/en/build/smart-contracts/book/standard-library",
110+
title: "Standard Library 标准库",
141111
},
142112
"coding-conventions": {
143-
title: "Coding Conventions",
144-
href: "/en/build/smart-contracts/book/coding-conventions",
113+
title: "Coding Conventions 编码规范",
145114
},
146115
};

0 commit comments

Comments
 (0)