Contributing
If you want to fix a mistake, or if you want to work on what was already publicly decided in issues - You are welcome to just send Pull Requests!
If you want to change rules, or if you don’t know how to use Codeberg, it’s better to first open a suggestion in Issues or via Itch.io forum.
Regardless, please:
- Don’t use Generative AI/LLM software for contributions;
- Try to keep changes consistent with existing contents.
You keep copyright over submitted changes, so feel free yourself to Legal.md and copyright header for edited files (comment reading SPDX-FileCopyrightText: [year] [copyright holder] <[email address]>). By contributing your changes, you license them under license in the header.
To test the static website locally, install mdBooks, run git clone https://codeberg.org/mailbun/touhou-dnd, and run mdbooks serve --open in project directory.
Translations
If you want to contribute translations, easiest way is to use Weblate via https://translate.codeberg.org/projects/touhou-dnd/. Just log in via Codeberg (register if you don’t have a Codeberg account), agree to licensing terms, check Overview for instructions, and start editing. Once maintainers check your translations, they can be added into the next release.
You can also add a new language via Weblate, but there are still manual changes in repository needed for translation to be built automatically, such as adding new language to switcher in theme/index.hbs.
To edit existing translations locally, you need a Gettext-compatible editor, such as PoEdit or Lokalize. Open and change po/XX.po where XX is language code.
For more technical guide, that includes creating new translations, updating against source text and building local changes with mdBooks, see https://github.com/google/mdbook-i18n-helpers/blob/main/i18n-helpers/USAGE.md.