2024-09-08 18:08:49 +08:00
|
|
|
# Contributing to Dominion
|
|
|
|
|
2024-09-10 16:55:25 +08:00
|
|
|
Thank you for considering contributing to Dominion! We welcome contributions from everyone. By participating in this
|
|
|
|
project, you agree to abide by our code of conduct.
|
2024-09-08 18:08:49 +08:00
|
|
|
|
|
|
|
## How to Contribute
|
|
|
|
|
2024-09-08 18:55:11 +08:00
|
|
|
### 🪲Reporting Bugs
|
2024-09-08 18:08:49 +08:00
|
|
|
|
2024-09-10 16:55:25 +08:00
|
|
|
If you find a bug, please report it by opening an issue on our GitHub repository. Include as much detail as possible,
|
|
|
|
including steps to reproduce the issue, the expected result, and the actual result.
|
2024-09-08 18:08:49 +08:00
|
|
|
|
2024-09-08 18:55:11 +08:00
|
|
|
### 💡Suggesting Enhancements
|
2024-09-08 18:08:49 +08:00
|
|
|
|
2024-09-10 16:55:25 +08:00
|
|
|
We welcome suggestions for new features or improvements. Please open an issue on our GitHub repository and describe the
|
|
|
|
enhancement you would like to see, why you think it would be useful, and any other relevant information.
|
2024-09-08 18:08:49 +08:00
|
|
|
|
2024-09-10 16:55:25 +08:00
|
|
|
### 🌐Translating
|
2024-09-08 18:08:49 +08:00
|
|
|
|
2024-09-13 09:55:49 +08:00
|
|
|
#### **Translate Plugin Messages**
|
|
|
|
|
|
|
|
Since the plugin messages are translated by AI, there must be some mistakes in the translation. If you find any mistakes
|
|
|
|
(or inappropriate translations), there are two ways to help us improve the translation:
|
|
|
|
|
2024-09-20 16:56:32 +08:00
|
|
|
1. Fork the repository & clone the repository to your local.
|
|
|
|
2. Create a new branch for your translation.
|
|
|
|
3. Translate the plugin messages.
|
|
|
|
4. Commit & Push your changes to your fork.
|
|
|
|
5. Open a pull request, wait for your pull request to be reviewed and merged.
|
|
|
|
|
|
|
|
Plugin messages are located in the `languages` directory. Translate the files in the language you want to
|
|
|
|
|
|
|
|
- If the language you want to translate to does not exist, create a new file with the language code (e.g., `zh-cn.yml`
|
|
|
|
for Simplified Chinese).
|
|
|
|
- If the translation is not up-to-date, please update it from the `zh-cn.yml` file.
|
|
|
|
- Don't forget to leave your name in the header-comment of the file.
|
|
|
|
|
|
|
|
> Plugin messages was uploaded to Crowdin too, you can directly modify the translation on
|
|
|
|
> the [Crowdin project](https://crowdin.com/project/dominion).
|
|
|
|
>
|
|
|
|
> But we **NOT RECOMMEND** this way, because the translation on Crowdin may not be the latest.
|
|
|
|
>
|
|
|
|
> ![Crowdin](https://badges.crowdin.net/dominion/localized.svg)
|
2024-09-08 18:08:49 +08:00
|
|
|
|
2024-09-10 16:55:25 +08:00
|
|
|
|
|
|
|
#### **Translate Documentation**
|
|
|
|
|
2024-09-20 16:56:32 +08:00
|
|
|
1. Fork the repository & clone the repository to your local.
|
2024-09-10 16:55:25 +08:00
|
|
|
2. Create a new branch for your translation.
|
|
|
|
3. Translate the documentation or plugin messages.
|
|
|
|
4. Commit & Push your changes to your fork.
|
|
|
|
5. Open a pull request, wait for your pull request to be reviewed and merged.
|
|
|
|
|
|
|
|
Documentations are located in the `docs` directory. Translate the files in the language you want to contribute to.
|
|
|
|
|
|
|
|
- If the language you want to translate to does not exist, create a new directory with the language code (e.g., `zh-cn`
|
|
|
|
for Simplified Chinese).
|
|
|
|
- If the documentation is not up-to-date, please update it from the `zh-cn` directory.
|
|
|
|
- Don't forget to leave your name and contact information in `docs/YOUR_LANGUAGE_CODE/README.md` below.
|
2024-09-08 18:08:49 +08:00
|
|
|
|
2024-09-08 18:55:11 +08:00
|
|
|
## 🫴Getting Help
|
2024-09-08 18:08:49 +08:00
|
|
|
|
|
|
|
If you need help, feel free to ask questions by opening an issue on our GitHub repository.
|
|
|
|
|
2024-09-08 19:22:38 +08:00
|
|
|
Thank you for contributing ❤!
|