WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.33k stars 970 forks source link

Generate reports for Category #11947

Closed harriebird closed 2 days ago

harriebird commented 2 days ago

Proposed changes

This enables report generation from Category. This solves issue #11739.

Example image:

Screenshot 2024-06-26 at 23-28-39 Freeplane_Test Category @ Devel Weblate

Checklist

Other information

codecov[bot] commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.62%. Comparing base (6aee586) to head (d309327). Report is 2327 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947/graphs/tree.svg?width=650&height=150&src=pr&token=9rzx9QBq35&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg)](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg) ```diff @@ Coverage Diff @@ ## main #11947 +/- ## ========================================== - Coverage 90.82% 90.62% -0.20% ========================================== Files 554 581 +27 Lines 57306 59019 +1713 Branches 9122 9419 +297 ========================================== + Hits 52046 53487 +1441 - Misses 3640 3836 +196 - Partials 1620 1696 +76 ``` | [Files](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg) | Coverage Δ | | |---|---|---| | [weblate/trans/forms.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947?src=pr&el=tree&filepath=weblate%2Ftrans%2Fforms.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy9mb3Jtcy5weQ==) | `88.64% <100.00%> (+0.78%)` | :arrow_up: | | [weblate/trans/models/change.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947?src=pr&el=tree&filepath=weblate%2Ftrans%2Fmodels%2Fchange.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy9tb2RlbHMvY2hhbmdlLnB5) | `82.47% <100.00%> (+3.46%)` | :arrow_up: | | [weblate/trans/tests/test\_reports.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947?src=pr&el=tree&filepath=weblate%2Ftrans%2Ftests%2Ftest_reports.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy90ZXN0cy90ZXN0X3JlcG9ydHMucHk=) | `100.00% <100.00%> (ø)` | | | [weblate/trans/views/basic.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947?src=pr&el=tree&filepath=weblate%2Ftrans%2Fviews%2Fbasic.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy92aWV3cy9iYXNpYy5weQ==) | `81.49% <ø> (-1.44%)` | :arrow_down: | | [weblate/trans/views/reports.py](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947?src=pr&el=tree&filepath=weblate%2Ftrans%2Fviews%2Freports.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg#diff-d2VibGF0ZS90cmFucy92aWV3cy9yZXBvcnRzLnB5) | `97.33% <100.00%> (+4.22%)` | :arrow_up: | ... and [337 files with indirect coverage changes](https://app.codecov.io/gh/WeblateOrg/weblate/pull/11947/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WeblateOrg)
nijel commented 2 days ago

Merged, thanks for your contribution!