diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-22 18:04:40 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-22 18:04:40 +0400 |
commit | b5e85cae705f47ae5a32c97564e1942a95e75bb4 (patch) | |
tree | 67f6cc66a0f4b6052fb53270b6b2db2f30401e52 /source/blender/windowmanager/intern/wm_init_exit.c | |
parent | c727f8cbde9b27433fa378d9a53ca9b8cefcc7d4 (diff) |
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!
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 658a13a8918..89fa92b7373 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -423,6 +423,7 @@ void WM_exit_ext(bContext *C, const short do_python) #ifdef WITH_INTERNATIONAL BLF_free_unifont(); + BLF_lang_free(); #endif ANIM_keyingset_infos_exit(); |