Merge pull request #73 from shiyj/master
using error code instead of the long desc strings;
This commit is contained in:
@@ -112,6 +112,8 @@ static const char * const print_info[] = {
|
||||
#include "Languages/zh-CN/cmb_zh_CN.h"
|
||||
#elif (CMB_PRINT_LANGUAGE == CMB_PRINT_LANGUAGE_CHINESE_UTF8)
|
||||
#include "Languages/zh-CN/cmb_zh_CN_UTF8.h"
|
||||
#elif (CMB_PRINT_LANGUAGE == CMB_PRINT_LANGUAGE_CUSTOM)
|
||||
#include "cmb_language_custom.h"
|
||||
#else
|
||||
#error "CMB_PRINT_LANGUAGE defined error in 'cmb_cfg.h'"
|
||||
#endif
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
#define CMB_PRINT_LANGUAGE_ENGLISH 0
|
||||
#define CMB_PRINT_LANGUAGE_CHINESE 1
|
||||
#define CMB_PRINT_LANGUAGE_CHINESE_UTF8 2
|
||||
#define CMB_PRINT_LANGUAGE_CUSTOM 0xFF
|
||||
|
||||
/* name max length, default size: 32 */
|
||||
#ifndef CMB_NAME_MAX
|
||||
|
||||
Reference in New Issue
Block a user