lang: Fix usage of new non-translated strings
Fix cherry-pick
This commit is contained in:
parent
7a80252556
commit
c7354bdfe8
@ -165,10 +165,10 @@ extern const char MSG_THERMAL_ANOMALY[] PROGMEM_I1 = ISTR("THERMAL ANOMALY");///
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//not internationalized messages
|
//not internationalized messages
|
||||||
const char MSG_AUTO_DEPLETE[] PROGMEM_N1 = ISTR("SpoolJoin"); ////MSG_AUTO_DEPLETE c=13
|
const char MSG_AUTO_DEPLETE[] PROGMEM_N1 = "SpoolJoin"; ////MSG_AUTO_DEPLETE c=13
|
||||||
const char MSG_FIRMWARE[] PROGMEM_N1 = ISTR("Firmware"); ////MSG_FIRMWARE c=8
|
const char MSG_FIRMWARE[] PROGMEM_N1 = "Firmware"; ////MSG_FIRMWARE c=8
|
||||||
const char MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY[] PROGMEM_N1 = ISTR("FlashAir"); ////MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY c=8
|
const char MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY[] PROGMEM_N1 = "FlashAir"; ////MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY c=8
|
||||||
const char MSG_PINDA[] PROGMEM_N1 = ISTR("PINDA");////MSG_PINDA c=5
|
const char MSG_PINDA[] PROGMEM_N1 = "PINDA"; ////MSG_PINDA c=5
|
||||||
const char MSG_WELCOME[] PROGMEM_N1 = WELCOME_MSG;
|
const char MSG_WELCOME[] PROGMEM_N1 = WELCOME_MSG;
|
||||||
const char MSG_SD_WORKDIR_FAIL[] PROGMEM_N1 = "workDir open failed"; ////
|
const char MSG_SD_WORKDIR_FAIL[] PROGMEM_N1 = "workDir open failed"; ////
|
||||||
const char MSG_BROWNOUT_RESET[] PROGMEM_N1 = " Brown out Reset"; ////
|
const char MSG_BROWNOUT_RESET[] PROGMEM_N1 = " Brown out Reset"; ////
|
||||||
|
@ -1413,7 +1413,7 @@ static void lcd_menu_temperatures()
|
|||||||
lcd_menu_temperatures_line( _i("Ambient"), (int)current_temperature_ambient ); ////MSG_AMBIENT c=14
|
lcd_menu_temperatures_line( _i("Ambient"), (int)current_temperature_ambient ); ////MSG_AMBIENT c=14
|
||||||
#endif //AMBIENT_THERMISTOR
|
#endif //AMBIENT_THERMISTOR
|
||||||
#ifdef PINDA_THERMISTOR
|
#ifdef PINDA_THERMISTOR
|
||||||
lcd_menu_temperatures_line( _T(MSG_PINDA), (int)current_temperature_pinda ); ////MSG_PINDA
|
lcd_menu_temperatures_line(MSG_PINDA, (int)current_temperature_pinda ); ////MSG_PINDA
|
||||||
#endif //PINDA_THERMISTOR
|
#endif //PINDA_THERMISTOR
|
||||||
menu_back_if_clicked();
|
menu_back_if_clicked();
|
||||||
}
|
}
|
||||||
@ -3443,8 +3443,7 @@ static void lcd_show_sensors_state()
|
|||||||
{
|
{
|
||||||
finda_state = mmu_finda;
|
finda_state = mmu_finda;
|
||||||
}
|
}
|
||||||
//lcd_puts_at_P(0, 0, _i("Sensor state"));
|
lcd_puts_at_P(0, 0, MSG_PINDA);
|
||||||
lcd_puts_at_P(0, 0, _T(MSG_PINDA));
|
|
||||||
lcd_set_cursor(LCD_WIDTH - 14, 0);
|
lcd_set_cursor(LCD_WIDTH - 14, 0);
|
||||||
lcd_print_state(pinda_state);
|
lcd_print_state(pinda_state);
|
||||||
|
|
||||||
@ -4282,15 +4281,15 @@ static void settingsAutoDeplete()
|
|||||||
{
|
{
|
||||||
if (!fsensor_enabled)
|
if (!fsensor_enabled)
|
||||||
{
|
{
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_AUTO_DEPLETE), _T(MSG_NA), NULL);
|
MENU_ITEM_TOGGLE_P(MSG_AUTO_DEPLETE, _T(MSG_NA), NULL);
|
||||||
}
|
}
|
||||||
else if (lcd_autoDeplete)
|
else if (lcd_autoDeplete)
|
||||||
{
|
{
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_AUTO_DEPLETE), _T(MSG_ON), auto_deplete_switch);
|
MENU_ITEM_TOGGLE_P(MSG_AUTO_DEPLETE, _T(MSG_ON), auto_deplete_switch);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_AUTO_DEPLETE), _T(MSG_OFF), auto_deplete_switch);
|
MENU_ITEM_TOGGLE_P(MSG_AUTO_DEPLETE, _T(MSG_OFF), auto_deplete_switch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -4401,7 +4400,7 @@ while (0)
|
|||||||
do\
|
do\
|
||||||
{\
|
{\
|
||||||
if (card.ToshibaFlashAir_isEnabled())\
|
if (card.ToshibaFlashAir_isEnabled())\
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_SD_CARD), _T(MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY), lcd_toshiba_flash_air_compatibility_toggle);\
|
MENU_ITEM_TOGGLE_P(_T(MSG_SD_CARD), MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY, lcd_toshiba_flash_air_compatibility_toggle);\
|
||||||
else\
|
else\
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_SD_CARD), _T(MSG_NORMAL), lcd_toshiba_flash_air_compatibility_toggle);\
|
MENU_ITEM_TOGGLE_P(_T(MSG_SD_CARD), _T(MSG_NORMAL), lcd_toshiba_flash_air_compatibility_toggle);\
|
||||||
\
|
\
|
||||||
@ -4420,7 +4419,7 @@ while (0)
|
|||||||
do\
|
do\
|
||||||
{\
|
{\
|
||||||
if (card.ToshibaFlashAir_isEnabled())\
|
if (card.ToshibaFlashAir_isEnabled())\
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_SD_CARD), _T(MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY), lcd_toshiba_flash_air_compatibility_toggle);\
|
MENU_ITEM_TOGGLE_P(_T(MSG_SD_CARD), MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY, lcd_toshiba_flash_air_compatibility_toggle);\
|
||||||
else\
|
else\
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_SD_CARD), _T(MSG_NORMAL), lcd_toshiba_flash_air_compatibility_toggle);\
|
MENU_ITEM_TOGGLE_P(_T(MSG_SD_CARD), _T(MSG_NORMAL), lcd_toshiba_flash_air_compatibility_toggle);\
|
||||||
}\
|
}\
|
||||||
@ -4620,16 +4619,16 @@ do\
|
|||||||
switch(oCheckVersion)\
|
switch(oCheckVersion)\
|
||||||
{\
|
{\
|
||||||
case ClCheckVersion::_None:\
|
case ClCheckVersion::_None:\
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_FIRMWARE), _T(MSG_NONE), lcd_check_version_set);\
|
MENU_ITEM_TOGGLE_P(MSG_FIRMWARE, _T(MSG_NONE), lcd_check_version_set);\
|
||||||
break;\
|
break;\
|
||||||
case ClCheckVersion::_Warn:\
|
case ClCheckVersion::_Warn:\
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_FIRMWARE), _T(MSG_WARN), lcd_check_version_set);\
|
MENU_ITEM_TOGGLE_P(MSG_FIRMWARE, _T(MSG_WARN), lcd_check_version_set);\
|
||||||
break;\
|
break;\
|
||||||
case ClCheckVersion::_Strict:\
|
case ClCheckVersion::_Strict:\
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_FIRMWARE), _T(MSG_STRICT), lcd_check_version_set);\
|
MENU_ITEM_TOGGLE_P(MSG_FIRMWARE, _T(MSG_STRICT), lcd_check_version_set);\
|
||||||
break;\
|
break;\
|
||||||
default:\
|
default:\
|
||||||
MENU_ITEM_TOGGLE_P(_T(MSG_FIRMWARE), _T(MSG_NONE), lcd_check_version_set);\
|
MENU_ITEM_TOGGLE_P(MSG_FIRMWARE, _T(MSG_NONE), lcd_check_version_set);\
|
||||||
}\
|
}\
|
||||||
}\
|
}\
|
||||||
while (0)
|
while (0)
|
||||||
|
Loading…
Reference in New Issue
Block a user