Skip to content

Commit 334e5e6

Browse files
committed
edit ui content
1 parent 12fee0f commit 334e5e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

blockly/blocks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Blockly.Blocks['gps_read'] = {
4444
this.appendValueInput("qryTime")
4545
.setCheck(null)
4646
.appendField(new Blockly.FieldVariable("gps"), "gps")
47-
.appendField(Blockly.Msg.WEBDUINO_GPS_GET_CORD);
47+
.appendField(Blockly.Msg.WEBDUINO_GPS_GET_CORD)
4848
.appendField(Blockly.Msg.WEBDUINO_GPS_EVERY);
4949
this.appendDummyInput()
5050
.appendField(Blockly.Msg.WEBDUINO_GPS_RUN_EVERY_MS);
@@ -72,7 +72,7 @@ Blockly.Blocks['gps_get_data'] = {
7272
[Blockly.Msg.WEBDUINO_GPS_CURRENT_TIME, "time"]
7373
]), "dataType");
7474
this.setOutput(true, null);
75-
this.setColour(20);
75+
this.setColour(35);
7676
this.setTooltip('');
7777
this.setHelpUrl('https://webduino.io');
7878
}

blockly/msg/blocks/zh-hant.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// GPS
2-
Blockly.Msg.WEBDUINO_GPS_RX = "GPS 定位(TinyGPS),RX ";
3-
Blockly.Msg.WEBDUINO_GPS_TX = " TX";
2+
Blockly.Msg.WEBDUINO_GPS_RX = "GPS 定位 ( TinyGPS ),RX ";
3+
Blockly.Msg.WEBDUINO_GPS_TX = " TX";
44
Blockly.Msg.WEBDUINO_GPS_LOCATE = "經緯度:";
55
Blockly.Msg.WEBDUINO_GPS_TIME = "目前時間:";
66
Blockly.Msg.WEBDUINO_GPS_GET_NOW = "取得資訊:";

0 commit comments

Comments
 (0)