Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blentranslation/intern/blt_lang.c
| Show First 20 Lines • Show All 257 Lines • ▼ Show 20 Lines | if (short_locale[0]) { | ||||
| MEM_freeN((void *)short_locale_utf8); | MEM_freeN((void *)short_locale_utf8); | ||||
| } | } | ||||
| else { | else { | ||||
| bl_locale_set(short_locale); | bl_locale_set(short_locale); | ||||
| } | } | ||||
| #else | #else | ||||
| (void)str; | (void)str; | ||||
| #endif | #endif | ||||
| IMB_thumb_clear_translations(); | |||||
| } | } | ||||
| const char *BLT_lang_get(void) | const char *BLT_lang_get(void) | ||||
| { | { | ||||
| #ifdef WITH_INTERNATIONAL | #ifdef WITH_INTERNATIONAL | ||||
| if (BLT_translate()) { | if (BLT_translate()) { | ||||
| const char *locale = LOCALE(ULANGUAGE); | const char *locale = LOCALE(ULANGUAGE); | ||||
| if (locale[0] == '\0') { | if (locale[0] == '\0') { | ||||
| ▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines | |||||