2021-02-18 06:54:53 +13:00
|
|
|
# Contributing
|
|
|
|
|
|
|
|
## What you can do
|
|
|
|
|
|
|
|
### Add translations
|
|
|
|
|
2021-05-21 23:40:10 +12:00
|
|
|
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```
|
|
|
|
|
2021-04-23 00:25:47 +12:00
|
|
|
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
|
|
|
|
|
2021-05-21 23:40:10 +12:00
|
|
|
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
|
2021-05-21 23:40:10 +12:00
|
|
|
|
|
|
|
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.
|
2021-04-07 21:52:03 +12:00
|
|
|
|
2021-04-23 00:25:47 +12:00
|
|
|
If you uploaded your changes, create a pull request
|