1
0
Fork 0
mirror of synced 2024-05-16 02:22:57 +12:00
Rare/CONTRIBUTING.md

31 lines
1 KiB
Markdown
Raw Normal View History

2021-02-18 06:54:53 +13:00
# Contributing
## What you can do
### Add translations
1. Execute ```pylupdate5 $(find -name "*.py") -ts Rare/languages/de.ts``` in source directory. Replace *de* with your
language code
2021-02-18 06:54:53 +13:00
2. Modify the .ts file manually or in Qt Linguist
3. Compile the file with ```lrelease Rare/languages/{lang}.ts```
If compilation fails, just push ts file. Then I will compile it
2021-02-18 06:54:53 +13:00
### Add Stylesheets
2021-02-27 07:28:54 +13:00
For this you can create a .qss file in Rare/Styles/ directory or modify the existing RareStyle.qss file. Here are some
2021-04-13 07:55:08 +12:00
examples:
2021-02-18 06:54:53 +13:00
[Qt Docs](https://doc.qt.io/qt-5/stylesheet-examples.html)
### Add features
Select one Card of the project and implement it, or if you want to add another feature ask me on Discord, or create an
issue on GitHub
2021-04-01 10:11:37 +13:00
2021-04-12 01:56:33 +12:00
## Git crash-course
To contribute fork the repository and clone **your** repo. Then make your changes, add it to git with `git add File.xy`
and upload it to GitHub with `git commit -m "message"` and `git push`. Some IDEs can do this automatically.
If you uploaded your changes, create a pull request