mirror of
https://github.com/sparanoid/chinese-copywriting-guidelines.git
synced 2026-04-06 05:01:24 +08:00
Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b19a3274b | ||
|
|
48f7cb8601 | ||
|
|
666279696d | ||
|
|
bea8e172b1 | ||
|
|
1fb7e8d08b | ||
|
|
1bd7b8f874 | ||
|
|
c808cb13c7 | ||
|
|
dfd2b9d268 | ||
|
|
b5ab14fa0c | ||
|
|
ac6b463c69 | ||
|
|
a7c0ce50c3 | ||
|
|
6f8f4fd237 | ||
|
|
9a009b3d5d | ||
|
|
c0e573f2df | ||
|
|
c2ec2d82cb | ||
|
|
423cfa9c96 | ||
|
|
f2d982d73f |
29
CHANGELOG.md
29
CHANGELOG.md
@@ -1,3 +1,32 @@
|
||||
<a name="0.0.6"></a>
|
||||
## [0.0.6](https://github.com/sparanoid/chinese-copywriting-guidelines/compare/v0.0.5...v0.0.6) (2015-08-12)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **grunt:** better version handling ([6662796](https://github.com/sparanoid/chinese-copywriting-guidelines/commit/6662796))
|
||||
* **package:** update contributors ([48f7cb8](https://github.com/sparanoid/chinese-copywriting-guidelines/commit/48f7cb8))
|
||||
* **package:** update contributors ([bea8e17](https://github.com/sparanoid/chinese-copywriting-guidelines/commit/bea8e17))
|
||||
|
||||
|
||||
|
||||
<a name="0.0.5"></a>
|
||||
### 0.0.5 (2015-07-08)
|
||||
|
||||
|
||||
#### Bug Fixes
|
||||
|
||||
* **docs:**
|
||||
* typo HTML5, fixes #19 ([9a009b3d](http://github.com/sparanoid/chinese-copywriting-guidelines/commit/9a009b3d5d99e21692153c3086fff10b21407dc7))
|
||||
* wrong heading ([c2ec2d82](http://github.com/sparanoid/chinese-copywriting-guidelines/commit/c2ec2d82cbab504ee3185b546457c2e148361884))
|
||||
* **package:** license not defined ([ac6b463c](http://github.com/sparanoid/chinese-copywriting-guidelines/commit/ac6b463c6903d8e8cfad7cb23b6bd772de8bc6d6))
|
||||
|
||||
|
||||
#### Features
|
||||
|
||||
* **docs:** avoid unidiomatic jargons ([f2d982d7](http://github.com/sparanoid/chinese-copywriting-guidelines/commit/f2d982d73fa60788c69908039825a772b45a814f))
|
||||
|
||||
|
||||
<a name="0.0.4"></a>
|
||||
### 0.0.4 (2015-04-22)
|
||||
|
||||
|
||||
@@ -9,23 +9,34 @@ module.exports = (grunt) ->
|
||||
config:
|
||||
pkg: grunt.file.readJSON("package.json")
|
||||
|
||||
release:
|
||||
"npm-contributors":
|
||||
options:
|
||||
changelog: false,
|
||||
file: "package.json"
|
||||
npm: false
|
||||
commitMessage: "chore: release <%= version %>"
|
||||
tagName: "v<%= version %>"
|
||||
tagMessage: "chore: tagging version <%= version %>"
|
||||
afterBump: [
|
||||
"changelog"
|
||||
]
|
||||
# Dev options
|
||||
commit: false
|
||||
tag: false
|
||||
commitMessage: "feat(package): update contributors"
|
||||
|
||||
conventionalChangelog:
|
||||
options:
|
||||
changelogOpts:
|
||||
preset: "angular"
|
||||
|
||||
dist:
|
||||
src: "CHANGELOG.md"
|
||||
|
||||
bump:
|
||||
options:
|
||||
files: ["package.json"]
|
||||
commitMessage: 'chore: release v%VERSION%'
|
||||
commitFiles: ["-a"]
|
||||
tagMessage: 'chore: create tag %VERSION%'
|
||||
push: false
|
||||
pushTags: false
|
||||
|
||||
grunt.registerTask "default", "Default task aka. build task", [
|
||||
"changelog"
|
||||
]
|
||||
|
||||
grunt.registerTask "default", "Default task aka. build task", (type) ->
|
||||
grunt.task.run [
|
||||
"npm-contributors"
|
||||
"bump-only:#{type or 'patch'}"
|
||||
"conventionalChangelog"
|
||||
"bump-commit"
|
||||
]
|
||||
|
||||
31
README.md
31
README.md
@@ -19,8 +19,9 @@
|
||||
- [使用全形中文標點](#fullwidth-halfwidth-c1)
|
||||
- [數字使用半形字符](#fullwidth-halfwidth-c2)
|
||||
- [遇到完整的英文整句、特殊名詞,其內容使用半形標點](#fullwidth-halfwidth-c3)
|
||||
- [大小寫](#letter-case)
|
||||
- [專有名詞使用正確的大小寫](#letter-case-c1)
|
||||
- [名詞](#glossaries)
|
||||
- [專有名詞使用正確的大小寫](#glossaries-c1)
|
||||
- [不要使用不地道的縮寫](#glossaries-c2)
|
||||
- [爭議](#dispute)
|
||||
- [中文鏈接之間增加空格](#dispute-c1)
|
||||
- [簡體中文使用直角引號](#dispute-c2)
|
||||
@@ -49,6 +50,7 @@
|
||||
> 在 LeanCloud上,數據存儲是圍繞`AVObject` 進行的。
|
||||
|
||||
完整的正確用法:
|
||||
|
||||
> 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。每个 `AVObject` 都包含了与 JSON 兼容的 key-value 对应的数据。数据是 schema-free 的,你不需要在每个 `AVObject` 上提前指定存在哪些键,只要直接设定对应的 key-value 即可。
|
||||
|
||||
:exclamation: 例外:「豆瓣FM」等產品名詞,按照官方所定義的格式書寫。
|
||||
@@ -71,11 +73,11 @@
|
||||
|
||||
正確:
|
||||
|
||||
> 我家的寬帶有 1 Gbps,硬盤一共有 10 TB。
|
||||
> 我家的光纖入屋寬頻有 10 Gbps,SSD 一共有 20 TB。
|
||||
|
||||
錯誤:
|
||||
|
||||
> 我家的寬帶有 1Gbps,硬盤一共有 10TB。
|
||||
> 我家的光纖入屋寬頻有 10Gbps,SSD 一共有 20TB。
|
||||
|
||||
:exclamation: 例外:度/百分比與數字之間不需要增加空格:
|
||||
|
||||
@@ -183,14 +185,14 @@ Microsoft 有個 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
|
||||
|
||||
> 推薦你閱讀『Hackers&Painters:Big Ideas from the Computer Age』,非常的有趣。
|
||||
|
||||
<a name="letter-case"></a>
|
||||
## 大小寫
|
||||
<a name="glossaries"></a>
|
||||
## 名詞
|
||||
|
||||
<a name="glossaries-c1"></a>
|
||||
### 專有名詞使用正確的大小寫
|
||||
|
||||
大小寫相關用法原屬於英文書寫範疇,不屬於本 wiki 討論內容,在這裡只對部分易錯用法進行簡述。
|
||||
|
||||
<a name="letter-case-c1"></a>
|
||||
### 專有名詞使用正確的大小寫
|
||||
|
||||
正確:
|
||||
|
||||
> 使用 GitHub 登錄
|
||||
@@ -221,6 +223,17 @@ Microsoft 有個 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
|
||||
|
||||
注意:當網頁中需要配合整體視覺風格而出現全部大寫/小寫的情形,HTML 中請使用標準的大小寫規範進行書寫;並通過 `text-transform: uppercase;`/`text-transform: lowercase;` 對表現形式進行定義。
|
||||
|
||||
<a name="glossaries-c2"></a>
|
||||
### 不要使用不地道的縮寫
|
||||
|
||||
正確:
|
||||
|
||||
> 我們需要一位熟悉 JavaScript、HTML5,至少理解一种框架(如 Backbone.js、AngularJS、React 等)的前端開發者。
|
||||
|
||||
錯誤:
|
||||
|
||||
> 我們需要一位熟悉 Js、h5,至少理解一种框架(如 backbone、angular、RJS 等)的 FED。
|
||||
|
||||
<a name="dispute"></a>
|
||||
## 爭議
|
||||
|
||||
|
||||
25
package.json
25
package.json
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "chinese-copywriting-guidelines",
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.6",
|
||||
"description": "Chinese Copywriting Guidelines",
|
||||
"author": "Tunghsiao Liu",
|
||||
"homepage": "http://sparanoid.com/",
|
||||
"homepage": "http://github.com/sparanoid/chinese-copywriting-guidelines",
|
||||
"main": "README.md",
|
||||
"scripts": {
|
||||
"test": "grunt"
|
||||
@@ -15,10 +15,7 @@
|
||||
"bugs": {
|
||||
"url": "http://github.com/sparanoid/chinese-copywriting-guidelines/issues"
|
||||
},
|
||||
"licenses": {
|
||||
"type": "WTFPL",
|
||||
"url": "http://github.com/sparanoid/chinese-copywriting-guidelines/blob/master/LICENSE"
|
||||
},
|
||||
"license": "WTFPL",
|
||||
"keywords": [
|
||||
"chinese",
|
||||
"copywriting",
|
||||
@@ -27,8 +24,18 @@
|
||||
"readmeFilename": "README.md",
|
||||
"devDependencies": {
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-conventional-changelog": "^1.2.1",
|
||||
"grunt-release": "^0.12.0",
|
||||
"grunt-bump": "^0.3.1",
|
||||
"grunt-conventional-changelog": "^4.0.0",
|
||||
"grunt-npm": "0.0.2",
|
||||
"matchdep": "^0.3.0"
|
||||
}
|
||||
},
|
||||
"contributors": [
|
||||
"Jason Lee <huacnlee@gmail.com>",
|
||||
"Huei Tan <huei90@users.noreply.github.com>",
|
||||
"Yang Li <idealhack@gmail.com>",
|
||||
"tzx <district10@users.noreply.github.com>",
|
||||
"Charlie Jade <summer.alex07@gmail.com>",
|
||||
"hotoo@users.noreply.github.com>",
|
||||
"Elethom Hunter <elethomhunter@gmail.com>"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user