Skip to content

Commit 0bdf64c

Browse files
committed
Change measure words and punctuaions in part 1 Chinese translation.
Revert translations of the submission system content. Update links to part 0 in part 2 Chinese translation.
1 parent 71ad647 commit 0bdf64c

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

src/content/1/zh/part1a.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -697,10 +697,10 @@ const App = () => {
697697

698698
<div class="tasks">
699699
<!-- <h3>Exercises 1.1.-1.2.</h3>-->
700-
<h3>练习1.1.-1.2.</h3>
700+
<h3>练习1.1.~1.2.</h3>
701701

702702
<!-- The exercises are submitted via GitHub, and by marking the exercises as done in the "my submissions" tab of the [submission application](https://studies.cs.helsinki.fi/stats/courses/fullstackopen). -->
703-
练习通过GitHub上交,并在[上交应用](https://studies.cs.helsinki.fi/stats/courses/fullstackopen)的“我的上交”标签页中标记所有已完成的练习。
703+
练习通过GitHub上交,并在[上交应用](https://studies.cs.helsinki.fi/stats/courses/fullstackopen)的“my submissions”标签页中标记所有已完成的练习。
704704

705705
<!-- The exercises are submitted **one part at a time**. When you have submitted the exercises for a part of the course you can no longer submit undone exercises for the same part.-->
706706
练习是**一次上交一个章节**的。当你上交了课程中某一章节的练习,你就不能再上交同一章节的未完成的练习。
@@ -732,16 +732,16 @@ part2
732732
课程的每一章节都有一个目录,每个目录下面还有一系列练习的目录,如第1章节的“unicafe”。
733733

734734
<!-- Most of the exercises of the course build a larger application, eg. courseinfo, unicafe and anecdotes in this part, bit by bit. It is enough to submit the completed application. You can make a commit after each exercise, but that is not compulsory. For example the course info app is built in exercises 1.1.-1.5. It is just the end result after 1.5 that you need to submit! -->
735-
课程中的大多数联系都会一点一点地构成更大的应用,比如这一章节的courseinfo、unicafe和anecdotes。只要上交最终完成的应用就可以了。你可以每完成一个练习就在git中做一次提交,但这不是必须的。比如练习1.1.-1.5会构建一个课程信息的应用,只需要上交完成1.5后的成果就可以了!
735+
课程中的大多数联系都会一点一点地构成更大的应用,比如这一章节的courseinfo、unicafe和anecdotes。只要上交最终完成的应用就可以了。你可以每完成一道练习就在git中做一次提交,但这不是必须的。比如练习1.1.~1.5会构建一个课程信息的应用,只需要上交完成1.5后的成果就可以了!
736736

737737
<!-- For each web application for a series of exercises, it is recommended to submit all files relating to that application, except for the directory <i>node\_modules</i>.-->
738-
对于每个Web应用的系列练习,建议上交所有与该应用有关的文件,除了目录<i>node\_modules</i>。
738+
对于每道Web应用的系列练习,建议上交所有与该应用有关的文件,除了目录<i>node\_modules</i>。
739739

740740
<!-- <h4>1.1: Course Information, step 1</h4> -->
741741
<h4>1.1:课程信息,第1步</h4>
742742

743743
<!-- <i>The application that we will start working on in this exercise will be further developed in a few of the following exercises. In this and other upcoming exercise sets in this course, it is enough to only submit the final state of the application. If desired, you may also create a commit for each exercise of the series, but this is entirely optional.</i> -->
744-
<i>我们将在本练习中开始处理的应用程序将在以下几个练习中得到进一步开发。在本课程的这个和接下来的练习集中,只要上交应用程序的最终状态就足够了。如果你想,你也可以为系列的每个练习创建一个git提交,但这不是必要的。</i>
744+
<i>我们在这道练习中将要开始处理的应用程序将在以下几道练习中得到进一步开发。在本课程的这个和接下来的练习集中,只要上交应用程序的最终状态就足够了。如果你想,你也可以为系列的每道练习创建一个git提交,但这不是必要的。</i>
745745

746746
<!-- Use Vite to initialize a new application. Modify <i>main.jsx</i> to match the following-->
747747
使用Vite来初始化一个新的应用。修改<i>main.jsx</i>为

src/content/1/zh/part1b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ const result = average(2, 5)
292292

293293
<div class="tasks">
294294
<!-- <h3>Exercises 1.3.-1.5.</h3>-->
295-
<h3>练习1.3.-1.5.</h3>
295+
<h3>练习1.3.~1.5.</h3>
296296

297297
<!-- <i>We continue building the application that we started working on in the previous exercises. You can write the code into the same project since we are only interested in the final state of the submitted application.</i> -->
298298
<i>我们将继续构建我们在之前练习中开始编写的应用程序。你可以将代码编写到同一个项目中,因为我们只关心上交的应用程序的最终状态。</i>

src/content/1/zh/part1d.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,16 +1372,16 @@ Copilot以及其他大语言模型提供的提示的有用程度各不相同。
13721372
<div class="tasks">
13731373

13741374
<!-- <h3>Exercises 1.6.-1.14.</h3> -->
1375-
<h3>练习1.6.-1.14.</h3>
1375+
<h3>练习1.6.~1.14.</h3>
13761376

13771377
<!-- Submit your solutions to the exercises by first pushing your code to GitHub and then marking the completed exercises into the "my submissions" tab of the [submission application](https://studies.cs.helsinki.fi/stats/courses/fullstackopen). -->
1378-
要上交练习的解答,先将你的代码推送到GitHub,然后在[上交应用](https://studies.cs.helsinki.fi/stats/courses/fullstackopen)的“我的上交”标签页将练习标记为已完成。
1378+
要上交练习的解答,先将你的代码推送到GitHub,然后在[上交应用](https://studies.cs.helsinki.fi/stats/courses/fullstackopen)的“my submissions”标签页将练习标记为已完成。
13791379

13801380
<!-- Remember, submit **all** the exercises of one part **in a single submission**. Once you have submitted your solutions for one part, **you cannot submit more exercises to that part any more**.-->
13811381
记住,**一次性上交**一个章节的**所有**练习。一旦你上交了一个章节的解答,**你就不能再上交该章节的练习了**
13821382

13831383
<!-- <i>Some of the exercises work on the same application. In these cases, it is sufficient to submit just the final version of the application. If you wish, you can make a commit after every finished exercise, but it is not mandatory.</i> -->
1384-
<i>有些练习开发的是同一个应用。对于这些练习,只要上交应用的最终版本就够了。你也可以每完成一个练习就在git中提交一次,但并不强制。</i>
1384+
<i>有些练习开发的是同一个应用。对于这些练习,只要上交应用的最终版本就够了。你也可以每完成一道练习就在git中提交一次,但并不强制。</i>
13851385

13861386
<!-- In some situations you may also have to run the command below from the root of the project:-->
13871387
在某些情况下,你可能还得从项目的根目录运行以下命令:
@@ -1642,6 +1642,6 @@ copy[2] += 1
16421642
如果多个名言警句并列第一,只显示其中一个就足够了。
16431643

16441644
<!-- This was the last exercise for this part of the course and it's time to push your code to GitHub and mark all of your finished exercises to the "my submissions" tab of the [submission application](https://studies.cs.helsinki.fi/stats/courses/fullstackopen). -->
1645-
这是本章节课程的最后一个练习,是时候将你的代码推送到GitHub,然后在[上交应用](https://studies.cs.helsinki.fi/stats/courses/fullstackopen)的“我的上交”标签页中标记所有完成的练习了。
1645+
这是本章节课程的最后一道练习,是时候将你的代码推送到GitHub,然后在[上交应用](https://studies.cs.helsinki.fi/stats/courses/fullstackopen)的“my submissions”标签页中标记所有完成的练习了。
16461646

16471647
</div>

src/content/2/zh/part2a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ const Course = (props) => { // highlight-line
689689
<h4>2.1:课程信息 第6步</h4>
690690

691691
<!-- Let's finish the code for rendering course contents from exercises 1.1 - 1.5. You can start with the code from the model answers. The model answers for part 1 can be found by going to the [submission system](https://studies.cs.helsinki.fi/stats/courses/fullstackopen), clicking on <i>my submissions</i> at the top, and in the row corresponding to part 1 under the <i>solutions</i> column clicking on <i>show</i>. To see the solution to the <i>course info</i> exercise, click on _App.jsx_ under <i>courseinfo</i>. -->
692-
让我们完成练习1.1~1.5中渲染课程内容的代码。你可以从标准答案的代码开始。第1章节的标准答案可以在[上交系统](https://studies.cs.helsinki.fi/stats/courses/fullstackopen)中找到,点击顶部的<i>我的上交</i>,在<i>解决方案</i>栏下对应第1章节的行中点击<i>显示</i>。要看<i>课程信息</i>练习的解决方案,请点击<i>courseinfo</i>下的_App.jsx_
692+
让我们完成练习1.1~1.5中渲染课程内容的代码。你可以从标准答案的代码开始。第1章节的标准答案可以在[上交系统](https://studies.cs.helsinki.fi/stats/courses/fullstackopen)中找到,点击顶部的<i>my submissions</i>,在<i>solutions</i>栏下对应第1章节的行中点击<i>show</i>。要看<i>课程信息</i>练习的解决方案,请点击<i>courseinfo</i>下的_App.jsx_
693693

694694
<!-- **Note that if you copy a project from one place to another, you might have to delete the <i>node\_modules</i> directory and install the dependencies again with the command _npm install_ before you can start the application.**-->
695695
**注意,如果你把一个项目从一个地方复制到另一个地方,你可能要删除<i>node\_modules</i>目录,并在启动应用之前用_npm install_命令重新安装依赖。**

src/content/2/zh/part2d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const addNote = event => {
7272
新创建的笔记资源被存储在_response_对象的<i>data</i>属性值中。
7373

7474
<!-- Quite often it is useful to inspect HTTP requests in the <i>Network</i> tab of Chrome developer tools, which was used heavily at the beginning of [part 0](/en/part0/fundamentals_of_web_apps#http-get). -->
75-
在Chrome开发工具中的<i>Network</i>标签页中检查HTTP请求经常会很有用,[第0章节](/en/part0/fundamentals_of_web_apps#http-get)的开头就大量使用了这个标签页。
75+
在Chrome开发工具中的<i>Network</i>标签页中检查HTTP请求经常会很有用,[第0章节](/zh/part0/web_应用的基础设施#http-get)的开头就大量使用了这个标签页。
7676

7777
<!-- We can use the inspector to check that the headers sent in the POST request are what we expected them to be: -->
7878
我们可以使用检查器来检查POST请求中发送的标头是否是我们所期望的:
@@ -870,7 +870,7 @@ const delete = (id) => {
870870
<h4>2.15*:电话簿 第10步</h4>
871871
872872
<!-- <i>Why is there an asterisk in the exercise? See [here](/en/part0/general_info#taking-the-course) for the explanation.</i> -->
873-
<i>为什么这道练习有个星号?[这里](/en/part0/general_info#taking-the-course)有解释。</i>
873+
<i>为什么这道练习有个星号?[这里](/zh/part0/基础知识#taking-the-course)有解释。</i>
874874
875875
<!-- Change the functionality so that if a number is added to an already existing user, the new number will replace the old number. It's recommended to use the HTTP PUT method for updating the phone number.-->
876876
改变功能,如果向一个已经存在的用户添加号码,新的号码将替换旧的号码。建议使用HTTP PUT方法来更新电话号码。

src/content/2/zh/part2e.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ lang: zh
88
<div class="content">
99

1010
<!-- The appearance of our current Notes application is quite modest. In [exercise 0.2](/en/part0/fundamentals_of_web_apps#exercises-0-1-0-6), the assignment was to go through Mozilla's [CSS tutorial](https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics). -->
11-
我们目前的笔记应用的外观是相当简陋的。在[练习0.2](/en/part0/fundamentals_of_web_apps#exercises-0-1-0-6)中,作业是阅读Mozilla的[CSS教程](https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics)
11+
我们目前的笔记应用的外观是相当简陋的。在[练习0.2](/zh/part0/web_应用的基础设施#练习-0-1-0-6)中,作业是阅读Mozilla的[CSS教程](https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics)
1212

1313
<!-- Let's take a look at how we can add styles to a React application. There are several different ways of doing this and we will take a look at the other methods later on. First, we will add CSS to our application the old-school way; in a single file without using a [CSS preprocessor](https://developer.mozilla.org/en-US/docs/Glossary/CSS_preprocessor) (although this is not entirely true as we will learn later on). -->
1414
让我们看一下如何在React应用中添加样式。有几种不同的方法,我们将在后面看一下其他的方法。首先,我们将以传统的方式向我们的应用添加CSS;把CSS写入单个文件中,不使用[CSS预处理器](https://developer.mozilla.org/en-US/docs/Glossary/CSS_preprocessor)(尽管我们将在后面学习到,实际上我们并非完全没有使用)。

0 commit comments

Comments
 (0)