edgetx
edgetx copied to clipboard
Custom global warning
Fixes #1276
Summary of changes:
- Added ability to display custom global warning, that is displayed on startup and each model load
- The warning has user-defined title and text
- Added menu entries to enable/disable feature as well as define title
- Text only to be changed by YAML file edit or using Companion as it is to long to enter by radio GUI
Comments: Together with model notes / checklist it allows to display critical warnings globally and per model.
Notes:
- All changes were tested only on Radiomaster TX12
- Tested that opening yaml file without positions for the settings is safe (defaults to this option disabled - backwards compatible)
Coool!
So there will not be any way how to set it via rx, not companion? Maybe some txt file with text (like note feature) and load it for specified warning? Txt file could be just copied to sd card on pc so no companion needed. I am just asking, this is a really cool idea and feature, I hope it will be merged into 2.8
@Eldenroot To keep it flexible and simple simultaneously I decided to:
- have warning title (short text) with ability to be edited from radio
- have warning text to be edited from companion / YAML file.
As YAML file is only a specially formatted text file it might be edited without companion with no effort. In my opinion there is no need to make a mess with another file just to store a line or two of text
@piotrva - OK, sounds good!
DA translation add radio/translations/da.h :-)
#define TR_CUSTOM_ALARM_TITLE "Bruger titel" #define TR_CUSTOM_ALARM "Bruger"
CZ translation add radio/translations/cz.h
#define TR_CUSTOM_ALARM_TITLE "Vlastní název" #define TR_CUSTOM_ALARM "Vlastní"
Translators please could you check? :) @ParkerEde @Eldenroot - OK @ulfhedlund @robustini @zyren @ajjjjjjjj @ToshihiroMakuuchi @HThuren - OK
IT
#define TR_CUSTOM_ALARM_TITLE "Titolo utente" #define TR_CUSTOM_ALARM "Utente"
PL
#define TR_CUSTOM_ALARM_TITLE "Własny tytuł"
#define TR_CUSTOM_ALARM "Własny"
CN #define TR_CUSTOM_ALARM_TITLE "自定义标题" #define TR_CUSTOM_ALARM "自定义"
TW #define TR_CUSTOM_ALARM_TITLE "自定義標題" #define TR_CUSTOM_ALARM "自定義"
DE
#define TR_CUSTOM_ALARM_TITLE "Benutzer-Titel" #define TR_CUSTOM_ALARM "Benutzer"
JP
#define TR_CUSTOM_ALARM_TITLE "カスタムタイトル" #define TR_CUSTOM_ALARM "カスタム"
SE
#define TR_CUSTOM_ALARM_TITLE "Anpassad rubrik" #define TR_CUSTOM_ALARM "Anpassat meddelande"
Oh, I see that the milestone is again postponed... :( is there anything what can I do to make it integrated into 2.10?
Oh, I see that the milestone is again postponed... :( is there anything what can I do to make it integrated into 2.10?
Making a rebase would help a lot
Oh, I see that the milestone is again postponed... :( is there anything what can I do to make it integrated into 2.10?
Making a rebase would help a lot
Above my coding knowledge together with LVGL :( srry
rebased, but probably not functional right now, at least companion is probably broken
Is this still relevant or has the interactive checklist superseded it?
This is not directly related to checklists, is a standalone feature so still relevant.
Oh, no... again postponed :(
Both this and another PR will be revisited soon once 2.10 is branched off. Just don't have the time or energy to fight with the rebase for them.