Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add help text to sections on GPS tab #3485

Merged
merged 2 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions locales/en/messages.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -1518,6 +1518,10 @@
"configurationGPS": {
"message": "GPS Configuration"
},
"configurationGPSHelp": {
"message": "Setup protocol for GPS device (remember to setup port in Port tab), use Auto baud (or setup speed at Port tab) and other configuration",
"description": "Help text GPS configuration"
},
"configurationGPSProtocol": {
"message": "Protocol"
},
Expand Down Expand Up @@ -2689,9 +2693,17 @@
"gpsHead": {
"message": "GPS"
},
"gpsHeadHelp": {
"message": "Show various information releated to GPS. Heading are only shown when Magnetometer are in use",
"description": "Help text for gpsHead"
},
"gpsMapHead": {
"message": "Current GPS location"
},
"gpsMapHeadHelp": {
"message": "Show GPS location on the map. Use mouse scroll button to zoom in and out.<br>The location icon shows the north direction when the magnetometer is in use",
"description": "Help text for gpsHeadMap"
},
"gpsMapMessage1": {
"message": "Please check your internet connection"
},
Expand Down Expand Up @@ -2731,6 +2743,10 @@
"gpsSignalStrHead": {
"message": "GPS Signal Strength"
},
"gpsSignalStrHeadHelp": {
"message": "Show signal strength, quality and status for each discovered GPS source",
"description": "Help text for gpsSignalStrHead"
},
"gpsSignalStr": {
"message": "Signal Strength"
},
Expand Down
4 changes: 4 additions & 0 deletions src/tabs/gps.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<div class="gui_box grey gps">
<div class="gui_box_titlebar">
<div class="spacer_box_title" i18n="configurationGPS"></div>
<div class="helpicon cf_tip" i18n_title="configurationGPSHelp"></div>
</div>
<div class="spacer_box">
<div class="gps_config">
Expand Down Expand Up @@ -66,6 +67,7 @@
<div class="gui_box grey">
<div class="gui_box_titlebar">
<div class="spacer_box_title" i18n="gpsSignalStrHead"></div>
<div class="helpicon cf_tip" i18n_title="gpsSignalStrHeadHelp"></div>
</div>
<div class="spacer_box GPS_signal_strength">
<table class="cf_table">
Expand All @@ -79,6 +81,7 @@
<div class="gui_box grey">
<div class="gui_box_titlebar">
<div class="spacer_box_title" i18n="gpsHead"></div>
<div class="helpicon cf_tip" i18n_title="gpsHeadHelp"></div>
</div>
<div class="spacer_box GPS_info">
<table class="cf_table">
Expand Down Expand Up @@ -121,6 +124,7 @@
<div class="gui_box grey gps_map">
<div class="gui_box_titlebar" style="margin-bottom: 0px;">
<div class="spacer_box_title" i18n="gpsMapHead"></div>
<div class="helpicon cf_tip" i18n_title="gpsMapHeadHelp"></div>
</div>
<div id="connect" i18n="gpsMapMessage1">
<div class="default_btn" style="width:50px; margin-left:auto; margin-right:auto; float:none;"><a id="check">retry</a></div>
Expand Down