(New) Translate javascript-algorithms-and-data-structures-projects#48
Open
LynnLian wants to merge 4 commits intoFreeCodeCampChina:translatefrom
Open
(New) Translate javascript-algorithms-and-data-structures-projects#48LynnLian wants to merge 4 commits intoFreeCodeCampChina:translatefrom
LynnLian wants to merge 4 commits intoFreeCodeCampChina:translatefrom
Conversation
4 tasks
Author
|
@wudifeixue @S1ngS1ng @huluoyang FYA (原pr有其他人的commit,所以新建pr) |
wudifeixue
suggested changes
Jul 31, 2018
| "<code>cid</code>是包含货币面值的二维数组。", | ||
| "函数<code>checkCashRegister()</code>必须返回含有<code>status</code>键值和<code>change</code>键值的对象。", | ||
| "如果收银机內的金额少于应找回的零钱数,或者你无法返回确切的数目时,返回<code>{status: \"INSUFFICIENT_FUNDS\", change: []}</code>。", | ||
| "如果收银机內的金额等于应找回的零钱数,返回{status: \"CLOSED\", change: [...]}</code>,其中<code>change</code>键值是收银机內的金额。", |
There was a problem hiding this comment.
这个错误太难抓了。。我搜索了<code>和</code>发现全局总数不正确。。就知道哪里出错了。
看原文Return后面有一个<code>但是翻译后的“如果收银机內的金额等于应找回的零钱数,返回“后面的<code>丢掉了。
Author
There was a problem hiding this comment.
点赞!! 用这个方法做检查非常赞 :)
最后为粗心大意感到抱歉 :P
- update for comment
wudifeixue
approved these changes
Aug 1, 2018
wudifeixue
suggested changes
Aug 1, 2018
| @@ -1,8 +1,8 @@ | |||
| # Introduction to the JavaScript Algorithms and Data Structures Projects # | |||
| # Introduction to the JavaScript Algorithms and Data Structures Projects # | ||
| # Javascript 算法和数据项目简介 # | ||
|
|
||
| Time to put your new JavaScript skills to work! These challenges will be similar to the algorithm scripting challenges but more difficult. This will allow you to prove how much you have learned. |
There was a problem hiding this comment.
这个new没有翻译,而且JavaScript拼错了。注意大小写的拼写哦。
| Time to put your new JavaScript skills to work! These challenges will be similar to the algorithm scripting challenges but more difficult. This will allow you to prove how much you have learned. | ||
| 是时候用上你的Javascr技能了!接下来的挑战和算法脚本的挑战很相近,但是难度会更高。这可以证明你究竟学到了多少。 | ||
|
|
||
| In this section you will create the following small JavaScript programs: |
Contributor
|
@wudifeixue Diff Settings 里调成 split,然后在右边 comment。左边是原文 |
|
@S1ngS1ng 奇怪了。这次可能是点错了。我的锅,不过上面的确实需要改一下 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
翻译章节
《算法和数据结构——实战》
变更文件
javascript-algorithms-and-data-structures-projects.json
javascript-algorithms-and-data-structures-projects.md
翻译进度
100%
100%