clintbellanger/flare — pull request #142 by pennomi (2011-10-31 02:39:50+00:00)
Title: Added translation support for some data files (items, powers)

Since the xgettext utility can't extract strings from our data files, I created a python file which walks the directories for data files for things needing translated (currently only enemies, powers, and items, but the others I will add once all the mod stuff is ready).

I've enabled powers and items translations to work in-game, but enemy translations aren't active yet (required a little more passing down of the MessageEngine object than I cared to do at the moment. Perhaps it would be a good candidate to be a global variable?)

Also, there's a minor fix on a few translation files. (The "Exit" message was missing from the engine.pot file).