mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
DEMSESP_EN_ONLY
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
; -DCORE_DEBUG_LEVEL=5 ; verbose core level debugging 5=verbose, 4=debug, 3=info
|
; -DCORE_DEBUG_LEVEL=5 ; verbose core level debugging 5=verbose, 4=debug, 3=info
|
||||||
; -DEMSESP_TEST ; enable the tests. EN language only
|
; -DEMSESP_TEST ; enable the tests. EN language only
|
||||||
; -DEMSESP_DE_ONLY ; only DE translated entity names
|
; -DEMSESP_DE_ONLY ; only DE translated entity names
|
||||||
|
; -DEMSESP_EN_ONLY ; only EN translated entity names
|
||||||
; my_build_flags = -DEMSESP_DEBUG
|
; my_build_flags = -DEMSESP_DEBUG
|
||||||
|
|
||||||
[env:esp32_4M]
|
[env:esp32_4M]
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ using string_vector = std::vector<const char *>;
|
|||||||
#define F_(string_name) (__pstr__##string_name)
|
#define F_(string_name) (__pstr__##string_name)
|
||||||
#define FL_(list_name) (__pstr__L_##list_name)
|
#define FL_(list_name) (__pstr__L_##list_name)
|
||||||
|
|
||||||
#if defined(EMSESP_TEST)
|
#if defined(EMSESP_TEST) || defined(EMSESP_EN_ONLY)
|
||||||
// In testing just take one language (en) to save on Flash space
|
// In testing just take one language (en) to save on Flash space
|
||||||
#define MAKE_TRANSLATION(list_name, shortname, en, ...) static const char * const __pstr__L_##list_name[] = {shortname, en, nullptr};
|
#define MAKE_TRANSLATION(list_name, shortname, en, ...) static const char * const __pstr__L_##list_name[] = {shortname, en, nullptr};
|
||||||
#elif defined(EMSESP_DE_ONLY)
|
#elif defined(EMSESP_DE_ONLY)
|
||||||
|
|||||||
Reference in New Issue
Block a user