Thank you for showing an interesting in contributing to Atto Weather!
When reporting an issue, please provide the information below. This will allow developers to debug your issue and implement potential fixes.
- The version of Atto Weather and your operating system.
- The log file created by the app (run the app through the command line).
- Steps showing how to reproduce the issue.
- Screenshots or videos demonstrating the issue (optional but recommended).
Atto Weather uses TOML files for translations. They are stored in the languages/
folder.
- Find your language file in the
languages/
folder. Each file is named by its respective ISO 639-1 language code. - Look for any missing or commented-out translations. Compare with the
en.toml
file. - Translate them accordingly and submit your PR.
- Create a new language file by copying the contents of the
en.toml
file. Use the corresponding ISO 639-1 language code for the filename. - Set the
language
field below[self]
to the name of the language (as it would be called in that language). - Apply all equivalent translations. If unable to provide a translation for a specific field, comment that field out and explain your reasoning in English (as in:
# feels_like = null # x reason
). - Test your translation by adding it to the
languages
folder and using it within the app. - Create a PR as usual.
- Docstrings should be written according to the Google Python Style Guide.
- Code should mostly adhere to the PEP8 style guide.
- Markdown documents are linted through Markdownlint.
- Commit messages follow Conventional Commits. See below.
- Strings within the user interface should be localized.
Our project follows Semantic Versioning 2.0.0. In short:
- Major versions are ground-breaking changes. These hold no guarantees (
1.0.0
to2.0.0
would not be possible, nor would2.0.0
to1.0.0
). - Minor versions include additions that guarantee an upgrade is possible but not a downgrade (
1.0.0
to1.1.0
is possible, but not1.1.0
to1.0.0
). - Patch versions are small fixes or additions that guarantee either an upgrade or a downgrade is possible (
1.0.0
to1.0.1
and1.0.1
to1.0.0
are possible).
Commit messages should be descriptive and concise. Commit messages should also specify their scope. The scope should be the modules or areas affected by the commit. (for example, fix(ui): ...
).
The scopes currently in use are:
docs
: Documentation changes within code or associated resourcesi18n
: Translationstests
: Code coverage and unit testingui
: Changes to user interface
The commit types currently in use are:
feat
for new features.fix
For bug fixes (if applicable, they should reference the issue this commit resolves)chore
for anything else not covered in the other types.