← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/translation_stats into lp:widelands

 

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.


References