Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blentranslation/intern/blt_lang.c
| Context not available. | |||||
| * | * | ||||
| * Would also be good to find nicer way to check if LANG is correct. | * Would also be good to find nicer way to check if LANG is correct. | ||||
| */ | */ | ||||
| const char *lang = getenv("LANG"); | const char *lang = BLI_getenv("LANG"); | ||||
| if (lang != NULL) { | if (lang != NULL) { | ||||
| char *old_locale = setlocale(LC_ALL, NULL); | char *old_locale = setlocale(LC_ALL, NULL); | ||||
| /* Make a copy so subsequenct setlocale() doesn't interfere. */ | /* Make a copy so subsequenct setlocale() doesn't interfere. */ | ||||
| Context not available. | |||||