Blender Git Loki
Git Commits -> Revision b5e85ca
Revision b5e85ca by Bastien Montagne (master) October 22, 2012, 14:04 (GMT) |
New "dynamic" i18n menu. Now both UI translation menu (in userprefs) and isocodes are defined in a text file (release/datafiles/locale/languages), parsed at lunchtime. This way: * No more need to edit Blender code each time we want to add an new language or reorganize the existing menu; * Translators can easily add a new language for testing, by just editing the text file, so no more need to ask to change Blender code and wait for a new build to see your new translation work in Blender! Remaining todo: * Commit i18n py tools * Update wiki doc! |
Commit Details:
Full Hash: b5e85cae705f47ae5a32c97564e1942a95e75bb4
SVN Revision: 51500
Parent Commit: c727f8c
Lines Changed: +170, -55
8 Modified Paths:
/source/blender/blenfont/BLF_translation.h (+7, -0) (Diff)
/source/blender/blenfont/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenfont/intern/blf_lang.c (+140, -54) (Diff)
/source/blender/blenfont/SConscript (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+15, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+1, -0) (Diff)
/source/blender/blenfont/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenfont/intern/blf_lang.c (+140, -54) (Diff)
/source/blender/blenfont/SConscript (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+15, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+1, -0) (Diff)