- cmake/windows was installing locale & font when internationalization was disabled, twice when enabled.
- file selector was using the string size-1, where this isn't needed since string buttons expected this value to be the sizeof(), accounting for '\0'.
- use const char for extension checking funcs.
- minor pep8 edits
- for rna stringsinclude the path as comment, eg:
#~ bpy.types.VertexGroup.name
- skip strings like %dx%d or -X.
- for strings extracted from python scripts include file:line reference as with C files.
- have messages in order they appear in the file, files and classes sorted so it reads more logically.
- extract these comments from the messages.txt file into the pot file.
Adding from codecs import open + the encoding in update_pot.py so it works for python 3.2.
Now it should be easier to replace the executable folders in the first lines of the file.
It now also works if you are in the same folder as the .po files (i.e. os.path.dirname(__FILE__) is empty)
It's still not working for me on Mingw because I need gettext 1.8 and so far I found only the 1.7
(in 1.7 msgmerge --lang is not supported)