Open
Conversation
added 3 commits
July 28, 2018 10:05
Contributor
|
句末缺少句号 |
huluoyang
suggested changes
Jul 28, 2018
03-front-end-libraries/sass.json
Outdated
| { | ||
| "id": "587d7dbd367417b2b2512bb4", | ||
| "title": "Store Data with Sass Variables", | ||
| "title": "使用sass变量储存数据", |
Contributor
There was a problem hiding this comment.
sass => Sass
此外中英文应用空格分开,请查看翻译规范。
03-front-end-libraries/sass.json
Outdated
| "One feature of Sass that's different than CSS is it uses variables. They are declared and set to store data, similar to JavaScript.", | ||
| "In JavaScript, variables are defined using the <code>let</code> and <code>const</code> keywords. In Sass, variables start with a <code>$</code> followed by the variable name.", | ||
| "Here are a couple examples:", | ||
| "Sass不同于CSS的一个特点是它使用变量。 类似于JavaScript,它们被声明并设置为存储数据", |
Contributor
There was a problem hiding this comment.
这是直译,所以显得生硬,不流畅。
句末应添加句号。
03-front-end-libraries/sass.json
Outdated
| { | ||
| "text": "Your code should re-organize the CSS rules so the <code>h1</code> and <code>p</code> are nested in the <code>.blog-post</code> parent element.", | ||
| "testString": "assert(code.match(/\\.blog-post\\s*?{\\s*?h1\\s*?{\\s*?text-align:\\s*?center;\\s*?color:\\s*?blue;\\s*?}\\s*?p\\s*?{\\s*?font-size:\\s*?20px;\\s*?}\\s*?}/gi), 'Your code should re-organize the CSS rules so the <code>h1</code> and <code>p</code> are nested in the <code>.blog-post</code> parent element.');" | ||
| "text": "您的代码应重新组织CSS规则,以便 <code>h1</code> 和 <code>p</code> 嵌套在 <code>.blog-post</code> 父元素中。", |
S1ngS1ng
suggested changes
Aug 3, 2018
Contributor
S1ngS1ng
left a comment
There was a problem hiding this comment.
@biglemontree 这表示有 syntax error(语法错误)。这些是 JSON 文件,每行结尾不能用中文逗号的
Author
|
完成第5小节, 欢迎review |
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.


翻译章节
《前端库和框架》
变更文件
sass.json
翻译进度
5/9