chore(radio): unify the bootloader UI code (#6189)
Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
@@ -1022,79 +1022,6 @@
|
||||
#define TR_WIDGET_VALUE "Valore"
|
||||
#endif
|
||||
|
||||
// Bootloader common
|
||||
#define TR_BL_USB_CONNECTED "USB Connessa"
|
||||
#define TR_BL_USB_PLUGIN "O connetti il cavo USB"
|
||||
#define TR_BL_USB_MASS_STORE "per memoria di massa"
|
||||
#define TR_BL_USB_PLUGIN_MASS_STORE "O connetti il cavo USB per memoria di massa"
|
||||
#define TR_BL_WRITE_FW "Scrivo il Firmware"
|
||||
#define TR_BL_FORK "Fork:"
|
||||
#define TR_BL_VERSION "Versione:"
|
||||
#define TR_BL_RADIO "Radio:"
|
||||
#define TR_BL_EXIT "Esci"
|
||||
#define TR_BL_DIR_MISSING " Cartella non trovata"
|
||||
#define TR_BL_DIR_EMPTY " Cartella vuota"
|
||||
#define TR_BL_WRITING_FW "Scrittura Firmware..."
|
||||
#define TR_BL_WRITING_COMPL "Scrittura completata"
|
||||
|
||||
#if LCD_W >= 480
|
||||
#define TR_BL_INVALID_FIRMWARE "Firmware non valido"
|
||||
#elif LCD_W >= 212
|
||||
#define TR_BL_OR_PLUGIN_USB_CABLE TR_BL_USB_PLUGIN_MASS_STORE
|
||||
#define TR_BL_HOLD_ENTER_TO_START "\012Premi [ENT] per iniziare la scrittura"
|
||||
#define TR_BL_INVALID_FIRMWARE "\011Non è un file Firmware valido! "
|
||||
#define TR_BL_INVALID_EEPROM "\011Non è un file EEPROM valido! "
|
||||
#else
|
||||
#define TR_BL_OR_PLUGIN_USB_CABLE TR_BL_USB_PLUGIN
|
||||
#define TR_BL_HOLD_ENTER_TO_START "\006Premi [ENT] per partire"
|
||||
#define TR_BL_INVALID_FIRMWARE "\00Non è un file Firmware valido!"
|
||||
#define TR_BL_INVALID_EEPROM "\004Non è un file EEPROM valido! "
|
||||
#endif
|
||||
|
||||
// Bootloader Taranis specific - ASCII characters only
|
||||
#define TR_BL_RESTORE_EEPROM "Ripristino EEPROM"
|
||||
#define TR_BL_POWER_KEY "Premi il bottone d'accensione"
|
||||
#define TR_BL_FLASH_EXIT "Esci dal modo scrittura."
|
||||
|
||||
// Bootloader Horus specific - ASCII characters only
|
||||
#define TR_BL_ERASE_INT_FLASH "Erase Internal Flash Storage"
|
||||
#define TR_BL_ERASE_FLASH "Erase Flash Storage"
|
||||
#define TR_BL_ERASE_FLASH_MSG "This may take up to 200s"
|
||||
#define TR_BL_RF_USB_ACCESS "RF USB access"
|
||||
|
||||
#if defined(PCBPL18)
|
||||
// Bootloader PL18/NB4+ specific - ASCII characters only
|
||||
#define TR_BL_ENABLE "Abilita"
|
||||
#define TR_BL_DISABLE "Disabilita"
|
||||
#if defined(RADIO_NV14_FAMILY)
|
||||
#define TR_BL_SELECT_KEY "[R TRIM] per scegliere il file"
|
||||
#define TR_BL_FLASH_KEY "Tener premuto [R TRIM] per scrivere"
|
||||
#define TR_BL_ERASE_KEY "Tener premuto [R TRIM] to erase"
|
||||
#define TR_BL_EXIT_KEY "[L TRIM] per uscire"
|
||||
#elif defined(RADIO_NB4P)
|
||||
#define TR_BL_SELECT_KEY "[SW1A] per scegliere il file"
|
||||
#define TR_BL_FLASH_KEY "Tener premuto [SW1A] per scrivere"
|
||||
#define TR_BL_ERASE_KEY "Tener premuto [SW1A] to erase"
|
||||
#define TR_BL_EXIT_KEY "[SW1B] per uscire"
|
||||
#else
|
||||
#define TR_BL_SELECT_KEY "[TR4 Dn] per scegliere il file"
|
||||
#define TR_BL_FLASH_KEY "Tener premuto [TR4 Dn] per scrivere"
|
||||
#define TR_BL_ERASE_KEY "Tener premuto [TR4 Dn] to erase"
|
||||
#define TR_BL_EXIT_KEY "[TR4 Up] per uscire"
|
||||
#endif
|
||||
#elif defined(PCBNV14)
|
||||
#define TR_BL_SELECT_KEY "[R TRIM] per scegliere il file"
|
||||
#define TR_BL_FLASH_KEY "Tener premuto [R TRIM] per scrivere"
|
||||
#define TR_BL_EXIT_KEY " [L TRIM] per uscire"
|
||||
#define TR_BL_ENABLE "Abilita"
|
||||
#define TR_BL_DISABLE "Disabilita"
|
||||
#else
|
||||
#define TR_BL_SELECT_KEY "[ENT] per scegliere il file"
|
||||
#define TR_BL_FLASH_KEY "Tenere premuto [ENT] per scrivere"
|
||||
#define TR_BL_ERASE_KEY "Hold [ENT] long to erase"
|
||||
#define TR_BL_EXIT_KEY "[RTN] per uscire"
|
||||
#endif
|
||||
|
||||
// About screen
|
||||
#define TR_ABOUTUS TR(" INFO ", "INFO SU")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user