feat(color): start of UI for 3.0 (#5685)
This commit is contained in:
+89
-69
@@ -37,6 +37,83 @@
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
// Main menu
|
||||
#define TR_QM_MANAGE_MODELS "Manage\nModels"
|
||||
#define TR_QM_MODEL_SETUP "Model\nSetup"
|
||||
#define TR_QM_RADIO_SETUP "Radio\nSetup"
|
||||
#define TR_QM_UI_SETUP "UI\nSetup"
|
||||
#define TR_QM_TOOLS "Tools"
|
||||
#define TR_QM_GEN_SETTINGS "General\nSettings"
|
||||
#define TR_QM_FLIGHT_MODES TRSA("Drive\nModes", "Flight\nModes")
|
||||
#define TR_QM_INPUTS "Inputs"
|
||||
#define TR_QM_MIXES "Mixes"
|
||||
#define TR_QM_OUTPUTS "Outputs"
|
||||
#define TR_QM_CURVES "Curves"
|
||||
#define TR_QM_GLOBAL_VARS "Global\nVariables"
|
||||
#define TR_QM_LOGICAL_SW "Logical\nSwitches"
|
||||
#define TR_QM_SPEC_FUNC "Special\nFunctions"
|
||||
#define TR_QM_CUSTOM_LUA "Mixer\nScripts"
|
||||
#define TR_QM_TELEM "Telemetry"
|
||||
#define TR_QM_GLOB_FUNC "Global\nFunctions"
|
||||
#define TR_QM_TRAINER "Trainer"
|
||||
#define TR_QM_HARDWARE "Hardware"
|
||||
#define TR_QM_ABOUT "About\nEdgeTX"
|
||||
#define TR_QM_THEMES "Themes"
|
||||
#define TR_QM_TOP_BAR "Top Bar"
|
||||
#define TR_QM_SCREEN_1 "Screen 1"
|
||||
#define TR_QM_SCREEN_2 "Screen 2"
|
||||
#define TR_QM_SCREEN_3 "Screen 3"
|
||||
#define TR_QM_SCREEN_4 "Screen 4"
|
||||
#define TR_QM_SCREEN_5 "Screen 5"
|
||||
#define TR_QM_SCREEN_6 "Screen 6"
|
||||
#define TR_QM_SCREEN_7 "Screen 7"
|
||||
#define TR_QM_SCREEN_8 "Screen 8"
|
||||
#define TR_QM_SCREEN_9 "Screen 9"
|
||||
#define TR_QM_SCREEN_10 "Screen 10"
|
||||
#define TR_QM_ADD_SCREEN "Add\nScreen"
|
||||
#define TR_QM_APPS "Apps"
|
||||
#define TR_QM_STORAGE "Storage"
|
||||
#define TR_QM_RESET TRSA("Drive\nReset", "Flight\nReset")
|
||||
#define TR_QM_CHAN_MON "Channel\nMonitor"
|
||||
#define TR_QM_LS_MON "LS\nMonitor"
|
||||
#define TR_QM_STATS "Statistics"
|
||||
#define TR_QM_DEBUG "Debug"
|
||||
#define TR_MAIN_MENU_SETTINGS "General Settings"
|
||||
#define TR_MAIN_MENU_MANAGE_MODELS "Manage Models"
|
||||
#define TR_MAIN_MENU_MODEL_NOTES "Model Notes"
|
||||
#define TR_MAIN_MENU_CHANNEL_MONITOR "Channel Monitor"
|
||||
#define TR_MONITOR_SWITCHES "Logical Switch Monitor"
|
||||
#define TR_MAIN_MENU_MODEL_SETTINGS "Model Setup"
|
||||
#define TR_MAIN_MENU_RADIO_SETTINGS "Radio Setup"
|
||||
#define TR_MAIN_MENU_SCREEN_SETTINGS "UI Setup"
|
||||
#define TR_MAIN_MENU_STATISTICS "Statistics"
|
||||
#define TR_MAIN_MENU_ABOUT_EDGETX "About EdgeTX"
|
||||
#define TR_MAIN_VIEW_X "Screen "
|
||||
#define TR_MAIN_MENU_THEMES "Themes"
|
||||
#define TR_MAIN_MENU_APPS "Apps"
|
||||
#define TR_MENUHELISETUP TRC("HELI SETUP", "Heli Settings")
|
||||
#define TR_MENUFLIGHTMODES TRSA(TRC("DRIVE MODES", "Drive Modes"), TRC("FLIGHT MODES", "Flight Modes"))
|
||||
#define TR_MENUFLIGHTMODE TRSA("DRIVE MODE", "FLIGHT MODE")
|
||||
#define TR_MENUINPUTS TRC("INPUTS", "Inputs")
|
||||
#define TR_MENULIMITS TRC("OUTPUTS", "Outputs")
|
||||
#define TR_MENUCURVES TRC("CURVES", "Curves")
|
||||
#define TR_MIXES TRC("MIXES", "Mixes")
|
||||
#define TR_MENU_GLOBAL_VARS "Global Variables"
|
||||
#define TR_MENULOGICALSWITCHES TRC("LOGICAL SWITCHES", "Logical Switches")
|
||||
#define TR_MENUCUSTOMFUNC TRC("SPECIAL FUNCTIONS", "Special Functions")
|
||||
#define TR_MENUCUSTOMSCRIPTS TRC("MIXER SCRIPTS", "Mixer Scripts")
|
||||
#define TR_MENUTELEMETRY TRC("TELEMETRY", "Telemetry")
|
||||
#define TR_MENUSPECIALFUNCS TRC("GLOBAL FUNCTIONS", "Global Functions")
|
||||
#define TR_MENUTRAINER TRC("TRAINER", "Trainer")
|
||||
#define TR_HARDWARE TRC("HARDWARE", "Hardware")
|
||||
#define TR_USER_INTERFACE "Top Bar"
|
||||
#define TR_SD_CARD TRC("SD CARD", "Storage")
|
||||
#define TR_DEBUG "Debug"
|
||||
#define TR_MENU_RADIO_SWITCHES TRC("SWITCHES", "Switches Test")
|
||||
#define TR_MENUCALIBRATION TRC("CALIBRATION", "Calibration")
|
||||
#define TR_FUNCTION_SWITCHES "Customizable Switches"
|
||||
// End Main menu
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minutes"
|
||||
#define TR_MINUTE_PLURAL2 "minutes"
|
||||
@@ -293,7 +370,6 @@
|
||||
#define TR_WARN_5VOLTS "Warning: output level is 5 volts"
|
||||
#define TR_MS "ms"
|
||||
#define TR_SWITCH "Switch"
|
||||
#define TR_FUNCTION_SWITCHES "Customizable Switches"
|
||||
#define TR_FS_COLOR_LIST "Custom","Off","White","Red","Green","Yellow","Orange","Blue","Pink"
|
||||
#define TR_GROUP "Group"
|
||||
#define TR_GROUP_ALWAYS_ON "Always on"
|
||||
@@ -347,7 +423,6 @@
|
||||
#define TR_DELAYUP "Delay up"
|
||||
#define TR_SLOWDOWN TR("Slow dn", "Slow down")
|
||||
#define TR_SLOWUP "Slow up"
|
||||
#define TR_MIXES "MIXES"
|
||||
#define TR_CV "CV"
|
||||
#if defined(PCBPL18)
|
||||
#define TR_GV "GV"
|
||||
@@ -430,19 +505,12 @@
|
||||
#define TR_MOVESTICKSPOTS "MOVE AXIS/POTS"
|
||||
#else
|
||||
#define TR_MENUTOSTART TR_ENTER " TO START"
|
||||
#if defined(SURFACE_RADIO)
|
||||
#define TR_SETMIDPOINT "SET POTS MIDPOINT"
|
||||
#define TR_MOVESTICKSPOTS "MOVE ST/TH/POTS/AXIS"
|
||||
#else
|
||||
#define TR_SETMIDPOINT TR("SET AXIS MIDPOINT", "CENTER AXIS/SLIDERS")
|
||||
#define TR_MOVESTICKSPOTS "MOVE AXIS/POTS"
|
||||
#endif
|
||||
#define TR_SETMIDPOINT TRSA("SET POTS MIDPOINT", TR("SET AXIS MIDPOINT", "CENTER AXIS/SLIDERS"))
|
||||
#define TR_MOVESTICKSPOTS TRSA("MOVE ST/TH/POTS/AXIS", "MOVE AXIS/POTS")
|
||||
#define TR_MENUWHENDONE TR_ENTER " WHEN DONE"
|
||||
#define TR_AXISDIR "AXIS DIR"
|
||||
#define TR_MENUAXISDIR TR_ENTER_LONG " " TR_AXISDIR
|
||||
#endif
|
||||
#define TR_TXnRX "Tx:\0Rx:"
|
||||
#define OFS_RX 4
|
||||
#define TR_NODATA "NO DATA"
|
||||
#define TR_US "us"
|
||||
#define TR_HZ "Hz"
|
||||
@@ -472,11 +540,7 @@
|
||||
#define TR_PPM_TRAINER "TR"
|
||||
#define TR_CH "CH"
|
||||
#define TR_MODEL "MODEL"
|
||||
#if defined(SURFACE_RADIO)
|
||||
#define TR_FM "DM"
|
||||
#else
|
||||
#define TR_FM "FM"
|
||||
#endif
|
||||
#define TR_FM TRSA("DM", "FM")
|
||||
#define TR_EEPROMLOWMEM "EEPROM low mem"
|
||||
#define TR_PRESS_ANY_KEY_TO_SKIP "Press any key to skip"
|
||||
#define TR_THROTTLE_NOT_IDLE "Throttle not idle"
|
||||
@@ -490,14 +554,10 @@
|
||||
#define TR_STORAGE_FORMAT "Storage preparation"
|
||||
#define TR_EEPROMOVERFLOW "EEPROM overflow"
|
||||
#define TR_RADIO_SETUP "RADIO SETUP"
|
||||
#define TR_MENUTRAINER "TRAINER"
|
||||
#define TR_MENUSPECIALFUNCS "GLOBAL FUNCTIONS"
|
||||
#define TR_MENUVERSION "VERSION"
|
||||
#define TR_MENU_RADIO_SWITCHES TR("SWITCHES", "SWITCHES TEST")
|
||||
#define TR_MENU_RADIO_ANALOGS TR("ANALOGS", "ANALOGS TEST")
|
||||
#define TR_MENU_RADIO_ANALOGS_CALIB "CALIBRATED ANALOGS"
|
||||
#define TR_MENU_RADIO_ANALOGS_RAWLOWFPS "RAW ANALOGS (5 Hz)"
|
||||
#define TR_MENUCALIBRATION "CALIBRATION"
|
||||
#define TR_MENU_FSWITCH "CUSTOMIZABLE SWITCHES"
|
||||
#if defined(COLORLCD)
|
||||
#define TR_TRIMS2OFFSETS "Trims => Subtrims"
|
||||
@@ -508,31 +568,15 @@
|
||||
#define TR_CHANNEL2FAILSAFE "Channel=>Failsafe"
|
||||
#define TR_MENUMODELSEL TR("MODELSEL", "MODEL SELECTION")
|
||||
#define TR_MENU_MODEL_SETUP TR("SETUP", "MODEL SETUP")
|
||||
#if defined(SURFACE_RADIO)
|
||||
#define TR_MENUFLIGHTMODES "DRIVE MODES"
|
||||
#define TR_MENUFLIGHTMODE "DRIVE MODE"
|
||||
#else
|
||||
#define TR_MENUFLIGHTMODES "FLIGHT MODES"
|
||||
#define TR_MENUFLIGHTMODE "FLIGHT MODE"
|
||||
#endif
|
||||
#define TR_MENUHELISETUP "HELI SETUP"
|
||||
|
||||
#define TR_MENUINPUTS "INPUTS"
|
||||
#define TR_MENULIMITS "OUTPUTS"
|
||||
#define TR_MENUCURVES "CURVES"
|
||||
#define TR_MENUCURVE "CURVE"
|
||||
#define TR_MENULOGICALSWITCH "LOGICAL SWITCH"
|
||||
#define TR_MENULOGICALSWITCHES "LOGICAL SWITCHES"
|
||||
#define TR_MENUCUSTOMFUNC "SPECIAL FUNCTIONS"
|
||||
#define TR_MENUCUSTOMSCRIPTS "CUSTOM SCRIPTS"
|
||||
#define TR_MENUTELEMETRY "TELEMETRY"
|
||||
#define TR_MENUSTAT "STATS"
|
||||
#define TR_MENUDEBUG "DEBUG"
|
||||
#define TR_MONITOR_CHANNELS1 "CHANNELS MONITOR 1-8"
|
||||
#define TR_MONITOR_CHANNELS2 "CHANNELS MONITOR 9-16"
|
||||
#define TR_MONITOR_CHANNELS3 "CHANNELS MONITOR 17-24"
|
||||
#define TR_MONITOR_CHANNELS4 "CHANNELS MONITOR 25-32"
|
||||
#define TR_MONITOR_SWITCHES "LOGICAL SWITCHES MONITOR"
|
||||
#define TR_MONITOR_CHANNELS1 "CHANNELS 1-8"
|
||||
#define TR_MONITOR_CHANNELS2 "CHANNELS 9-16"
|
||||
#define TR_MONITOR_CHANNELS3 "CHANNELS 17-24"
|
||||
#define TR_MONITOR_CHANNELS4 "CHANNELS 25-32"
|
||||
#define TR_MONITOR_OUTPUT_DESC "Outputs"
|
||||
#define TR_MONITOR_MIXER_DESC "Mixers"
|
||||
#define TR_RECEIVER_NUM TR("RxNum", "Receiver No.")
|
||||
@@ -694,8 +738,6 @@
|
||||
#define TR_V2 "V2"
|
||||
#define TR_DURATION "Duration"
|
||||
#define TR_DELAY "Delay"
|
||||
#define TR_SD_CARD "SD CARD"
|
||||
#define TR_SDHC_CARD "SD-HC CARD"
|
||||
#define TR_NO_SOUNDS_ON_SD "No sounds on SD"
|
||||
#define TR_NO_MODELS_ON_SD "No models on SD"
|
||||
#define TR_NO_BITMAPS_ON_SD "No bitmaps on SD"
|
||||
@@ -714,7 +756,6 @@
|
||||
#define TR_REMOVED " removed"
|
||||
#define TR_SD_INFO "Information"
|
||||
#define TR_NA "N/A"
|
||||
#define TR_HARDWARE "HARDWARE"
|
||||
#define TR_FORMATTING "Formatting..."
|
||||
#define TR_TEMP_CALIB "Temp. Calib"
|
||||
#define TR_TIME "Time"
|
||||
@@ -770,13 +811,11 @@
|
||||
#define TR_SD_SECTORS "Sectors:"
|
||||
#define TR_SD_SIZE "Size:"
|
||||
#define TR_TYPE "Type"
|
||||
#define TR_GLOBAL_VARS "Global variables"
|
||||
#define TR_GVARS "GVARS"
|
||||
#define TR_GLOBAL_VAR "Global variable"
|
||||
#define TR_MENU_GLOBAL_VARS "GLOBAL VARIABLES"
|
||||
#define TR_OWN "Own"
|
||||
#define TR_DATE "Date"
|
||||
#define TR_MONTHS { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }
|
||||
#define TR_MONTHS "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
|
||||
#define TR_ROTARY_ENCODER "R.E."
|
||||
#define TR_ROTARY_ENC_MODE TR("RotEnc Mode","Rotary Encoder Mode")
|
||||
#define TR_CHANNELS_MONITOR "CHANNELS MONITOR"
|
||||
@@ -893,7 +932,6 @@
|
||||
#define TR_RANGE_TEST "Range Test"
|
||||
#define TR_RECEIVER_OPTIONS TR("REC. OPTIONS", "RECEIVER OPTIONS")
|
||||
#define TR_RESET_BTN BUTTON("Reset")
|
||||
#define TR_DEBUG "Debug"
|
||||
#define TR_KEYS_BTN BUTTON("Keys")
|
||||
#define TR_ANALOGS_BTN BUTTON(TR("Anas", "Analogs"))
|
||||
#define TR_FS_BTN BUTTON(TR("Custom sw", TR_FUNCTION_SWITCHES))
|
||||
@@ -976,7 +1014,6 @@
|
||||
#define TR_TOUCH_PANEL "Touch panel:"
|
||||
#define TR_FILE_SIZE "File size"
|
||||
#define TR_FILE_OPEN "Open anyway?"
|
||||
#define TR_TIMER_MODES {TR_OFFON,TR_START,TR_THROTTLE_LABEL,TR_THROTTLE_PERCENT_LABEL,TR_THROTTLE_START}
|
||||
|
||||
// Horus and Taranis column headers
|
||||
#define TR_PHASES_HEADERS_NAME "Name"
|
||||
@@ -1001,7 +1038,7 @@
|
||||
#define TR_INVERTED "Inverted"
|
||||
|
||||
|
||||
#define TR_LSW_DESCRIPTIONS { "Comparison type or function", "First variable", "Second variable or constant", "Second variable or constant", "Additional condition for line to be enabled", "Minimum ON duration of the logical switch", "Minimum TRUE duration for the switch to become ON" }
|
||||
#define TR_LSW_DESCRIPTIONS "Comparison type or function", "First variable", "Second variable or constant", "Second variable or constant", "Additional condition for line to be enabled", "Minimum ON duration of the logical switch", "Minimum TRUE duration for the switch to become ON"
|
||||
|
||||
#if defined(COLORLCD)
|
||||
// Horus layouts and widgets
|
||||
@@ -1018,10 +1055,9 @@
|
||||
#define TR_ALIGNMENT "Alignment"
|
||||
#define TR_ALIGN_LABEL "Align label"
|
||||
#define TR_ALIGN_VALUE "Align value"
|
||||
#define TR_ALIGN_OPTS { "Left", "Center", "Right" }
|
||||
#define TR_ALIGN_OPTS "Left", "Center", "Right"
|
||||
#define TR_TEXT "Text"
|
||||
#define TR_COLOR "Color"
|
||||
#define TR_MAIN_VIEW_X "Main view XX"
|
||||
#define TR_PANEL1_BACKGROUND "Panel1 background"
|
||||
#define TR_PANEL2_BACKGROUND "Panel2 background"
|
||||
#define TR_WIDGET_GAUGE "Gauge"
|
||||
@@ -1085,11 +1121,9 @@
|
||||
#define TR_WIDGET_SETTINGS "Widget settings"
|
||||
#define TR_REMOVE_SCREEN "Remove screen"
|
||||
#define TR_SETUP_WIDGETS "Setup widgets"
|
||||
#define TR_USER_INTERFACE "User interface"
|
||||
#define TR_THEME "Theme"
|
||||
#define TR_SETUP "Setup"
|
||||
#define TR_LAYOUT "Layout"
|
||||
#define TR_ADD_MAIN_VIEW "Add main view"
|
||||
#define TR_TEXT_COLOR "Text color"
|
||||
#define TR_MENU_INPUTS STR_CHAR_INPUT "Inputs"
|
||||
#define TR_MENU_LUA STR_CHAR_LUA "Lua scripts"
|
||||
@@ -1157,20 +1191,6 @@
|
||||
#define TR_CANCEL "Cancel"
|
||||
#define TR_EDIT_THEME "EDIT THEME"
|
||||
#define TR_DETAILS "Details"
|
||||
#define TR_THEME_EDITOR "THEMES"
|
||||
|
||||
// Main menu
|
||||
#define TR_MAIN_MENU_SELECT_MODEL "Select\nModel"
|
||||
#define TR_MAIN_MENU_MANAGE_MODELS "Manage\nModels"
|
||||
#define TR_MAIN_MENU_MODEL_NOTES "Model\nNotes"
|
||||
#define TR_MAIN_MENU_CHANNEL_MONITOR "Channel\nMonitor"
|
||||
#define TR_MAIN_MENU_MODEL_SETTINGS "Model\nSettings"
|
||||
#define TR_MAIN_MENU_RADIO_SETTINGS "Radio\nSettings"
|
||||
#define TR_MAIN_MENU_SCREEN_SETTINGS "Screens\nSettings"
|
||||
#define TR_MAIN_MENU_RESET_TELEMETRY "Reset\nTelemetry"
|
||||
#define TR_MAIN_MENU_STATISTICS "Statistics"
|
||||
#define TR_MAIN_MENU_ABOUT_EDGETX "About\nEdgeTX"
|
||||
// End Main menu
|
||||
|
||||
// Voice in native language
|
||||
#define TR_VOICE_ENGLISH "English"
|
||||
@@ -1227,8 +1247,8 @@
|
||||
#define TR_SYNC "Sync"
|
||||
|
||||
#define TR_ENABLED_FEATURES "Enabled Features"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu Tabs"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu Tabs"
|
||||
#define TR_RADIO_MENU_TABS "Radio Menu"
|
||||
#define TR_MODEL_MENU_TABS "Model Menu"
|
||||
|
||||
#define TR_SELECT_MENU_ALL "All"
|
||||
#define TR_SELECT_MENU_CLR "Clear"
|
||||
|
||||
Reference in New Issue
Block a user