fix(b&w): Bootloader "USB Connected" alignment (#3716)

* fix: Bootloader "USB Connected" alignment
Fixup from #2946

* fix: Different for colorlcd and b&w

* fix: Lets do this properly
Thanks @3djc for the hint to go to bed 😆

* fix: trim `edgetx-` in smaller b&w screens
This commit is contained in:
Peter Feerick
2023-06-26 19:05:58 +10:00
committed by GitHub
parent 0743b338ae
commit c4e221fb5a
17 changed files with 40 additions and 120 deletions
+2 -7
View File
@@ -991,7 +991,6 @@
#endif
// Bootloader common - Ascii only
#define TR_BL_USB_CONNECT_BOOT CENTER "\011USB Connected"
#define TR_BL_USB_CONNECTED "USB Connected"
#define TR_BL_USB_PLUGIN "Or plug in a USB cable"
#define TR_BL_USB_MASS_STORE "for mass storage"
@@ -1003,6 +1002,8 @@
#define TR_BL_EXIT "Exit"
#define TR_BL_DIR_MISSING " Directory is missing"
#define TR_BL_DIR_EMPTY " Directory is empty"
#define TR_BL_WRITING_FW "Writing..."
#define TR_BL_WRITING_COMPL "Writing complete"
#if LCD_W >= 480
#define TR_BL_INVALID_FIRMWARE "Not a valid firmware file"
@@ -1021,23 +1022,17 @@
#if defined(PCBTARANIS)
// Bootloader Taranis specific - Ascii only
#define TR_BL_RESTORE_EEPROM "Restore EEPROM"
#define TR_BL_WRITING_FW CENTER "\015Writing..."
#define TR_BL_WRITING_COMPL CENTER "\007Writing complete"
#if defined(RADIO_COMMANDO8)
#define TR_BL_POWER_KEY "Press the power button."
#define TR_BL_FLASH_EXIT "Exit the flashing mode."
#endif
#elif defined(PCBHORUS)
// Bootloader Horus specific - Ascii only
#define TR_BL_WRITING_FW "Writing Firmware ..."
#define TR_BL_WRITING_COMPL "Writing Completed"
#define TR_BL_SELECT_KEY "[ENT] to select file"
#define TR_BL_FLASH_KEY "Hold [ENT] long to flash"
#define TR_BL_EXIT_KEY "[RTN] to exit"
#elif defined(PCBNV14)
// Bootloader NV14 specific - Ascii only
#define TR_BL_WRITING_FW "Writing Firmware ..."
#define TR_BL_WRITING_COMPL "Writing Completed"
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Current Firmware:"
#define TR_BL_SELECT_KEY "[R TRIM] to select file"