Be ready for changes in bf-translations repository
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 8 Nov 2013 20:44:48 +0000 (20:44 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 8 Nov 2013 20:44:48 +0000 (20:44 +0000)
commitac6d91b9396c15d8bf1aa550adb4ca8c7125dd81
tree88d1f046c6548331fdb705f91fcc63b8595f9f03
parent0d1a49936627f2885b058f23920490bc6ed7c282
Be ready for changes in bf-translations repository

Made it so if there's release/datafiles/locale/po
folder, then all the .po files will be converted
to .mo at blender compile time and installed to
an appropriate location.

Uses small own implementation msgfmt which is
based on msgfmt.py from Python project, but also
supports contexts.

There's no functional changes for until we've
switched to use source .po files instead of
pre-compiled .mo.

P.S. Well, there's one change which is msgfmt.cc
     being compiled even if it's not used, but
     would rather not clutter code with checks
     since pretty soon we'll use this program
     anyway.
SConstruct
build_files/cmake/macros.cmake
intern/locale/CMakeLists.txt
intern/locale/SConscript
intern/locale/msgfmt.cc [new file with mode: 0644]
source/creator/CMakeLists.txt