From d2ca816a96d19d0eb261db7bba6d65a68fab91ec Mon Sep 17 00:00:00 2001 From: Yusuke Date: Fri, 24 Jan 2025 19:24:48 +0900 Subject: [PATCH] feat: (i18n) translate commit-convention.md to japanese commit-convention.md was written in English. Translate this into Japanese. --- .github/commit-convention.md | 60 ++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/commit-convention.md b/.github/commit-convention.md index e90c02e4..f8e9f996 100644 --- a/.github/commit-convention.md +++ b/.github/commit-convention.md @@ -1,50 +1,50 @@ -## Git Commit Message Convention +## Gitのコミット・メッセージに関する規約 -> This is adapted from [Angular's commit convention](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular). +> これは[Angularのコミット規約](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular)を参考にしたものです。 -#### TL;DR: +#### 要約: -Messages must be matched by the following regex: +メッセージは以下の正規表現でマッチさせる必要があります: ```js /^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/ ``` -#### Examples +#### 例 -Appears under "Features" header, `theme` subheader: +"Features"ヘッダーの`theme`サブヘッダーに表示されます: ``` -feat(theme): add home page feature +feat(theme): add home page feature(訳: ホームページ機能の追加です) ``` -Appears under "Bug Fixes" header, `theme` subheader, with a link to issue #28: +"BugFixes"ヘッダーの`theme`サブヘッダーに、issue #28へのリンクとともに表示されます: ``` -fix(theme): remove underline on sidebar hover style +fix(テーマ): remove underline on sidebar hover style(訳: サイドバーのホバースタイルから下線を取り除きます) close #28 ``` -Appears under "Performance Improvements" header, and under "Breaking Changes" with the breaking change explanation: +"Performance Improvements"ヘッダーの下に表示され、"Breaking Changes"の下には変更点の説明とともに表示されます: ``` -perf: improve store getters performance by removing 'foo' option +perf: improve store getters performance by removing 'foo' option(訳: 'foo'オプションを削除することで、ストアゲッターのパフォーマンスを改善します) -BREAKING CHANGE: The 'foo' option has been removed. +BREAKING CHANGE: The 'foo' option has been removed.(訳: 'foo'オプションは削除されました。) ``` -The following commit and commit `667ecc1` do not appear in the changelog if they are under the same release. If not, the revert commit appears under the "Reverts" header. +以下のコミットとコミット`667ecc1`は同じリリースの場合、changelogに表示されません。そうでない場合、差し戻しコミットは"Reverts"ヘッダーの下に表示されます。 ``` -revert: feat(theme): add home page feature +revert: feat(theme): add home page feature(訳: ホームページ機能の追加) This reverts commit 667ecc1654a317a13331b17617d973392f415f02. ``` -### Full Message Format +### 完全なメッセージ・フォーマット -A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**: +コミット・メッセージは**header**、**body**、**footer**で構成されます。ヘッダーには **type**、**scope**、**subject** があります: ``` (): @@ -54,38 +54,38 @@ A commit message consists of a **header**, **body** and **footer**. The header h