clarkyblade / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

Human readable names used to load blocks #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a drop down that has two different language independent values, but 
the same language dependent value. (Ex. HELLO and GOODBYE are language 
independent, while "aloha" is the language dependent value)  (use language file 
attached in test playground).

Selection:
2. Click on the drop down and select the second selection.

Problem: The second item in the drop down should be selected. Instead the first 
item remains selected.

Loading XML:
3. Import this XML: <xml><block type="sayHello" x="31" y="1"><title 
name="MODE">GOODBYE</title></block></xml>
4. Click the Export XML button.

Problem: The exported XML has the value of "HELLO" for the title instead of 
goodbye. The language independent name should be used, for loading the blocks, 
not the language dependent.

Example block language file is attached.

Original issue reported on code.google.com by paulmed...@gmail.com on 15 Oct 2012 at 1:24

Attachments:

GoogleCodeExporter commented 9 years ago
Good point.  Fixed (r562).  Thanks!

Original comment by neil.fra...@gmail.com on 3 Jan 2013 at 6:08