diff --git a/HISTORY.md b/HISTORY.md index 56a93761..8ffcc1c1 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -9,6 +9,7 @@ ### 2019-11-04 * new dev version * morphic: limit translation of menu items to specially marked ones +* blocks: translate "my" submenu label in "set" block ## v5.3.0: * **New Features:** diff --git a/snap.html b/snap.html index da422b02..a66016ce 100755 --- a/snap.html +++ b/snap.html @@ -6,7 +6,7 @@ - + diff --git a/src/blocks.js b/src/blocks.js index fc998384..67f5e009 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2019-November-02'; +modules.blocks = '2019-November-04'; var SyntaxElementMorph; var BlockMorph; @@ -618,7 +618,7 @@ SyntaxElementMorph.prototype.getVarNamesDict = function () { if (block.selector === 'doSetVar') { // add settable object attributes dict['~'] = null; - dict.my = { + dict[localize('my')] = { 'anchor' : ['anchor'], 'parent' : ['parent'], 'name' : ['name'],