diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-08 03:24:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-08 03:24:33 +0300 |
commit | 161c13e12be0c968808612010268e81c88327f65 (patch) | |
tree | 3c5668481be5122c9ab6ac0ccd420b059d9b03b7 | |
parent | 1ee3def5d39f6d17ca7bb2dc74c5499f92eec739 (diff) |
Fix building without translations enabled
-rw-r--r-- | source/blender/blentranslation/BLT_translation.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/blentranslation/BLT_translation.h b/source/blender/blentranslation/BLT_translation.h index 01e32c3f71a..74c46b1cf3e 100644 --- a/source/blender/blentranslation/BLT_translation.h +++ b/source/blender/blentranslation/BLT_translation.h @@ -32,10 +32,6 @@ extern "C" { #endif -/* Locale Ids. Auto will try to get local from OS. Our default is English though. */ -#define ULANGUAGE_AUTO 0 -#define ULANGUAGE_ENGLISH 1 - bool BLT_is_default_context(const char *msgctxt); const char *BLT_pgettext(const char *msgctxt, const char *msgid); diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 667b6bbf33c..d2a099b4fcf 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -1305,6 +1305,13 @@ typedef enum eUserpref_DiskCacheCompression { USER_SEQ_DISK_CACHE_COMPRESSION_HIGH = 2, } eUserpref_DiskCacheCompression; +/* Locale Ids. Auto will try to get local from OS. Our default is English though. */ +/** #UserDef.language */ +enum { + ULANGUAGE_AUTO = 0, + ULANGUAGE_ENGLISH = 1, +}; + #ifdef __cplusplus } #endif |