Merge pull request #73 from shiyj/master

using error code instead of the long desc strings;
pull/74/head
朱天龙 (Armink) 2 years ago committed by GitHub
commit 427197ef1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save