OSDN Git Service

Move gettext mo file generation out of source/generate.py and in to scons:
authorMichael Curran <mick@kulgan.net>
Sat, 13 Nov 2010 07:56:19 +0000 (17:56 +1000)
committerMichael Curran <mick@kulgan.net>
Sat, 13 Nov 2010 07:56:19 +0000 (17:56 +1000)
commit7ddcb5e405216fe5df65d711319fc48eddf5e0f0
treec0383a0970a78d156a20dec0ae4654d0976d0324
parentbf995b7d2376294e4f0ac6a92d8a0d870b22f26c
Move gettext mo file generation out of source/generate.py and in to scons:
*Added a gettext scons tool to site_scons/site_tools. This tool provides a gettextMoFile builder, which takes a gettext template file (.po) and compiles it using msgfmt to a .mo.
*NVDA root sconstruct: cause all of NVDA's po files to be compiled to mo files if source is being built.
*Removed locale compilation code from source/generate.py as its now redundant.
sconstruct
site_scons/site_tools/gettext.py [new file with mode: 0644]
source/generate.py