This document describes some points about contribution process for OpenToonz.
OpenToonz organization loves any kinds of your contributions, such as fixing typos and code refactroing. If you fixed or added something useful to the OpenToonz, please send pull-requests to us. We review the request, then we accept it, or add comments for rework, or decline it.
fork
OpenToonz to your GitHub account fromopentoonz/opentoonz
.
- (use the
fork
button at the https://github.com/opentoonz/opentoonz)
clone
the repository.
git clone [email protected]:your-github-account/opentoonz.git
git remote add upstream https://github.com/opentoonz/opentoonz.git
, additionally.
- modify the codes.
git checkout -b your-branch-name
your-branch-name
is a name of your modifications, for example,fix/fatal-bugs
,feature/new-useful-gui
and so on.
- fix codes, then test them.
git commit
them with good commit messages.
pull
the latest changes form themaster
branch of the upstream.
git pull upstream master
orgit pull --rebase upstream master
.- apply clang-format with
toonz/sources/.clang-format
.cd toonz/sources
./beautification.sh
orbeautification.bat
.
git commit
them.git push origin your-branch-name
.
- make a pull request.
If you found bugs, please report details about them using issues. Then we will try to reproduce the bugs and fix them. Unfortunately, sometimes bugs can be only reproduced in your your environment, so we cannot reproduce them. We believe you can fix the bug and send us the fix.
If you had an idea about a new feature, please implement it and send a pull-request to us. Even if you cannot implement the feature, you can open a topic in issues. It enables us to discuss about implementaions of the feature there.
Translation source (.ts
) files for OpenToonz GUI are located in toonz/sources/translations
.
If you create new .ts
files for your language or polish existing ones,
please send us those modifications as pull-requests.
Qt Linguist is usefull for translating them.
Please send us Qt message (.qm
) files with .ts
files if you can make the following modifications.
OpenToonz uses .qm
files generated from .ts
files.
You can generate .qm
files by using Qt Linguist.
Please locate generated .qm
files in stuff/config/loc
.
It enables OpenToonz installer to install them into the stuff
directory.