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/blenfont/SConscript | |
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/blenfont/SConscript')
-rw-r--r-- | source/blender/blenfont/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenfont/SConscript b/source/blender/blenfont/SConscript index d3c7b1c2fcc..075da58b116 100644 --- a/source/blender/blenfont/SConscript +++ b/source/blender/blenfont/SConscript @@ -4,7 +4,8 @@ Import ('env') sources = env.Glob('intern/*.c') -incs = '. intern #/intern/guardedalloc ../blenkernel ../blenlib ../makesdna ../imbuf ../editors/include' +incs = '. intern #/intern/guardedalloc ../blenkernel ../blenlib ../blenloader' +incs += ' ../makesdna ../makesrna ../imbuf ../editors/include' incs += ' #/extern/glew/include' incs += ' ' + env['BF_FREETYPE_INC'] incs += ' ' + env['BF_GETTEXT_INC'] |