From 161c13e12be0c968808612010268e81c88327f65 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 Apr 2020 10:24:33 +1000 Subject: Fix building without translations enabled --- source/blender/blentranslation/BLT_translation.h | 4 ---- source/blender/makesdna/DNA_userdef_types.h | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'source') 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 -- cgit v1.2.3