Skip to content

Commit 2e2cfac

Browse files
author
Matthew Matz
committed
GPS block text/tooltip edits
1 parent d0a7055 commit 2e2cfac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/webapp/cdn/blockly/generators/propc/sensors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ Blockly.Blocks.GPS_velocity = {
12181218
this.setTooltip(Blockly.MSG_GPS_VELOCITY_TOOLTIP);
12191219
this.setColour(colorPalette.getColor('input'));
12201220
this.appendDummyInput()
1221-
.appendField("GPS velocity in")
1221+
.appendField("GPS speed in")
12221222
.appendField(new Blockly.FieldDropdown([["mph", "MPH"], ["knots", "KNOTS"]]), "VELOCITYUNITS");
12231223

12241224
this.setOutput(true, 'Number');

src/main/webapp/cdn/blockly/language/en/_messages.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,12 @@ Blockly.MSG_WS2812B_MULTIPLE_TOOLTIP = "RGB-LED set multiple: specify color for
353353
Blockly.MSG_WS2812B_UPDATE_TOOLTIP = "RGB-LED update: update colors of all connected RGB-LEDs.";
354354
Blockly.MSG_GPS_INIT_TOOLTIP = "GPS Init: match to Propeller I/O pin connections and GPS module buad rate.";
355355
Blockly.MSG_GPS_HASFIX_TOOLTIP = "GPS has satellite fix: Returns 1 if there is a valid fix, 0 (zero) if not.";
356-
Blockly.MSG_GPS_LAT_TOOLTIP = "GPS latitude: provides latitude in degree-100ths. North lats are positive, South lats are negative.";
357-
Blockly.MSG_GPS_LONG_TOOLTIP = "GPS longitude: provides longitude in degree-100ths. East lats are positive, West lats are negative.";
356+
Blockly.MSG_GPS_LAT_TOOLTIP = "GPS latitude: provides latitude in microdegrees. North latitudes are positive, South latitudes are negative.";
357+
Blockly.MSG_GPS_LONG_TOOLTIP = "GPS longitude: provides longitude in microdegrees. East longitudes are positive, West longitudes are negative.";
358358
Blockly.MSG_GPS_HEADING_TOOLTIP = "GPS heading: provides compass heading in degrees. Values are only valid when in motion";
359359
Blockly.MSG_GPS_ALTITUDE_TOOLTIP = "GPS altitude: provides altitude in centimeters above sea level.";
360360
Blockly.MSG_GPS_SATS_TOOLTIP = "GPS satellites tracked: provides the number of satellites the GPS module can see.";
361-
Blockly.MSG_GPS_VELOCITY_TOOLTIP = "GPS velocity: provides the speed the module is travelling in the specified units.";
361+
Blockly.MSG_GPS_VELOCITY_TOOLTIP = "GPS speed: provides the speed the module is travelling in the specified units.";
362362
Blockly.MSG_FPS_INIT_TOOLTIP = "Fingerprint scanner initialize: match to Propeller I/O pin connections.";
363363
Blockly.MSG_FPS_ADD_TOOLTIP = "Fingerprint scanner capture: capture and save or delete a capture or captures and their ID(s).";
364364
Blockly.MSG_FPS_SCAN_TOOLTIP = "Fingerprint scanner scan: scan and identify or scan and compare a fingerprint, or count the number of saved captures.";

0 commit comments

Comments
 (0)