Skip to content

Commit 539ddd4

Browse files
JasonEtcobooxood
authored andcommitted
chore: Github => GitHub (gitalk#137)
1 parent 895b52a commit 539ddd4

File tree

10 files changed

+58
-58
lines changed

10 files changed

+58
-58
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "gitalk",
33
"version": "1.2.2",
4-
"description": "A comment plugin base on Github issues",
4+
"description": "A comment plugin base on GitHub issues",
55
"keywords": [
66
"comment",
77
"plugin",
88
"lib",
9-
"Github"
9+
"GitHub"
1010
],
1111
"main": "dist/gitalk.js",
1212
"scripts": {

readme-cn.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[![NPM][npm-version-image]][npm-version-url] [![CDNJS][cdnjs-version-image]][cdnjs-version-url] [![david-dm][david-dm-image]][david-dm-url] [![travis][travis-image]][travis-url] [![coveralls][coveralls-image]][coveralls-url] [![gzip][gzip-size]][gzip-url]
44

5-
Gitalk 是一个基于 Github Issue 和 Preact 开发的评论插件。
5+
Gitalk 是一个基于 GitHub Issue 和 Preact 开发的评论插件。
66

77
## 特性
88

9-
- 使用 Github 登录
9+
- 使用 GitHub 登录
1010
- 支持多语言 [en, zh-CN, zh-TW, es-ES, fr, ru]
1111
- 支持个人或组织
1212
- 无干扰模式(设置 distractionFreeMode 为 true 开启)
@@ -44,15 +44,15 @@ import Gitalk from 'gitalk'
4444

4545
## 使用
4646

47-
需要 **Github Application**,如果没有 [点击这里申请](https://github.com/settings/applications/new)`Authorization callback URL` 填写当前使用插件页面的域名。
47+
需要 **GitHub Application**,如果没有 [点击这里申请](https://github.com/settings/applications/new)`Authorization callback URL` 填写当前使用插件页面的域名。
4848

4949
```js
5050
var gitalk = new Gitalk({
51-
clientID: 'Github Application Client ID',
52-
clientSecret: 'Github Application Client Secret',
53-
repo: 'Github repo',
54-
owner: 'Github repo owner',
55-
admin: ['Github repo owner and collaborators, only these guys can initialize github issues'],
51+
clientID: 'GitHub Application Client ID',
52+
clientSecret: 'GitHub Application Client Secret',
53+
repo: 'GitHub repo',
54+
owner: 'GitHub repo owner',
55+
admin: ['GitHub repo owner and collaborators, only these guys can initialize github issues'],
5656
id: location.pathname, // Ensure uniqueness and length less than 50
5757
distractionFreeMode: false // Facebook-like distraction free mode
5858
})
@@ -65,23 +65,23 @@ gitalk.render('gitalk-container')
6565

6666
- **clientID** `String`
6767

68-
**必须**. Github Application Client ID.
68+
**必须**. GitHub Application Client ID.
6969

7070
- **clientSecret** `String`
7171

72-
**必须**. Github Application Client Secret.
72+
**必须**. GitHub Application Client Secret.
7373

7474
- **repo** `String`
7575

76-
**必须**. Github repository.
76+
**必须**. GitHub repository.
7777

7878
- **owner** `String`
7979

80-
**必须**. Github repository 所有者,可以是个人或者组织。
80+
**必须**. GitHub repository 所有者,可以是个人或者组织。
8181

8282
- **admin** `Array`
8383

84-
**必须**. Github repository 的所有者和合作者 (对这个 repository 有写权限的用户)。
84+
**必须**. GitHub repository 的所有者和合作者 (对这个 repository 有写权限的用户)。
8585

8686
- **id** `String`
8787

@@ -93,19 +93,19 @@ gitalk.render('gitalk-container')
9393

9494
Default: `['Gitalk']`.
9595

96-
Github issue 的标签。
96+
GitHub issue 的标签。
9797

9898
- **title** `String`
9999

100100
Default: `document.title`.
101101

102-
Github issue 的标题。
102+
GitHub issue 的标题。
103103

104104
- **body** `String`
105105

106106
Default: `location.href + header.meta[description]`.
107107

108-
Github issue 的内容。
108+
GitHub issue 的内容。
109109

110110
- **language** `String`
111111

@@ -141,7 +141,7 @@ gitalk.render('gitalk-container')
141141

142142
Default: `https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token`.
143143

144-
Github oauth 请求到反向代理,为了支持 CORS。 [为什么要这样?](https://github.com/isaacs/github/issues/330)
144+
GitHub oauth 请求到反向代理,为了支持 CORS。 [为什么要这样?](https://github.com/isaacs/github/issues/330)
145145

146146
- **flipMoveOptions** `Object`
147147

readme-zh.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
[![NPM][npm-version-image]][npm-version-url] [![CDNJS][cdnjs-version-image]][cdnjs-version-url] [![david-dm][david-dm-image]][david-dm-url] [![travis][travis-image]][travis-url] [![coveralls][coveralls-image]][coveralls-url] [![gzip][gzip-size]][gzip-url]
55

6-
Gitalk 是一個基於 Github Issue 和 Preact 開發的評論插件。
6+
Gitalk 是一個基於 GitHub Issue 和 Preact 開發的評論插件。
77

88
## 特性
99

10-
- 使用 Github 登錄
10+
- 使用 GitHub 登錄
1111
- 支持多語言 [en, zh-CN, zh-TW, es-ES, fr, ru]
1212
- 支持個人或組織
1313
- 無干擾模式(設置 distractionFreeMode 為 true 開啟)
@@ -45,15 +45,15 @@ import Gitalk from 'gitalk'
4545

4646
## 使用
4747

48-
需要 **Github Application**,如果沒有 [點擊這裡申請](https://github.com/settings/applications/new)`Authorization callback URL` 填寫當前使用插件頁面的域名。
48+
需要 **GitHub Application**,如果沒有 [點擊這裡申請](https://github.com/settings/applications/new)`Authorization callback URL` 填寫當前使用插件頁面的域名。
4949

5050
```js
5151
var gitalk = new Gitalk({
52-
clientID: 'Github Application Client ID',
53-
clientSecret: 'Github Application Client Secret',
54-
repo: 'Github repo',
55-
owner: 'Github repo owner',
56-
admin: ['Github repo owner and collaborators, only these guys can initialize github issues'],
52+
clientID: 'GitHub Application Client ID',
53+
clientSecret: 'GitHub Application Client Secret',
54+
repo: 'GitHub repo',
55+
owner: 'GitHub repo owner',
56+
admin: ['GitHub repo owner and collaborators, only these guys can initialize github issues'],
5757
id: location.pathname, // Ensure uniqueness and length less than 50
5858
distractionFreeMode: false // Facebook-like distraction free mode
5959
})
@@ -66,23 +66,23 @@ gitalk.render('gitalk-container')
6666

6767
- **clientID** `String`
6868

69-
**必須**. Github Application Client ID.
69+
**必須**. GitHub Application Client ID.
7070

7171
- **clientSecret** `String`
7272

73-
**必須**. Github Application Client Secret.
73+
**必須**. GitHub Application Client Secret.
7474

7575
- **repo** `String`
7676

77-
**必須**. Github repository.
77+
**必須**. GitHub repository.
7878

7979
- **owner** `String`
8080

81-
**必須**. Github repository 所有者,可以是個人或者組織。
81+
**必須**. GitHub repository 所有者,可以是個人或者組織。
8282

8383
- **admin** `Array`
8484

85-
**必須**. Github repository 的所有者和合作者 (對這個 repository 有寫權限的用戶)。
85+
**必須**. GitHub repository 的所有者和合作者 (對這個 repository 有寫權限的用戶)。
8686

8787
- **id** `String`
8888

@@ -94,19 +94,19 @@ gitalk.render('gitalk-container')
9494

9595
Default: `['Gitalk']`.
9696

97-
Github issue 的標籤。
97+
GitHub issue 的標籤。
9898

9999
- **title** `String`
100100

101101
Default: `document.title`.
102102

103-
Github issue 的標題。
103+
GitHub issue 的標題。
104104

105105
- **body** `String`
106106

107107
Default: `location.href + header.meta[description]`.
108108

109-
Github issue 的內容。
109+
GitHub issue 的內容。
110110

111111
- **language** `String`
112112

@@ -142,7 +142,7 @@ gitalk.render('gitalk-container')
142142

143143
Default: `https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token`.
144144

145-
Github oauth 請求到反向代理,為了支持 CORS。 [為什麼要這樣?](https://github.com/isaacs/github/issues/330)
145+
GitHub oauth 請求到反向代理,為了支持 CORS。 [為什麼要這樣?](https://github.com/isaacs/github/issues/330)
146146

147147
- **flipMoveOptions** `Object`
148148

readme.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![NPM][npm-version-image]][npm-version-url] [![CDNJS][cdnjs-version-image]][cdnjs-version-url] [![david-dm][david-dm-image]][david-dm-url] [![travis][travis-image]][travis-url] [![coveralls][coveralls-image]][coveralls-url] [![gzip][gzip-size]][gzip-url]
44

5-
Gitalk is a modern comment component based on Github Issue and Preact.
5+
Gitalk is a modern comment component based on GitHub Issue and Preact.
66

77
## Features
88

@@ -45,17 +45,17 @@ import Gitalk from 'gitalk'
4545

4646
## Usage
4747

48-
A **Github Application** is needed for authorization, if you don't have one, [Click here to register](https://github.com/settings/applications/new) a new one.
48+
A **GitHub Application** is needed for authorization, if you don't have one, [Click here to register](https://github.com/settings/applications/new) a new one.
4949

5050
**Note:** You must specify the website domain url in the `Authorization callback URL` field.
5151

5252
```js
5353
const gitalk = new Gitalk({
54-
clientID: 'Github Application Client ID',
55-
clientSecret: 'Github Application Client Secret',
56-
repo: 'Github repo',
57-
owner: 'Github repo owner',
58-
admin: ['Github repo owner and collaborators, only these guys can initialize github issues'],
54+
clientID: 'GitHub Application Client ID',
55+
clientSecret: 'GitHub Application Client Secret',
56+
repo: 'GitHub repo',
57+
owner: 'GitHub repo owner',
58+
admin: ['GitHub repo owner and collaborators, only these guys can initialize github issues'],
5959
id: location.pathname, // Ensure uniqueness and length less than 50
6060
distractionFreeMode: false // Facebook-like distraction free mode
6161
})
@@ -68,23 +68,23 @@ gitalk.render('gitalk-container')
6868

6969
- **clientID** `String`
7070

71-
**Required**. Github Application Client ID.
71+
**Required**. GitHub Application Client ID.
7272

7373
- **clientSecret** `String`
7474

75-
**Required**. Github Application Client Secret.
75+
**Required**. GitHub Application Client Secret.
7676

7777
- **repo** `String`
7878

79-
**Required**. Github repository.
79+
**Required**. GitHub repository.
8080

8181
- **owner** `String`
8282

83-
**Required**. Github repository owner. Can be personal user or organization.
83+
**Required**. GitHub repository owner. Can be personal user or organization.
8484

8585
- **admin** `Array`
8686

87-
**Required**. Github repository owner and collaborators. (Users who having write access to this repository)
87+
**Required**. GitHub repository owner and collaborators. (Users who having write access to this repository)
8888

8989
- **id** `String`
9090

@@ -96,19 +96,19 @@ gitalk.render('gitalk-container')
9696

9797
Default: `['Gitalk']`.
9898

99-
Github issue labels.
99+
GitHub issue labels.
100100

101101
- **title** `String`
102102

103103
Default: `document.title`.
104104

105-
Github issue title.
105+
GitHub issue title.
106106

107107
- **body** `String`
108108

109109
Default: `location.href + header.meta[description]`.
110110

111-
Github issue body.
111+
GitHub issue body.
112112

113113
- **language** `String`
114114

@@ -144,7 +144,7 @@ gitalk.render('gitalk-container')
144144

145145
Default: `https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token`.
146146

147-
Github oauth request reverse proxy for CORS. [Why need this?](https://github.com/isaacs/github/issues/330)
147+
GitHub oauth request reverse proxy for CORS. [Why need this?](https://github.com/isaacs/github/issues/330)
148148

149149
- **flipMoveOptions** `Object`
150150

src/i18n/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"leave-a-comment": "Leave a comment",
77
"comment": "Comment",
88
"support-markdown": "Markdown is supported",
9-
"login-with-github": "Login with Github",
9+
"login-with-github": "Login with GitHub",
1010
"first-comment-person": "Be the first guy leaving a comment!",
1111
"commented": "commented",
1212
"load-more": "Load more",

src/i18n/es-ES.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"leave-a-comment": "Deja un comentario",
77
"comment": "Comentario",
88
"support-markdown": "Markdown es soportado",
9-
"login-with-github": "Entrar con Github",
9+
"login-with-github": "Entrar con GitHub",
1010
"first-comment-person": "Sé el primero en dejar un comentario!",
1111
"commented": "comentó",
1212
"load-more": "Cargar más",

src/i18n/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"leave-a-comment": "Laisser un commentaire",
77
"comment": "Commentaire",
88
"support-markdown": "Markdown est supporté",
9-
"login-with-github": "Se connecter avec Github",
9+
"login-with-github": "Se connecter avec GitHub",
1010
"first-comment-person": "Être le premier à laisser un commentaire !",
1111
"commented": "commenter",
1212
"load-more": "Charger plus",

src/i18n/ru.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"leave-a-comment": "Оставить комментарий",
77
"comment": "Комментарий",
88
"support-markdown": "Поддерживается Markdown",
9-
"login-with-github": "Вход через Github",
9+
"login-with-github": "Вход через GitHub",
1010
"first-comment-person": "Будьте первым, кто оставил комментарий",
1111
"commented": "прокомментированный",
1212
"load-more": "Загрузить ещё",

src/i18n/zh-CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"leave-a-comment": "说点什么",
77
"comment": "评论",
88
"support-markdown": "支持 Markdown 语法",
9-
"login-with-github": "使用 Github 登录",
9+
"login-with-github": "使用 GitHub 登录",
1010
"first-comment-person": "来做第一个留言的人吧!",
1111
"commented": "发表于",
1212
"load-more": "加载更多",

src/i18n/zh-TW.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"leave-a-comment": "寫點什麼",
77
"comment": "評論",
88
"support-markdown": "支援 Markdown 語法",
9-
"login-with-github": "使用 Github 登入",
9+
"login-with-github": "使用 GitHub 登入",
1010
"first-comment-person": "成為首個留言的人吧!",
1111
"commented": "評論於",
1212
"load-more": "載入更多",

0 commit comments

Comments
 (0)