Skip to content

Commit ad59d54

Browse files
authored
Merge pull request #1252 from unicar9/zh-translation
Added some Chinese translation of get started page
2 parents 218507c + d44b9b2 commit ad59d54

File tree

1 file changed

+26
-29
lines changed

1 file changed

+26
-29
lines changed

src/data/zh-Hans.yml

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,25 @@ copyright:
7575
get started:
7676
get-started-title: 入门
7777
get-started1: >-
78-
This page walks you through setting up a p5.js project and making your first
79-
sketch.
80-
get-started2: 'The easiest way to start is using the '
81-
get-started3: p5.js editor
82-
get-started4: ', you can open the web editor and can scroll down to '
83-
get-started5: Your First Sketch
78+
这个页面将会引导你创建一个 p5.js 项目然后制作你的第一个绘图。
79+
get-started2: '最快捷的上手方法便是使用 '
80+
get-started3: p5.js 编辑器
81+
get-started4: ',你可以打开这个网页编辑器然后滚动到 '
82+
get-started5: 你的第一个绘图
8483
get-started6: >-
85-
. If you would like to work on the the desktop version of p5.js you can
86-
scroll down to
87-
get-started7: downloading instructions
88-
get-started-button: Copy
89-
settingUp-title: Setting up p5.js with an editor on your own computer
90-
download-title: Downloading a copy of the p5.js library
91-
hosted-title: Using a hosted version of the p5.js library
84+
。如果你想创建桌面版的 p5.js 项目,则可以滚动到
85+
get-started7: 下载说明
86+
get-started-button: 复制
87+
settingUp-title: 在你自己电脑的编辑器上创建 p5.js 项目
88+
download-title: 本地下载一份 p5.js 库
89+
hosted-title: 使用线上版本的 p5.js 库
9290
download1: 最简易的起点是使用
9391
download2: p5.js 完整版
9492
download3: 下载所提供的空白范例。
95-
download8: 'After download, you need to set up a local server. See instructions '
96-
download9: here
93+
download8: '下载之后,你需要启动一个本地服务器。方法请参考 '
94+
download9: 这里
9795
download10: >-
98-
. Run your local server within the downloaded folder and on your browser, go
99-
to
96+
。在下载的文件夹目录下运行你的本地服务器,然后打开浏览器访问
10097
download11: 'http://localhost:{your-port-num}/empty-example'
10198
download4: >-
10299
查看 index.html 您可以发现其中有个 p5.js 的链接。如果您想要使用极简化的档案(以加速网页加载的速度),将链接档案名改为
@@ -127,14 +124,14 @@ get started:
127124
environment15: 'http://localhost:{your-port-num}/empty-example'
128125
environment16: ' if you are using a local server)'
129126
environment13: 以查看您的绘图。
130-
your-first-sketch-title: Your First Sketch
131-
your-first-sketch-intro1: 'In the '
127+
your-first-sketch-title: 你的第一个绘图
128+
your-first-sketch-intro1: ' '
132129
your-first-sketch-intro2: 'https://editor.p5js.org/'
133-
your-first-sketch-intro3: p5.js web editor
134-
your-first-sketch-intro4: ' you should find the following code:'
135-
your-first-sketch1: 'After the '
136-
your-first-sketch2: ' include this line of code: '
137-
your-first-sketch3: 'Now your code should be like this: '
130+
your-first-sketch-intro3: p5.js 网页编辑器里
131+
your-first-sketch-intro4: ' 你可以看到如下代码:'
132+
your-first-sketch1: ' '
133+
your-first-sketch2: ' 之后添加这一行代码: '
134+
your-first-sketch3: '更新后的代码如下: '
138135
your-first-sketch4: >-
139136
The line you just added draws an ellipse, with its center 50 pixels over
140137
from the left and 50 pixels down from the top, with a width and height of 80
@@ -620,7 +617,7 @@ libraries:
620617
p5.timer: >-
621618
This library performs asynchronous timing functions like countdowns,
622619
one-shot timers, % time elapsed and encapsulates the millis() function and
623-
other related calculations that often clog up your code.
620+
other related calculations that often clog up your code.
624621
c2.js: >-
625622
c2.js is a JavaScript library for creative coding based on computational
626623
geometry, physics simulation, evolutionary algorithm and other modules.
@@ -1102,7 +1099,7 @@ showcase:
11021099
project-a-5-1-qianqian: 'I am very excited about '
11031100
project-a-5-2-qianqian: ' in LA.'
11041101
creator-from-phuong: 'From Kyiv, Ukraine'
1105-
project-a-1-1-phuong: 'I''m a creative coder and designer, a '
1102+
project-a-1-1-phuong: "I'm a creative coder and designer, a "
11061103
link-1-phuong: Play Airi Flies!
11071104
link-2-phuong: Code for AiriFlies on GitHub
11081105
link-3-phuong: More info in Phuong Ngo's portfolio
@@ -1201,7 +1198,7 @@ showcase:
12011198
great about making sure the project is a learning resource and not just a
12021199
collection of examples.
12031200
project-a-3-1-casey-louise: 'Casey: Does '
1204-
project-a-3-2-casey-louise: ' count as a feature? I also love having the ability to share my programs on the web so that people don''t have to install special software or come to NYC to see my work.'
1201+
project-a-3-2-casey-louise: " count as a feature? I also love having the ability to share my programs on the web so that people don't have to install special software or come to NYC to see my work."
12051202
project-a-3-3-casey-louise: 'Louise: My favorite feature is '
12061203
project-a-3-4-casey-louise: ' and '
12071204
project-a-3-5-casey-louise: ' for transformation of the coordinate system to make generative visuals.'
@@ -1225,7 +1222,7 @@ showcase:
12251222
openframeworks-book-casey-louise: openFrameworks book
12261223
project-a-4-7-casey-louise: ' is written. A fun "hey, it’s not hard and you can do it too" approach is what we believe in.'
12271224
project-a-5-1-casey-louise: 'Check out the '
1228-
project-a-5-2-casey-louise: ' to see our peers'' amazing grant projects!'
1225+
project-a-5-2-casey-louise: " to see our peers' amazing grant projects!"
12291226
pronouns-nonbinary: (they/them)
12301227
creator-from-moon: 'From Athens, Georgia'
12311228
posters-by: Posters By
@@ -1310,7 +1307,7 @@ teach:
13101307
teach-case1-title: p5.js à l'Ubuntu Party!
13111308
teach-case1-lead-name: Basile Pesin
13121309
teach-case1-content1: '2020 Ubuntu Party, '
1313-
teach-case1-content1-1: 'Cité des Sciences et de l''Industrie, Paris, France'
1310+
teach-case1-content1-1: "Cité des Sciences et de l'Industrie, Paris, France"
13141311
teach-case1-content2: 'Any age, including children and parents, young and older adults.'
13151312
teach-case1-content3: Advanced
13161313
teach-case1-content4: >-

0 commit comments

Comments
 (0)