Skip to content

Commit

Permalink
stats: Extend list of legacy keys
Browse files Browse the repository at this point in the history
See #10460 and #10439
  • Loading branch information
nijel committed Nov 22, 2023
1 parent 93c0516 commit 617b456
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion weblate/utils/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,14 @@
)

# TODO: Drop in Weblate 5.5
LEGACY_KEYS = {"unapproved", "unapproved_chars", "unapproved_words", "total_changes"}
LEGACY_KEYS = {
"unapproved",
"unapproved_chars",
"unapproved_words",
"recent_changes",
"monthly_changes",
"total_changes",
}

SOURCE_MAP = {
"source_chars": "all_chars",
Expand Down

0 comments on commit 617b456

Please sign in to comment.