Commit 0b2a0f9a authored by Michal Čihař's avatar Michal Čihař

Include word counts in JSON export (fixes #316)

parent 7dc702fc
......@@ -233,9 +233,11 @@ def export_stats(request, project, subproject):
'code': trans.language.code,
'name': trans.language.name,
'total': trans.total,
'total_words': trans.total_words,
'last_change': trans.get_last_change(),
'last_author': trans.get_last_author(False),
'translated': trans.translated,
'translated_words': trans.translated_words,
'translated_percent': trans.get_translated_percent(),
'fuzzy': trans.fuzzy,
'fuzzy_percent': trans.get_fuzzy_percent(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment