From d44b9b203f29fd6f41f80bed707eb96a56064bc9 Mon Sep 17 00:00:00 2001 From: Unicar Date: Sun, 31 Jul 2022 16:35:55 +1000 Subject: [PATCH] Added some chinese translation of get started page --- src/data/zh-Hans.yml | 55 +++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 29 deletions(-) diff --git a/src/data/zh-Hans.yml b/src/data/zh-Hans.yml index e44929a843..d8aa9775f6 100644 --- a/src/data/zh-Hans.yml +++ b/src/data/zh-Hans.yml @@ -75,28 +75,25 @@ copyright: get started: get-started-title: 入门 get-started1: >- - This page walks you through setting up a p5.js project and making your first - sketch. - get-started2: 'The easiest way to start is using the ' - get-started3: p5.js editor - get-started4: ', you can open the web editor and can scroll down to ' - get-started5: Your First Sketch + 这个页面将会引导你创建一个 p5.js 项目然后制作你的第一个绘图。 + get-started2: '最快捷的上手方法便是使用 ' + get-started3: p5.js 编辑器 + get-started4: ',你可以打开这个网页编辑器然后滚动到 ' + get-started5: 你的第一个绘图 get-started6: >- - . If you would like to work on the the desktop version of p5.js you can - scroll down to - get-started7: downloading instructions - get-started-button: Copy - settingUp-title: Setting up p5.js with an editor on your own computer - download-title: Downloading a copy of the p5.js library - hosted-title: Using a hosted version of the p5.js library + 。如果你想创建桌面版的 p5.js 项目,则可以滚动到 + get-started7: 下载说明 + get-started-button: 复制 + settingUp-title: 在你自己电脑的编辑器上创建 p5.js 项目 + download-title: 本地下载一份 p5.js 库 + hosted-title: 使用线上版本的 p5.js 库 download1: 最简易的起点是使用 download2: p5.js 完整版 download3: 下载所提供的空白范例。 - download8: 'After download, you need to set up a local server. See instructions ' - download9: here + download8: '下载之后,你需要启动一个本地服务器。方法请参考 ' + download9: 这里 download10: >- - . Run your local server within the downloaded folder and on your browser, go - to + 。在下载的文件夹目录下运行你的本地服务器,然后打开浏览器访问 download11: 'http://localhost:{your-port-num}/empty-example' download4: >- 查看 index.html 您可以发现其中有个 p5.js 的链接。如果您想要使用极简化的档案(以加速网页加载的速度),将链接档案名改为 @@ -127,14 +124,14 @@ get started: environment15: 'http://localhost:{your-port-num}/empty-example' environment16: ' if you are using a local server)' environment13: 以查看您的绘图。 - your-first-sketch-title: Your First Sketch - your-first-sketch-intro1: 'In the ' + your-first-sketch-title: 你的第一个绘图 + your-first-sketch-intro1: '在 ' your-first-sketch-intro2: 'https://editor.p5js.org/' - your-first-sketch-intro3: p5.js web editor - your-first-sketch-intro4: ' you should find the following code:' - your-first-sketch1: 'After the ' - your-first-sketch2: ' include this line of code: ' - your-first-sketch3: 'Now your code should be like this: ' + your-first-sketch-intro3: p5.js 网页编辑器里 + your-first-sketch-intro4: ' 你可以看到如下代码:' + your-first-sketch1: '在 ' + your-first-sketch2: ' 之后添加这一行代码: ' + your-first-sketch3: '更新后的代码如下: ' your-first-sketch4: >- The line you just added draws an ellipse, with its center 50 pixels over from the left and 50 pixels down from the top, with a width and height of 80 @@ -620,7 +617,7 @@ libraries: p5.timer: >- This library performs asynchronous timing functions like countdowns, one-shot timers, % time elapsed and encapsulates the millis() function and - other related calculations that often clog up your code. + other related calculations that often clog up your code. c2.js: >- c2.js is a JavaScript library for creative coding based on computational geometry, physics simulation, evolutionary algorithm and other modules. @@ -1071,7 +1068,7 @@ showcase: project-a-5-1-qianqian: 'I am very excited about ' project-a-5-2-qianqian: ' in LA.' creator-from-phuong: 'From Kyiv, Ukraine' - project-a-1-1-phuong: 'I''m a creative coder and designer, a ' + project-a-1-1-phuong: "I'm a creative coder and designer, a " link-1-phuong: Play Airi Flies! link-2-phuong: Code for AiriFlies on GitHub link-3-phuong: More info in Phuong Ngo's portfolio @@ -1170,7 +1167,7 @@ showcase: great about making sure the project is a learning resource and not just a collection of examples. project-a-3-1-casey-louise: 'Casey: Does ' - 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.' + 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." project-a-3-3-casey-louise: 'Louise: My favorite feature is ' project-a-3-4-casey-louise: ' and ' project-a-3-5-casey-louise: ' for transformation of the coordinate system to make generative visuals.' @@ -1194,7 +1191,7 @@ showcase: openframeworks-book-casey-louise: openFrameworks book 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.' project-a-5-1-casey-louise: 'Check out the ' - project-a-5-2-casey-louise: ' to see our peers'' amazing grant projects!' + project-a-5-2-casey-louise: " to see our peers' amazing grant projects!" pronouns-nonbinary: (they/them) creator-from-moon: 'From Athens, Georgia' posters-by: Posters By @@ -1279,7 +1276,7 @@ teach: teach-case1-title: p5.js à l'Ubuntu Party! teach-case1-lead-name: Basile Pesin teach-case1-content1: '2020 Ubuntu Party, ' - teach-case1-content1-1: 'Cité des Sciences et de l''Industrie, Paris, France' + teach-case1-content1-1: "Cité des Sciences et de l'Industrie, Paris, France" teach-case1-content2: 'Any age, including children and parents, young and older adults.' teach-case1-content3: Advanced teach-case1-content4: >-