21 Commits

Author SHA1 Message Date
Akihiro Motoki
404077bfcf Update Japanese team member list
Change-Id: I2275b5413ec717db303e775ab0f92393c6c19ddb
2016-09-12 04:44:57 +09:00
JF Taltavull
d7105caa1e Update and rearrange french team member list.
Change-Id: I2dea0aa56228c21af59b03431ab333faf3473913
2016-08-30 16:08:50 +02:00
Akihiro Motoki
eaa3567c9f zanata_stats: ensure to stringify user elements
In Zanata, ID only with number is valid.
If we put such entry in YAML file without quote,
it is interpreted as integer when loading YAML file.
This commit ensure to convert such entries to string
when loading the translator YAML file.

Change-Id: I14269bc06c736fa16b539cbc9090b58aa0e6079b
2016-08-05 07:38:49 +09:00
KATO Tomoyuki
40e4c7a3bf Quote user_id that is consist of numbers only
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
2016-08-04 14:12:54 +00:00
Jenkins
4cf0138b7c Merge "move comment about sorting to appropriate position" 2016-08-01 12:08:56 +00:00
KATO Tomoyuki
ee281d9069 move comment about sorting to appropriate position
Change-Id: I291f765b48d7a121bf36dfd736b86d6b06617a09
2016-08-01 10:58:52 +00:00
KATO Tomoyuki
f28c6ead83 fix en-GB lang code
Change-Id: Id83c0c100dcec6c87011cf5f99de8e5ee086b741
2016-08-01 08:48:33 +00:00
KATO Tomoyuki
7f90e9bc97 Update i18n member list
Change-Id: I1dd4bb72ba3cd1c381dd5efc682b28212d1eeaf8
2016-08-01 15:19:56 +09:00
maoshuai
b7dfc8ad56 add my zanataid to Chinese member list
Change-Id: I0dcf54dc6d51d06fb306f7964a4fe7a5a28c3db0
2016-07-31 21:30:31 +08:00
Wang Junjie
61b44ca318 added zanata id
Change-Id: I941834ba74b9c156efb9c7692b2e0919c836430e
2016-07-30 10:41:00 +08:00
JF Taltavull
47c37d387d update french team member list.
Change-Id: I07336f9148c1a8d311c168fe4c09f64f0877ec27
2016-07-16 21:28:37 +02:00
Jenkins
ab8f1c7d66 Merge "Syntax check for YAML file" 2016-06-24 04:18:01 +00:00
Akihiro Motoki
e82f33d220 Syntax check for YAML file
translation_team.yaml is now used by stackalytics.
It is a good idea to YAML format check in pep8 check.

Change-Id: I33f6311412a5cb67692992e1ba021d56eede7ce5
2016-06-16 02:19:18 +09:00
Akihiro Motoki
011937aa79 Update Japanese team member list
Change-Id: I58ec8d3c4be880cd97eefdc9851b9aa5c31e6645
2016-06-15 14:33:39 +00:00
Ian Y. Choi
1aa8d18f77 Sync translator list with Zanata
I have compared the list to current members in Zanata
for languages included in the file, and added to the list.

Change-Id: I2863410082826bdf53c3f059cbac64647de294d2
2016-05-18 07:28:11 +09:00
Doug Fish
0f65dfd0ec Add translators to team list
I've added the translators that I'm aware of that
aren't already in this list.

Change-Id: Id2856131e08326d2b6b386890d5f9697d4174842
2016-05-17 15:49:10 +00:00
Ilya Alekseyev
ac1ac94494 New translators added to Russian team
Change-Id: Iae4205e466498235243fa064975500595cc454fb
2016-03-24 07:10:49 +03:00
Douglas R. Fish
0f956e9c68 Update zanata stats tool for new branch/version
The zanata statistics tool does not include data from the
master-old-keepforstatistics branch for Horizon. Based on the
name of the branch I suspect it should.

Update the regular expression to make sure this branch
is used in computing statistics.

Change-Id: I5b3478f35f4a9eded35907d62d372ecbfe3d5706
Closes-bug: 1558254
2016-03-16 21:46:55 +00:00
Ian Y. Choi
e2eacdb609 Added missing reviewers on translation_team.yaml
Since translation_team.yaml also lists reviewers,
it is encouraged to add reviewers information.

Change-Id: I1bac3da41c15d8a7e02692a11ee0c73da340ae2c
2016-02-22 22:44:57 +09:00
Ilya Shakhat
43f4d74510 Fix argument parsing in zanata stats tool
This patch:
1) Fixes handling of empty lists by returning None instead of ['']
2) Enables specifying of custom output

Change-Id: Ia26332ae5d753de1328445f8a10514da279770a7
2016-02-09 12:27:33 +03:00
daisy-ycguo
73a36041db Add scripts to get translators' statistic data from Zanata
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
2016-02-04 17:22:25 +09:00