* Moved getFieldInfo and getValue up right after related functions
* Modified getValue to return a valid status, so Lua can see if it got zero because of invalid source id
* Added new getSourceValue Lua function per Issue #781
Also added alias getSourceInfo for getFieldInfo
* Updated according to comment https://github.com/EdgeTX/edgetx/pull/2175#issuecomment-1245605114
* Replaced isFresh() by !isOld() as requested in https://github.com/EdgeTX/edgetx/pull/2316#issuecomment-1246759370
* Clean up `lua_pushtablenil` - tables cannot hold nil values
* Changed isFresh() to !isOld() ... AGAIN
* Return both `!isOld()` and `isFresh()`
* Return nil for all values if the item does not exist
* Return 0 instead of pushing three nil values
* Update documentation
* first commit for FrSky 8s Lipo Sensor
FLVS Advanced transfers up to 8 cell voltages for Cels sensor
* correcting mistake made transferring local change to PR
* complementary extension of Companion telemetry simulator to enable simulation of 8 cells
* change to allow selection of cells 7 and 8 in calculated sensor with formula Cell
* (cpn) Add bin and yml conversions and basic semantic version helper
Co-authored-by: elecpower <neilh713@tpg.com.au>
* Button: change bg color to COLOR_THEME_PRIMARY2
And text color to COLOR_THEME_SECONDARY1
Fixes#2304
* fix: TextButton constuctor calls
Setting the font in the constructor never worked, but did set the text color to black.
* chore: Bump libopenui
* feat: Remove TR# mixsrc when trainer disabled
When trainer mode is not enabled, there is no point
showing the TR# mixer sources. Once you enable a
trainer option, they will become visible again.
* fix: Add missing "Input" check for B&W radios
* fix(cpn): Trainer mode default is off
* chore(cpn): If trainer mode off, hide TR/PPM srcs
* (cpn) Refresh all source lists on change of trainer mode
Co-authored-by: elecpower <neilh713@tpg.com.au>
* Corrected spelling mistake for TR_MOVE_UP
* New label-related items in MdiChild
* Added three not previously translated items
* Minor change
* Minor tweaks
* One minor spelling mistake fixed ("imgage" to "image")
Might cause some confusion for translators (did for me) but the text is probably is never displayed so perhaps doesn't really matter. Now fixed anyways.
* One misplaced bracket (causing build errors) removed
* A few additional improvements
* One minor change for "Menu laguage" translation
* Spelling error corrected
* Restore go to edit curve on lobg press from inputs tab.
* Restore long press functionaliy for switches SA_UP -> !SA_UP
* chore: Auto-formatting and bump libopenui
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* fix: Update translation helper for LVGL changes
Also:
- make paths more OS agnostic
- auto-ignore `untranslated.h` since adding to all translations
- flag required parameter as required
* fix: Add more Label related translatable strings
* chore: Italian translations from @robustini
Also some minor formatting tidyup
* chore: Swedish translation from @ulfhedlund
* chore: Danish translation from @HThuren
* initial commit for Module / RX version pop up - fixes#2320
* got rid of "no information" module names. Module names are now identical to the settings internal and external RF dialog, expect PXX2 which sets name depending on hw info.
* cosmetics
* hide int/ext status when there is no status to report
* fix: Also unhide PXX2 module status if set
* feat: Move NV14 fw version to module info screen
* New translations for download and update functionality (#2148)
* Minor changes only
* Added translations for setName
* Regenerated translation file using QT Linguist tool "lupdate", now complete to >99%
Regenerated Swedish translation file for Companion, using "lupdate" tool as described here: https://doc.qt.io/qt-5/qtlinguist-index.html.
The result:
Updating 'companion/src/translations/companion_sv.ts'...
Found 2833 source text(s) (185 new and 2648 already existing)
Removed 529 obsolete entries
Number heuristic provided 3 translation(s)
Same-text heuristic provided 29 translation(s)
Then reviewed and added all missing translations.
* Changes after PR review by @pfeerick
* fix: Re-add missing `TR_SF_SET_SCREEN`
Use `-DSPACEMOUSE=YES` CMake option to activate on Horus color targets.
Co-authored-by: Niel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
* (cpn) Add bullets & length warning
* (fw) Show labels with bullet separators
* (fw) Check all running twice. Remove from here
* (fw) Correct buffer overflow when labels too long
* (fw) Rem bullets in model label string
* (fw, cpn) Labels length
cpn,fw Limit label length
cpn Check correct model on rename length
cpn Focus issues
cpn Add rename, move up/down.. still has an issue with selection. TODO...
cpn Switch to utf8 encoding
cpn Rename button ;)
* (cpn) Move up down working
re-Fix Checkbox, partially isn't what I thought (not greyed)
* (fw) Add CSV string funcs
Limit length of model edit shorter in portrait mode
* (cpn) Correct Label option showing on B&W
* (fw) Radio filename set but no file exists don't create
* (cpn) Simplify wording
* (fw) Correct debug values
* (fw) Reduce truncation length
* (both) Don't allow special chars in label name
(cpn) Prevent move when at top and bottom
(fw) Remove multiple label length defines
(fw) Shorten truncate length even more
* (fw) Close model_select on new model
* fix: Don't allow select MULTI_TRAINER if no MULTI
Fixes#1563 by ensuring Multi Trainer opt is not shown if no MPM
is enabled, as well as if MPM suport is not even compiled in.
* chore: Uppercase "OFF" or equiv for Trainer OFF
* fix: Use degree symbol instead of `@`
For temperature and degree units, @C, @F and @ were being shown, rather than °C, °F and °.
Also hoping this will also resolve the GPS sensor showing @ instead of ° as mentioned in #2163
* fix: B&W need prior `@` for degrees
* fix: `dBm` missing from some translations