Commit Graph
3669 Commits
Author SHA1 Message Date
ulfhedlundandGitHub e4fc166e77 feat: Updated all Swedish Companion translations, minor changes to radio translations 🇸🇪 (#2321)
* 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`
2022-09-18 20:17:03 +10:00
RistoGitHubNiel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
9dc4065525 feat: Add support for SpaceMouse mod (6D input knob) (#1853)
Use `-DSPACEMOUSE=YES` CMake option to activate on Horus color targets.
Co-authored-by: Niel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
2022-09-18 09:23:48 +02:00
CliffandGitHub 333c2828ea fix(color): Limit label lengths, improve lbl display, prevent inv. char (#2287)
* (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
2022-09-18 10:47:21 +10:00
Raphael CoefficandGitHub 9fbf0b7b0a fix(simu): prevent mouse wheel event to be handled twice (#2319)
Fixes #2188
2022-09-15 21:15:09 +10:00
Neil HorneandGitHub 7d9ecd275a fix(cpn): Missing brackets in model print (#2297) 2022-09-08 21:42:22 +10:00
Neil HorneandGitHub ab640e3055 feat(cpn): Rename model Save to Export (#2296) 2022-09-08 19:10:08 +10:00
4e49ac68be feat(colorlcd): Special Function to set main screen (#2160)
* Special Function to set main screen (#2135)

* chore: Add new SF to LUA constants list

* Companion support

* Formatting

* get rid of magic number

* Add function to get the number of custom screens

* Change screen numbering from 0-based to 1-based.

* Allow SetScreen custom function for Color LCD only

* add range protection

* cleanup

* yet, range protection once again

* fix: paintSpecialFunctionLine can't alter SF param data

* Fix screen initialization in companion

* move screen switching to the UI

* Trigger view change from guiMain()

* chore: Change "SET" to "Set" for consistency

* fix: Somehow missed extra comma in `TW`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-09-07 21:40:34 +10:00
Neil HorneandGitHub 435e4c86f5 fix(cpn): Add model with template crashed simulator (#2289) 2022-09-07 20:13:43 +10:00
Neil HorneandGitHub 58a6239ac5 fix(cpn): Companion simulator would crash post add model (#2281) 2022-09-06 21:08:02 +10:00
dlktdrandPeter Feerick aec0639e66 (fw+cpn) libsim not loading models, set mod on new lbl 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 4067c6df07 (fw,cpn) Support commas in labels
Remove more cpn unused code
2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 441d7a25f1 (cpn) Warning if rename to duplicate 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 93bfd5b264 (cpn) fix not marking as modified 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 18a51dcf4f (cpn) Fix - Always show checkboxes 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 9131125b58 (cpn) Remove more un-unsed code, new set. add "Fav" lbl 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick d462e24862 (cpn) Labels - Various fixes
Don't allow duplicate
Partial labels of others also selected
Paste doesn't update labels list
2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 32a6f792b9 fix(cpn) Delete Label, Import models, Add fav
CMPN: Correct not reading models if no labels.yml

CMPN: Fix crash if no delete with no label selected
2022-09-06 21:04:10 +10:00
elecpowerandPeter Feerick c434f49cae Fix disabled File and Edit menus 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1f50bb29f4 Disable Manuals and other Documents menu action 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 28f38f4c9e Rename update options dialog button labels 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick edbf638357 Fix manual check for updates and some renames 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 3e6a9ddd5a Fix sounds chooser cancel action and improve progress messaging 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 7ce07f5a82 Wording tweak 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1d91d289a7 Split housekeeping tasks 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 38749d713d Invoke interactive update mode if any updates found on startup 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 19db99c4c2 Use sounds.json release asset for available languages and variants 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1d9f0d7d76 Sounds language pack choice 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 316ab766fa Fix firmware install filter 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 4f089acf65 Minor msg wording change 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick b99514c5b8 Move settingsIdx to private 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 2578c759ce Check if any components flagged as updateable 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick d9237cc320 Tweak dialog sizing 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 443f4f349a Delay initialisation of fw flavour and language until update process runs 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 887902bf4f Include OpenSSL 1.1 in Win32 and Win64 installer packages 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick d86e60c45a Offer to restart Companion after install on linux 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick caa5100077 Rework companion installer for linux 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 8d99c66491 Fix decompress result to calling function 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 5a9b5bfc23 Comment out more msgs 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick ba2ceca8d7 Comment out informative debug messages 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick df8bec52c4 Change msgs from info to debug 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick bb4ed8023d Improve messages and update options dialog checkbox after Forget 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 7ee796d56a Fix autoupdate not doing anything, release dir name validation, various msgs 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick cc68bd2d84 Handle no sd path set 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 0248a1c7d6 Code tidy 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 696118052e Update radio detection for deciding whether to display splahs settings 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 07f9d38237 Rename settings and change the way post install deletes are configured and operate 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 97048a1544 Add prompt sd sync and install app setting 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 5b5d4de288 Add log level to settings reset 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 66a2eb996c Miniz change some msg types 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 954159776a Change settings default updateLogLevel to QtInfoMsg 2022-09-06 09:29:41 +10:00