add translations
This commit is contained in:
		
							parent
							
								
									0cba423749
								
							
						
					
					
						commit
						3dfcffc2ad
					
				| @ -130,13 +130,13 @@ Blockly.Blocks['sensebox_lora_ttn_mapper'] = { | |||||||
|             .appendField(new Blockly.FieldDropdown([["0", "0"], ["1", "1"], ["2", "2"], ["3", "3"]].reverse()), "dropdown"); |             .appendField(new Blockly.FieldDropdown([["0", "0"], ["1", "1"], ["2", "2"], ["3", "3"]].reverse()), "dropdown"); | ||||||
|         // reverse() because i want 3 be be at first and i'm to lazy to write the array again
 |         // reverse() because i want 3 be be at first and i'm to lazy to write the array again
 | ||||||
|         this.appendValueInput('Latitude') |         this.appendValueInput('Latitude') | ||||||
|             .appendField('Latitude') |             .appendField(Blockly.Msg.senseBox_gps_lat) | ||||||
|             .setCheck(null); |             .setCheck(null); | ||||||
|         this.appendValueInput('Longitude') |         this.appendValueInput('Longitude') | ||||||
|             .appendField('Longitude') |             .appendField(Blockly.Msg.senseBox_gps_lng) | ||||||
|             .setCheck(null); |             .setCheck(null); | ||||||
|         this.appendValueInput('Altitude') |         this.appendValueInput('Altitude') | ||||||
|             .appendField('Altitude') |             .appendField(Blockly.Msg.senseBox_gps_alt) | ||||||
|             .setCheck(null); |             .setCheck(null); | ||||||
|         this.appendValueInput('pDOP') |         this.appendValueInput('pDOP') | ||||||
|             .appendField('pDOP') |             .appendField('pDOP') | ||||||
|  | |||||||
| @ -331,7 +331,7 @@ Blockly.Blocks['sensebox_scd30'] = { | |||||||
| 
 | 
 | ||||||
| Blockly.Blocks['sensebox_gps'] = { | Blockly.Blocks['sensebox_gps'] = { | ||||||
|   init: function () { |   init: function () { | ||||||
|     var dropdownOptions = [["Latitude", "latitude"], ["Longitude", "longitude"], ["Altitude", "altitude"], ["pDOP", "pDOP"], ["Fix Type", "fixType"]]; |     var dropdownOptions = [[Blockly.Msg.senseBox_gps_lat, "latitude"], [Blockly.Msg.senseBox_gps_lng, "longitude"], [Blockly.Msg.senseBox_gps_alt, "altitude"], ["pDOP", "pDOP"], ["Fix Type", "fixType"]]; | ||||||
|     this.appendDummyInput() |     this.appendDummyInput() | ||||||
|       .appendField("GPS Modul"); |       .appendField("GPS Modul"); | ||||||
|     this.appendDummyInput() |     this.appendDummyInput() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user