From d7ed86527051c24f80bd45b86bcdf55a04aea202 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 4 Nov 2019 23:03:36 +0100 Subject: [PATCH] translate "my" submenu label in "set" block --- HISTORY.md | 1 + snap.html | 2 +- src/blocks.js | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) 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'],