Note: tools/zanata/zanata_stats.py returns an error if
there is no "translators" section in a language in this yaml file.
Change-Id: I00d5a0ee0ec93e8f3856db2232c7c8d1e6d2b5cf
Though the user_id that contains only numbers, for example 1234,
is valid Zanata ID, it raises an exception:
Traceback (most recent call last):
File "./zanata_stats.py", line 271, in <module>
main()
File "./zanata_stats.py", line 261, in main
language_teams, options.project)
File "./zanata_stats.py", line 166, in get_zanata_stats
user_contributes = statisticdata[user_id]
KeyError: 1234
Change-Id: Id1325204d6979190d3c4c6ae5410960fe221b57e
I have compared the list to current members in Zanata
for languages included in the file, and added to the list.
Change-Id: I2863410082826bdf53c3f059cbac64647de294d2
Usage: zanata_stats.py -s 2015-08-01 -e 2016-01-31 translation_team.yaml
zanata_stats.py will query translator's contributions in words,
including the translated translations, approved translations
and rejected translations, in a certain period of all projects and all
versions, and then save the data in a csv file.
translation_team.yaml stores all translation team and translators information.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: If7b92cb2e7ccc3e2e59d977976d7c5d726e606dd