Multilingual interface support added.
All modifications are behind compileflag INTERNATIONAL, and affect these two directories; source/blender/src and source/blender/ftfont. Thanks to philipp, a new utf8towchar() function is added to Shizu's work, which fixes the international support for OSX. It also makes the iconv library obsolete. This means all translation files (blender.mo) need to be 'recoded' to UTF-8, and language support in the fileselect window and the text editor is not possible. Iconv might be added in the future to enable these features.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
/* TBOXX: width in pixels */
|
||||
#define TBOXXL 80
|
||||
#define TBOXXR 170
|
||||
#define TBOXXR 200
|
||||
#define TBOXX (TBOXXL+TBOXXR)
|
||||
/* TBOXEL: amount of element vertically */
|
||||
#define TBOXEL 14
|
||||
|
@@ -188,6 +188,7 @@
|
||||
#define B_CONSOLETOG 61
|
||||
#define B_DRAWINFO 62
|
||||
#define B_REDRCURW3D 63
|
||||
#define B_FLIPINFOMENU 64
|
||||
|
||||
|
||||
#define B_SHOWSPLASH 70
|
||||
@@ -282,6 +283,7 @@
|
||||
#define B_SETFONTSIZE 313
|
||||
#define B_SETENCODING 314
|
||||
#define B_SETTRANSBUTS 315
|
||||
#define B_DOLANGUIFONT 316
|
||||
|
||||
/* Definitions for the fileselect buttons in user prefs */
|
||||
#define B_FONTDIRFILESEL 320
|
||||
|
Reference in New Issue
Block a user