I have run the update_translation_stats.py:

Looks like this could be run only with python2. Maybe add a comment?

I got a list out of range error:

$ > python2 utils/update_translation_stats.py 
Fetching translation stats .......................

Locale  Total   Translated
------  -----   ----------
Something went wrong:
Traceback (most recent call last):
  File "utils/update_translation_stats.py", line 118, in main
    result = generate_translation_stats(po_dir, output_file)
  File "utils/update_translation_stats.py", line 97, in 
generate_translation_stats
    result = result + 'total=' + 
str(locale_stats[locale_stats.keys()[0]].total) + '\n\n'
IndexError: list index out of range

Do i miss something?
-- 
https://code.launchpad.net/~widelands-dev/widelands/translation_stats/+merge/332029
Your team Widelands Developers is subscribed to branch 
lp:~widelands-dev/widelands/translation_stats.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to