Commit 0a27dc33 authored by User's avatar User Committed by Evan W. Patton

Update components.js

Fixed i18n translation issue
parent 4335ec60
...@@ -173,7 +173,7 @@ Blockly.Blocks.component_event = { ...@@ -173,7 +173,7 @@ Blockly.Blocks.component_event = {
// Vertically aligned parameters // Vertically aligned parameters
for (i = 0; param = params[i]; i++) { for (i = 0; param = params[i]; i++) {
this.appendDummyInput('VAR' + i) this.appendDummyInput('VAR' + i)
.appendField(new Blockly.FieldParameterFlydown(componentDb.getInternationalizedPropertyName(param.name), false), .appendField(new Blockly.FieldParameterFlydown(componentDb.getInternationalizedParameterName(param.name), false),
'VAR' + i) 'VAR' + i)
.setAlign(Blockly.ALIGN_RIGHT); .setAlign(Blockly.ALIGN_RIGHT);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment