Fix building without translations enabled

This commit is contained in:
Campbell Barton 2020-04-08 10:24:33 +10:00
parent 1ee3def5d3
commit 161c13e12b
2 changed files with 7 additions and 4 deletions

View File

@ -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);

View File

@ -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