3djc/columns hints (#3561)
* Fix columns trim5 and trim6 for Horus * - Try a more translator friendly way to deal with the Horus increased columns size * Fix commit * Proof of concept * More languages * -Introduce HINT() -Remove HR instead of TR
This commit is contained in:
@@ -59,6 +59,12 @@
|
||||
#define PSIZE(x) ( sizeof(x) - 1 )
|
||||
#define EOFS(x) ( OFS_##x + sizeof(TR_##x) )
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
#define HINT(s) " " s " "
|
||||
#else
|
||||
#define HINT(s) s
|
||||
#endif
|
||||
|
||||
#if LCD_W >= 212
|
||||
#define TR(x, y) y
|
||||
#else
|
||||
@@ -827,6 +833,12 @@ extern const pm_char STR_BLCOLOR[];
|
||||
#define STR_EXPONAME STR_NAME
|
||||
#endif
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#define TR_PHASES_HEADERS { TR_PHASES_HEADERS_NAME, TR_PHASES_HEADERS_SW, TR_PHASES_HEADERS_RUD_TRIM, TR_PHASES_HEADERS_ELE_TRIM, TR_PHASES_HEADERS_THT_TRIM, TR_PHASES_HEADERS_AIL_TRIM, TR_PHASES_HEADERS_CH5_TRIM, TR_PHASES_HEADERS_CH6_TRIM, TR_PHASES_HEADERS_FAD_IN, TR_PHASES_HEADERS_FAD_OUT }
|
||||
#elif defined(PCBTARANIS)
|
||||
#define TR_PHASES_HEADERS { HINT(TR_PHASES_HEADERS_NAME), HINT(TR_PHASES_HEADERS_SW), HINT(TR_PHASES_HEADERS_RUD_TRIM), HINT(TR_PHASES_HEADERS_ELE_TRIM), HINT(TR_PHASES_HEADERS_THT_TRIM), HINT(TR_PHASES_HEADERS_AIL_TRIM), HINT(TR_PHASES_HEADERS_FAD_IN), HINT(TR_PHASES_HEADERS_FAD_OUT) }
|
||||
#endif
|
||||
|
||||
#if LCD_W >= 212
|
||||
extern const char * const STR_PHASES_HEADERS[];
|
||||
extern const char * const STR_LIMITS_HEADERS[];
|
||||
|
||||
Reference in New Issue
Block a user