docs: add "About branches" section to README

This commit is contained in:
Hakadao
2024-01-06 02:50:17 +08:00
parent 9cb4fda008
commit 2009aee18b
4 changed files with 30 additions and 6 deletions

View File

@@ -84,9 +84,15 @@ pnpm build
然后打包到 `extension` 文件夹
### 🤝 协助开发
### 🤝 贡献
#### i18n
#### 关于分支
- **Main**: 此分支用于只涉及文档文件(如 README 文件)的更改,不改变代码或其功能。
- **Dev**: 用此分支进行新功能的开发、性能改进或对国际化i18n文件的修改。
- **Bugfixes**: 此分支专门用于修复 main 分支中出现的错误。
#### I18n
- 在进行翻译时,如果你遇到一种你不熟悉的语言,可以使用另一种你已经翻译过的语言,并在 PR 中指出你无法翻译的语言。

View File

@@ -84,9 +84,15 @@ pnpm build
然後打包 `extension` 下的檔案
### 🤝 協同作業
### 🤝 貢獻
#### i18n
#### 關於分支
- **Main**: 此分支設計用於僅涉及文件檔案(如 README 檔案)的更改,不更改程式碼或其功能。
- **Dev**: 使用此分支進行新功能的開發、改進效能或對語系檔i18n的修改。
- **Bugfixes**: 此分支專門用於修正 main 分支中出現的錯誤。
#### I18n
- 在進行翻譯時,如果你遇到一種你不熟悉的語言,你可以使用另一種你已經翻譯過的語言來翻譯,並在 PR 中指出你無法翻譯的那個語言。
- **請手動維護 i18n 國際化語系檔!!!** 請勿使用 `i18n Ally` 或其他擴充套件來進行維護。 我知道你可能會感到困惑,或者可能不喜歡這樣做,但使用 `i18n Ally` 進行維護後,將不確定翻譯放在哪裏,或刪除程式碼註解。

View File

@@ -84,7 +84,13 @@ pnpm build
然之後打包 `extension` 下嘅檔案
### 🤝 一齊整
### 🤝 貢獻
#### 關於分支
- **Main**: 呢個分支係專門愛嚟執吓文件檔案(例如如 README 檔案),唔執程式碼抑或佢啲功能。
- **Dev**: 用呢個分支進行新功能嘅開發、改進效能抑或執語系檔i18n
- **Bugfixes**: 呢個分支專門愛嚟執啲喺 main 分支中出現嘅錯誤。
#### i18n

View File

@@ -86,7 +86,13 @@ And then pack files under `extension`
### 🤝 Contribution
#### i18n
#### About branches
- **Main**: This branch is designed for changes that are restricted to documentation files like READMEs, without altering the code or its functionality.
- **Dev**: Use this brach for new features, performance improvements or modifications to i18n files.
- **Bugfixes**: This branch should be used exclusively for fixing bugs that appear in the main branch.
#### I18n
- When doing translations, if you have a language you are not familiar with, you can use another language that you have translated and point out what language you cannot translate in the pull request.