Don't translate the more button
This commit is contained in:
parent
16ec3e376f
commit
e2b58d8724
|
|
@ -332,7 +332,7 @@ static const char MSG_BTN_RESTART_MMU[] PROGMEM_I1 = ISTR("RstMMU"); ////MSG_BTN
|
||||||
static const char MSG_BTN_UNLOAD[] PROGMEM_I1 = ISTR("Unload"); ////MSG_BTN_UNLOAD c=8
|
static const char MSG_BTN_UNLOAD[] PROGMEM_I1 = ISTR("Unload"); ////MSG_BTN_UNLOAD c=8
|
||||||
static const char MSG_BTN_STOP[] PROGMEM_I1 = ISTR("Stop"); ////MSG_BTN_STOP c=8
|
static const char MSG_BTN_STOP[] PROGMEM_I1 = ISTR("Stop"); ////MSG_BTN_STOP c=8
|
||||||
static const char MSG_BTN_DISABLE_MMU[] PROGMEM_I1 = ISTR("Disable"); ////MSG_BTN_DISABLE_MMU c=8
|
static const char MSG_BTN_DISABLE_MMU[] PROGMEM_I1 = ISTR("Disable"); ////MSG_BTN_DISABLE_MMU c=8
|
||||||
static const char MSG_BTN_MORE[] PROGMEM_I1 = ISTR("\x06"); ////MSG_BTN_MORE c=8
|
static const char MSG_BTN_MORE[] PROGMEM_N1 = "\x06";
|
||||||
|
|
||||||
// Used to parse the buttons from Btns().
|
// Used to parse the buttons from Btns().
|
||||||
static const char * const btnOperation[] PROGMEM = {
|
static const char * const btnOperation[] PROGMEM = {
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,7 @@ const char * PrusaErrorButtonTitle(uint8_t bi){
|
||||||
}
|
}
|
||||||
|
|
||||||
const char * PrusaErrorButtonMore(){
|
const char * PrusaErrorButtonMore(){
|
||||||
return _R(MSG_BTN_MORE);
|
return MSG_BTN_MORE;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct ResetOnExit {
|
struct ResetOnExit {
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ static void ReportErrorHookStaticRender(uint8_t ei) {
|
||||||
ReportErrorHookSensorLineRender();
|
ReportErrorHookSensorLineRender();
|
||||||
|
|
||||||
// Render the choices
|
// Render the choices
|
||||||
lcd_show_choices_prompt_P(two_choices ? LCD_LEFT_BUTTON_CHOICE : LCD_MIDDLE_BUTTON_CHOICE, _T(PrusaErrorButtonTitle(button_op_middle)), _T(two_choices ? PrusaErrorButtonMore() : PrusaErrorButtonTitle(button_op_right)), two_choices ? 18 : 9, two_choices ? nullptr : _T(PrusaErrorButtonMore()));
|
lcd_show_choices_prompt_P(two_choices ? LCD_LEFT_BUTTON_CHOICE : LCD_MIDDLE_BUTTON_CHOICE, _T(PrusaErrorButtonTitle(button_op_middle)), two_choices ? PrusaErrorButtonMore() : _T(PrusaErrorButtonTitle(button_op_right)), two_choices ? 18 : 9, two_choices ? nullptr : PrusaErrorButtonMore());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReportErrorHookSensorLineRender(){
|
void ReportErrorHookSensorLineRender(){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue