@@ -168,28 +168,30 @@ Vimのソースコードに変更を加える際、守るべきルールがあ
168
168
MAKING CHANGES *style-changes*
169
169
170
170
コードに変更を加える基本的なステップは:
171
- 1. Get the code from github. That makes it easier to keep your changed
172
- version in sync with the main code base (it may be a while before your
173
- changes will be included). You do need to spend some time learning git,
174
- it's not the most user friendly tool.
171
+ 1. GitHub からコードを取得する。これによりあなたが変更したコードをメインのコー
172
+ ドベースに同期するのがより簡単になる (あなたの変更がメインのコードベースに含
173
+ まれるようになるまで少しかかるかもしれない) 。いくらか時間を費やして git に
174
+ ついて学ぶ必要がある。git はあまりユーザフレンドリーなツールではない。
175
175
2. ドキュメントを調整する。最初にこれをやることで、あなたの行う変更がユーザー
176
176
に与える影響について、おおまかな印象をもつことができる。
177
177
3. ソースコードに変更を加える。
178
178
4. 変更がリストされた項目に影響を与えていないか、../doc/todo.txtをチェックす
179
179
る。
180
- 5. Make a patch with "git diff". You can also create a pull request on
181
- github, but it's the diff that matters.
182
- 6. Make a note about what changed, preferably mentioning the problem and the
183
- solution. Send an email to the vim-dev maillist with an explanation and
184
- include the diff. Or create a pull request on github.
180
+ 5. "git diff" でパッチを作成する。GitHub でプルリクエストを作成しても良いが、重
181
+ 要なのはその diff である。
182
+ 6. 何が変更されたかのノートを作成する。問題点とその解決策について書かれている
183
+ のが望ましい。 vim-dev のメーリングリストに説明と diff を含めたメールを送るか
184
+ GitHub でプルリクエストを作成する。
185
185
186
186
187
187
C COMPILER *style-compiler*
188
188
189
- The minimal C compiler version supported is C89, also known as ANSI C.
190
- Later standards don't add much and C89 is the widest supported.
189
+ サポートされている最小の C コンパイラのバージョンは C89 (ANSI C とも呼ばれてい
190
+ る) である。C89 以降の標準規格にはあまり多くの機能追加が無く C89 はもっとも普及
191
+ している。
191
192
192
- One restriction that this implies: no // comments, only /* comments */.
193
+ この項目が暗に示している制限の1つとして、 // コメントではなく /* コメント */ を
194
+ 使わなければならない。
193
195
194
196
195
197
USE OF COMMON FUNCTIONS *style-functions*
0 commit comments