Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Fix Chinese Translation (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
gucong3000 committed Oct 23, 2018
1 parent 08db35f commit adbeadd
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 37 deletions.
19 changes: 8 additions & 11 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
indent_style = tab
trim_trailing_whitespace = true
end_of_line = lf
indent_style = tab
indent_size = 2
tab_width = 4
insert_final_newline = true
trim_trailing_whitespace = true
block_comment_start = /*
block_comment = *
block_comment_end = */

[{*.json,*.yml}]
[*.{json,yml,md}]
indent_style = space
indent_size = 2

[README.md]
indent_style = space
indent_size = 2

[{*.json}]
insert_final_newline = false
2 changes: 1 addition & 1 deletion locales/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"invalid indent style: space, expected: tab": "无效的缩进风格:空格,预期:tab",
"invalid indent style: tab, expected: space": "无效的缩进风格:tab,预期:空格",
"invalid line length: %s, exceeds: %s": "无效的行长度:%s,超出了:%s",
"invalid newline: %s, expected: %s": "无效的缩进尺寸:%s,预期:%s",
"invalid newline: %s, expected: %s": "无效的换行符:%s,预期:%s",
"unexpected final newline": "非预期的文件结尾换行",
"unexpected trailing whitespace": "非预期的行尾空白"
}
2 changes: 1 addition & 1 deletion locales/zh_TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"invalid indent style: space, expected: tab": "無效的縮排風格:空格,預期:tab",
"invalid indent style: tab, expected: space": "無效的縮排風格:tab,預期:空格",
"invalid line length: %s, exceeds: %s": "無效的行長度:%s,超出了:%s",
"invalid newline: %s, expected: %s": "無效的縮排尺寸:%s,預期:%s",
"invalid newline: %s, expected: %s": "無效的新行字元:%s,預期:%s",
"unexpected final newline": "非預期的檔案結尾新行",
"unexpected trailing whitespace": "非預期的行尾空白"
}
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eclint",
"version": "2.8.0",
"version": "2.8.1",
"description": "Validate or fix code that doesn't adhere to EditorConfig settings or infer settings from existing code.",
"keywords": [
"editorconfig",
Expand Down Expand Up @@ -60,49 +60,49 @@
"author": "EditorConfig Team",
"license": "MIT",
"dependencies": {
"editorconfig": "^0.15.0",
"file-type": "^8.1.0",
"editorconfig": "^0.15.2",
"file-type": "^10.1.0",
"gulp-exclude-gitignore": "^1.2.0",
"gulp-filter": "^5.1.0",
"gulp-reporter": "^2.9.0",
"gulp-tap": "^1.0.1",
"linez": "^4.1.4",
"lodash": "^4.17.10",
"lodash": "^4.17.11",
"minimatch": "^3.0.4",
"os-locale": "^2.1.0",
"os-locale": "^3.0.1",
"plugin-error": "^1.0.1",
"through2": "^2.0.3",
"vinyl": "^2.2.0",
"vinyl-fs": "^3.0.3",
"yargs": "^12.0.1"
"yargs": "^12.0.2"
},
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/chai": "^4.1.6",
"@types/fs-extra": "^5.0.4",
"@types/get-stream": "^3.0.1",
"@types/lodash": "^4.14.111",
"@types/mocha": "^5.2.4",
"@types/node": "^10.5.2",
"@types/lodash": "^4.14.117",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^5.0.1",
"@types/sinon": "^5.0.5",
"@types/sinon-chai": "^3.2.0",
"@types/through2": "^2.0.33",
"@types/through2": "^2.0.34",
"@types/vinyl": "^2.0.2",
"@types/vinyl-fs": "^2.4.8",
"@types/yargs": "^11.1.0",
"chai": "^4.1.2",
"event-stream": "^3.3.4",
"fs-extra": "^6.0.1",
"get-stream": "^3.0.0",
"@types/vinyl-fs": "^2.4.9",
"@types/yargs": "^12.0.1",
"chai": "^4.2.0",
"event-stream": "^4.0.1",
"fs-extra": "^7.0.0",
"get-stream": "^4.1.0",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"proxyquire": "^2.0.1",
"nyc": "^13.1.0",
"proxyquire": "^2.1.0",
"rimraf": "^2.6.2",
"sinon": "^6.1.3",
"sinon": "^7.0.0",
"sinon-chai": "^3.2.0",
"ts-node": "^7.0.0",
"tslint": "^5.10.0",
"typescript": "^2.9.2"
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"directories": {
"test": "test"
Expand Down

0 comments on commit adbeadd

Please sign in to comment.