|
@@ -5787,7 +5787,7 @@ static void lcd_settings_menu()
|
|
|
#ifdef LCD_BL_PIN
|
|
|
if (backlightSupport)
|
|
|
{
|
|
|
- MENU_ITEM_SUBMENU_P(_i("Brightness"), lcd_backlight_menu);
|
|
|
+ MENU_ITEM_SUBMENU_P(_T(MSG_BRIGHTNESS), lcd_backlight_menu);
|
|
|
}
|
|
|
#endif //LCD_BL_PIN
|
|
|
|
|
@@ -7113,7 +7113,7 @@ static void lcd_tune_menu()
|
|
|
#ifdef LCD_BL_PIN
|
|
|
if (backlightSupport)
|
|
|
{
|
|
|
- MENU_ITEM_SUBMENU_P(_i("Brightness"), lcd_backlight_menu);
|
|
|
+ MENU_ITEM_SUBMENU_P(_T(MSG_BRIGHTNESS), lcd_backlight_menu);
|
|
|
}
|
|
|
#endif //LCD_BL_PIN
|
|
|
MENU_END();
|
|
@@ -7186,15 +7186,10 @@ static void lcd_backlight_menu()
|
|
|
);
|
|
|
|
|
|
MENU_ITEM_BACK_P(_T(MSG_BACK));
|
|
|
- MENU_ITEM_EDIT_int3_P(_i("Level Bright"), &backlightLevel_HIGH, backlightLevel_LOW, 255);
|
|
|
- MENU_ITEM_EDIT_int3_P(_i("Level Dimmed"), &backlightLevel_LOW, 0, backlightLevel_HIGH);
|
|
|
- switch (backlightMode)
|
|
|
- {
|
|
|
- case BACKLIGHT_MODE_BRIGHT: MENU_ITEM_FUNCTION_P(_i("Mode [Bright]"), backlight_mode_toggle); break;
|
|
|
- case BACKLIGHT_MODE_DIM: MENU_ITEM_FUNCTION_P(_i("Mode [Dim]"), backlight_mode_toggle); break;
|
|
|
- default: MENU_ITEM_FUNCTION_P(_i("Mode [Auto]"), backlight_mode_toggle); break;
|
|
|
- }
|
|
|
- MENU_ITEM_EDIT_int3_P(_i("Timeout"), &backlightTimer_period, 1, 999);
|
|
|
+ MENU_ITEM_EDIT_int3_P(_T(MSG_BL_HIGH), &backlightLevel_HIGH, backlightLevel_LOW, 255);
|
|
|
+ MENU_ITEM_EDIT_int3_P(_T(MSG_BL_LOW), &backlightLevel_LOW, 0, backlightLevel_HIGH);
|
|
|
+ MENU_ITEM_TOGGLE_P(_T(MSG_MODE), ((backlightMode==BACKLIGHT_MODE_BRIGHT) ? _T(MSG_BRIGHT) : ((backlightMode==BACKLIGHT_MODE_DIM) ? _T(MSG_DIM) : _T(MSG_AUTO))), backlight_mode_toggle);
|
|
|
+ MENU_ITEM_EDIT_int3_P(_T(MSG_TIMEOUT), &backlightTimer_period, 1, 999);
|
|
|
|
|
|
MENU_END();
|
|
|
}
|