Skip to content

Commit

Permalink
Add help text to sections on GPS tab (#3485)
Browse files Browse the repository at this point in the history
* Add help text to sections on GPS tab

* Update locales/en/messages.json

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
  • Loading branch information
HThuren and haslinghuis committed Jun 21, 2023
1 parent ad9b29e commit d143d42
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
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 @@ -2735,6 +2747,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

0 comments on commit d143d42

Please sign in to comment.