1
0
Fork 0
mirror of synced 2024-05-15 18:12:46 +12:00
Rare/CONTRIBUTING.md

27 lines
907 B
Markdown
Raw Normal View History

2021-02-18 06:54:53 +13:00
# Contributing
## What you can do
### Add translations
2021-04-13 07:55:08 +12:00
1. Execute ```pylupdate5 $(find -name "*.py") -ts Rare/languages/{your lang (two letters)}.ts``` in project directory
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```
### 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-04-01 10:11:37 +13:00
Select one Card of the project and implement it or make other changes
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.
2021-04-12 01:56:33 +12:00
If you uploaded your changes, create a pull request to dev-branch