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

Commit a5bc7a3

Browse files
committed
Update Chinese documentation for developer setup and smart contracts
- Revised titles in the documentation for "Developer Setup," "Ethereum Cheatsheet," "Solana Cheatsheet," and various smart contract topics to include Chinese translations for improved clarity. - Enhanced the structure and organization of the documentation to better support Chinese-speaking developers working with the Move programming language on the Aptos platform. - Updated sections to ensure consistency and accessibility across the documentation.
1 parent 8b8e902 commit a5bc7a3

File tree

3 files changed

+79
-79
lines changed

3 files changed

+79
-79
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
export default {
22
"developer-setup": {
3-
title: "Developer Setup",
3+
title: "Developer Setup | 开发者环境搭建",
44
theme: {
55
toc: false,
66
layout: "full",
77
},
88
},
99
"ethereum-cheatsheet": {
10-
title: "Ethereum to Aptos Cheatsheet",
10+
title: "Ethereum to Aptos Cheatsheet | 以太坊到 Aptos 速查表",
1111
},
1212
"solana-cheatsheet": {
13-
title: "Solana to Aptos Cheatsheet",
13+
title: "Solana to Aptos Cheatsheet | Solana 到 Aptos 速查表",
1414
},
1515
// TODO: Will uncomment when ready for use
1616
// "create-aptos-dapp": {
17-
// title: "create-aptos-dapp",
17+
// title: "create-aptos-dapp | 创建 Aptos Dapp",
1818
// href: "https://github.com/aptos-labs/create-aptos-dapp",
1919
// },
2020
};
Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,135 +1,135 @@
11
export default {
22
"---get-started---": {
33
type: "separator",
4-
title: "Get Started",
4+
title: "Get Started | 入门指南",
55
},
66
"why-move": {
7-
title: "Why Move?",
7+
title: "Why Move? | 为什么选择 Move?",
88
},
99
"create-package": {
10-
title: "Create Package",
10+
title: "Create Package | 创建包",
1111
},
1212
compiling: {
13-
title: "Compiling",
13+
title: "Compiling | 编译",
1414
},
1515
testing: {
16-
title: "Testing",
16+
title: "Testing | 测试",
1717
href: "/zh/build/smart-contracts/book/unit-testing",
1818
},
1919
deployment: {
20-
title: "Deployment",
20+
title: "Deployment | 部署",
2121
},
2222
debugging: {
23-
title: "Debugging",
23+
title: "Debugging | 调试",
2424
},
2525
"---aptos-standards---": {
2626
type: "separator",
27-
title: "Aptos Standards",
27+
title: "Aptos Standards | Aptos 标准",
2828
},
2929
bcs: {
30-
title: "Binary Canonical Serialization (BCS)",
30+
title: "Binary Canonical Serialization (BCS) | 二进制规范序列化 (BCS)",
3131
},
3232
object: {
33-
title: "Object",
33+
title: "Object | 对象",
3434
},
3535
"digital-asset": {
36-
title: "Digital Asset (DA)",
36+
title: "Digital Asset (DA) | 数字资产 (DA)",
3737
},
3838
"fungible-asset": {
39-
title: "Fungible Asset (FA)",
39+
title: "Fungible Asset (FA) | 同质化资产 (FA)",
4040
},
4141
"confidential-asset": {
42-
title: "Confidential Asset (CA)",
42+
title: "Confidential Asset (CA) | 机密资产 (CA)",
4343
},
4444
"aptos-coin": {
45-
title: "Coin (legacy)",
45+
title: "Coin (legacy) | Coin(旧版)",
4646
},
4747
"aptos-token": {
48-
title: "Token (legacy)",
48+
title: "Token (legacy) | Token(旧版)",
4949
},
5050
"---addressable-storage---": {
51-
title: "Addressable Storage",
51+
title: "Addressable Storage | 可寻址存储",
5252
type: "separator",
5353
},
5454
accounts: {
55-
title: "Accounts",
55+
title: "Accounts | 账户",
5656
href: "/en/network/blockchain/accounts",
5757
},
5858
table: {
59-
title: "Table",
59+
title: "Table | 表",
6060
},
6161
objects: {
62-
title: "Objects",
62+
title: "Objects | 对象",
6363
},
6464
"resource-accounts": {
65-
title: "Resource Accounts",
65+
title: "Resource Accounts | 资源账户",
6666
},
6767
"---data-structures---": {
68-
title: "Data Structures",
68+
title: "Data Structures | 数据结构",
6969
type: "separator",
7070
},
7171
struct: {
72-
title: "Struct",
72+
title: "Struct | 结构体",
7373
href: "/zh/build/smart-contracts/book/structs-and-resources",
7474
},
7575
vector: {
76-
title: "Vector",
76+
title: "Vector | 向量",
7777
},
7878
"smart-vector": {
79-
title: "Smart Vector",
79+
title: "Smart Vector | 智能向量",
8080
},
8181
maps: {
82-
title: "Maps",
82+
title: "Maps | 映射",
8383
},
8484
"---examples---": {
8585
type: "separator",
86-
title: "Examples",
86+
title: "Examples | 示例",
8787
display: "hidden",
8888
},
8989
"---reference---": {
9090
type: "separator",
91-
title: "Reference",
91+
title: "Reference | 参考",
9292
},
9393
reference: {
94-
title: "Move Reference",
94+
title: "Move Reference | Move 参考",
9595
theme: {
9696
toc: false,
9797
layout: "full",
9898
},
9999
},
100100
book: {
101-
title: "Move Book",
101+
title: "Move Book | Move 书籍",
102102
},
103103
"error-codes": {
104-
title: "Error Codes",
104+
title: "Error Codes | 错误码",
105105
},
106106
"---advanced-move---": {
107107
type: "separator",
108-
title: "Advanced Move",
108+
title: "Advanced Move | 高级 Move",
109109
},
110110
scripts: {
111-
title: "Scripts",
111+
title: "Scripts | 脚本",
112112
},
113113
prover: {
114-
title: "Move Prover",
114+
title: "Move Prover | Move 证明器",
115115
},
116116
randomness: {
117-
title: "Randomness",
117+
title: "Randomness | 随机性",
118118
},
119119
cryptography: {
120-
title: "Cryptography",
120+
title: "Cryptography | 加密学",
121121
},
122122
"move-security-guidelines": {
123-
title: "Move Security Guidelines",
123+
title: "Move Security Guidelines | Move 安全指南",
124124
},
125125
"gas-profiling": {
126-
title: "Gas Profiling",
126+
title: "Gas Profiling | 燃气消耗分析",
127127
href: "/en/build/cli/working-with-move-contracts/local-simulation-benchmarking-and-gas-profiling",
128128
},
129129
compiler_v2: {
130-
title: "Compiler V2",
130+
title: "Compiler V2 | 编译器 V2",
131131
},
132132
linter: {
133-
title: "Linter",
133+
title: "Linter | 代码检查器",
134134
},
135135
};
Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,115 +1,115 @@
11
export default {
22
SUMMARY: {
3-
title: "Summary 总结",
3+
title: "Summary | 概要",
44
},
55
"move-2": {
6-
title: "Move 2 Release Notes Move 2 发布说明",
6+
title: "Move 2 Release Notes | Move 2 版本说明",
77
},
88
"---getting-started---": {
99
type: "separator",
10-
title: "Getting Started 入门",
10+
title: "Getting Started | 入门",
1111
},
1212
"modules-and-scripts": {
13-
title: "Modules and Scripts 模块与脚本",
13+
title: "Modules and Scripts | 模块与脚本",
1414
},
1515
"move-tutorial": {
16-
title: "Move Tutorial Move 教程",
16+
title: "Move Tutorial | Move 教程",
1717
},
1818
"---primitive-types---": {
1919
type: "separator",
20-
title: "Primitive Types 基本类型",
20+
title: "Primitive Types | 基本类型",
2121
},
2222
integers: {
23-
title: "Integers 整数",
23+
title: "Integers | 整数类型",
2424
},
2525
bool: {
26-
title: "Bool 布尔值",
26+
title: "Bool | 布尔类型",
2727
},
2828
address: {
29-
title: "Address 地址",
29+
title: "Address | 地址类型",
3030
},
3131
vector: {
32-
title: "Vector 向量",
32+
title: "Vector | 向量类型",
3333
},
3434
signer: {
35-
title: "Signer 签名者",
35+
title: "Signer | 签名者",
3636
},
3737
references: {
38-
title: "References 引用",
38+
title: "References | 引用",
3939
},
4040
tuples: {
41-
title: "Tuples and Unit 元组与单元",
41+
title: "Tuples and Unit | 元组与单元类型",
4242
},
4343
"---basic-concepts---": {
4444
type: "separator",
45-
title: "Basic Concepts 基础概念",
45+
title: "Basic Concepts | 基本概念",
4646
},
4747
variables: {
48-
title: "Local Variables and Scopes 局部变量与作用域",
48+
title: "Local Variables and Scopes | 局部变量与作用域",
4949
},
5050
equality: {
51-
title: "Equality 相等性",
51+
title: "Equality | 相等性",
5252
},
5353
"abort-and-assert": {
54-
title: "Abort and Assert 中止与断言",
54+
title: "Abort and Assert | 中止与断言",
5555
},
5656
conditionals: {
57-
title: "Conditionals 条件语句",
57+
title: "Conditionals | 条件语句",
5858
},
5959
loops: {
60-
title: "While, For, and Loop 循环结构",
60+
title: "While, For, and Loop | 循环语句",
6161
},
6262
functions: {
63-
title: "Functions 函数",
63+
title: "Functions | 函数",
6464
},
6565
"structs-and-resources": {
66-
title: "Structs and Resources 结构体与资源",
66+
title: "Structs and Resources | 结构体与资源",
6767
},
6868
enums: {
69-
title: "Enum Types 枚举类型",
69+
title: "Enum Types | 枚举类型",
7070
},
7171
constants: {
72-
title: "Constants 常量",
72+
title: "Constants | 常量",
7373
},
7474
generics: {
75-
title: "Generics 泛型",
75+
title: "Generics | 泛型",
7676
},
7777
abilities: {
78-
title: "Type abilities 类型能力",
78+
title: "Type abilities | 类型能力",
7979
},
8080
uses: {
81-
title: "Uses and Aliases 用法与别名",
81+
title: "Uses and Aliases | 用法与别名",
8282
},
8383
friends: {
84-
title: "Friends 友元",
84+
title: "Friends | 友元",
8585
},
8686
packages: {
87-
title: "Packages 包",
87+
title: "Packages | 包",
8888
},
8989
"package-upgrades": {
90-
title: "Package Upgrades 包升级",
90+
title: "Package Upgrades | 包升级",
9191
},
9292
"unit-testing": {
93-
title: "Unit Tests 单元测试",
93+
title: "Unit Tests | 单元测试",
9494
},
9595
"---global-storage---": {
9696
type: "separator",
97-
title: "Global Storage 全局存储",
97+
title: "Global Storage | 全局存储",
9898
},
9999
"global-storage-structure": {
100-
title: "Global Storage Structure 全局存储结构",
100+
title: "Global Storage Structure | 全局存储结构",
101101
},
102102
"global-storage-operators": {
103-
title: "Global Storage Operators 全局存储操作符",
103+
title: "Global Storage Operators | 全局存储操作",
104104
},
105105
"---reference---": {
106106
type: "separator",
107-
title: "Reference 参考",
107+
title: "Reference | 参考资料",
108108
},
109109
"standard-library": {
110-
title: "Standard Library 标准库",
110+
title: "Standard Library | 标准库",
111111
},
112112
"coding-conventions": {
113-
title: "Coding Conventions 编码规范",
113+
title: "Coding Conventions | 编码规范",
114114
},
115115
};

0 commit comments

Comments
 (0)