Commit 96349f38 authored by ColinTree's avatar ColinTree Committed by Evan W. Patton

Fixed component type is not translated in generic method

parent 0c6f04a2
......@@ -449,7 +449,7 @@ Blockly.Blocks.component_method = {
this.componentDropDown.setValue(this.instanceName);
} else {
this.appendDummyInput()
.appendField(Blockly.Msg.LANG_COMPONENT_BLOCK_GENERIC_METHOD_TITLE_CALL + this.typeName + '.' + localizedMethodName);
.appendField(Blockly.Msg.LANG_COMPONENT_BLOCK_GENERIC_METHOD_TITLE_CALL + componentDb.getInternationalizedComponentType(this.typeName) + '.' + localizedMethodName);
this.appendValueInput("COMPONENT")
.setCheck(this.typeName).appendField(Blockly.Msg.LANG_COMPONENT_BLOCK_GENERIC_METHOD_TITLE_FOR_COMPONENT)
.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