feat(curriculum): restore seed + solution to Chinese (#40683)

* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2021-01-13 03:31:00 +01:00
committed by GitHub
parent 0095583028
commit ee1e8abd87
4163 changed files with 57505 additions and 10540 deletions

View File

@ -3,6 +3,7 @@ id: bd7156d8c242eddfaeb5bd13
title: Build a freeCodeCamp Forum Homepage
challengeType: 3
forumTopicId: 302349
dashedName: build-a-freecodecamp-forum-homepage
---
# --description--
@ -23,11 +24,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: 5a5d02bd919fcf9ca8cf46cb
title: Build a Light-Bright App
challengeType: 3
forumTopicId: 302350
dashedName: build-a-light-bright-app
---
# --description--
@ -29,11 +30,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c443eddfaeb5bdff
title: Build a Nightlife Coordination App
challengeType: 4
forumTopicId: 302351
dashedName: build-a-nightlife-coordination-app
---
# --description--
@ -23,11 +24,6 @@ Here are the specific user stories you should implement for this project:
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the \`Solution Link\` field. Optionally, also submit a link to your project's source code in the \`GitHub Link\` field.
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c443eddfaeb5bdee
title: Build a Pinterest Clone
challengeType: 4
forumTopicId: 302352
dashedName: build-a-pinterest-clone
---
# --description--
@ -29,11 +30,6 @@ Once you've finished implementing these user stories, enter the URL to your live
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: 5a4b7fcdb66f799f199e11db
title: Build a Pong Game
challengeType: 3
forumTopicId: 302353
dashedName: build-a-pong-game
---
# --description--
@ -25,11 +26,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7155d8c242eddfaeb5bd13
title: Build a Recipe Box
challengeType: 3
forumTopicId: 302354
dashedName: build-a-recipe-box
---
# --description--
@ -29,11 +30,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7153d8c242eddfaeb5bd13
title: Build a Roguelike Dungeon Crawler Game
challengeType: 3
forumTopicId: 302355
dashedName: build-a-roguelike-dungeon-crawler-game
---
# --description--
@ -33,11 +34,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c442eddfaeb5bd1c
title: Build a Simon Game
challengeType: 3
forumTopicId: 302357
dashedName: build-a-simon-game
---
# --description--
@ -33,11 +34,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c442eedfaeb5bd1c
title: Build a Tic Tac Toe Game
challengeType: 3
forumTopicId: 302358
dashedName: build-a-tic-tac-toe-game
---
# --description--
@ -21,11 +22,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c443eddfaeb5bdef
title: Build a Voting App
challengeType: 4
forumTopicId: 302359
dashedName: build-a-voting-app
---
# --description--
@ -29,11 +30,6 @@ Here are the specific user stories you should implement for this project:
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the \`Solution Link\` field. Optionally, also submit a link to your project's source code in the \`GitHub Link\` field.
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c442eddfaeb5bd19
title: Build a Wikipedia Viewer
challengeType: 3
forumTopicId: 302360
dashedName: build-a-wikipedia-viewer
---
# --description--
@ -25,11 +26,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c443edefaeb5bdee
title: Build an Image Search Abstraction Layer
challengeType: 4
forumTopicId: 302361
dashedName: build-an-image-search-abstraction-layer
---
# --description--
@ -19,11 +20,6 @@ Here are the specific user stories you should implement for this project:
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the \`Solution Link\` field. Optionally, also submit a link to your project's source code in the \`GitHub Link\` field.
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7154d8c242eddfaeb5bd13
title: Build the Game of Life
challengeType: 3
forumTopicId: 302362
dashedName: build-the-game-of-life
---
# --description--
@ -31,11 +32,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c443eddfaeb5bd0e
title: Chart the Stock Market
challengeType: 4
forumTopicId: 302363
dashedName: chart-the-stock-market
---
# --description--
@ -21,11 +22,6 @@ Here are the specific user stories you should implement for this project:
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the \`Solution Link\` field. Optionally, also submit a link to your project's source code in the \`GitHub Link\` field.
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c443eddfaeb5bd0f
title: Manage a Book Trading Club
challengeType: 4
forumTopicId: 302364
dashedName: manage-a-book-trading-club
---
# --description--
@ -23,11 +24,6 @@ Once you've finished implementing these user stories, enter the URL to your live
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7108d8c242eddfaeb5bd13
title: Map Data Across the Globe
challengeType: 3
forumTopicId: 302365
dashedName: map-data-across-the-globe
---
# --description--
@ -23,11 +24,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7150d8c442eddfafb5bd1c
title: P2P Video Chat Application
challengeType: 4
forumTopicId: 302366
dashedName: p2p-video-chat-application
---
# --description--
@ -33,11 +34,6 @@ Once you've finished implementing these user stories, enter the URL to your live
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7198d8c242eddfaeb5bd13
title: Show National Contiguity with a Force Directed Graph
challengeType: 3
forumTopicId: 302367
dashedName: show-national-contiguity-with-a-force-directed-graph
---
# --description--
@ -23,11 +24,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c442eddfaeb5bd10
title: Show the Local Weather
challengeType: 3
forumTopicId: 302368
dashedName: show-the-local-weather
---
# --description--
@ -25,11 +26,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js

View File

@ -3,6 +3,7 @@ id: bd7158d8c442eddfaeb5bd1f
title: Use the Twitch JSON API
challengeType: 3
forumTopicId: 19541
dashedName: use-the-twitch-json-api
---
# --description--
@ -27,11 +28,6 @@ When you are finished, include a link to your project on CodePen and click the "
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
# --hints--
# --seed--
# --solutions--
```js