diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-03-15 15:34:44 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-03-15 15:34:44 +0300 |
commit | 6b5585011628d6dd891212b0ab6f7b0da587512c (patch) | |
tree | e410e7b29145db24b67223972488d2f946780af1 /source/blender/include | |
parent | 7272bdff76659235911302c54f560e6c20dfde99 (diff) |
This is a fix for bug #6100
When using international fonts, blender was assuming that the
default language on the system was chinese.
Now it checks to see what language code you have selected and
if its chinese or japanese it converts those to utf8 and then
continues to translate them.
I can't fully check this so will need others to test it. This
should at least be better now.
Kent
Diffstat (limited to 'source/blender/include')
-rw-r--r-- | source/blender/include/BIF_language.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/include/BIF_language.h b/source/blender/include/BIF_language.h index 762407f5b24..9a6ddfc7fc5 100644 --- a/source/blender/include/BIF_language.h +++ b/source/blender/include/BIF_language.h @@ -52,5 +52,15 @@ void BIF_RasterPos(float x, float y); void BIF_SetScale(float aspect); void refresh_interface_font(void); +struct LANGMenuEntry { + struct LANGMenuEntry *next; + char *line; + char *language; + char *code; + int id; +}; + +struct LANGMenuEntry *find_language(short langid); + #endif /* BIF_LANGUAGE_H */ |