diff --git a/HISTORY.md b/HISTORY.md index 64cb395c..37bd82c6 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -13,6 +13,7 @@ * blocks: don't translate variable names in drop-down menus * objects: don't translate variable names in "delete a variable" button menu * blocks: don't translate variable names in "inherit" block menu +* blocks: fixed dropdown menu generation for untranslated items ## v5.3.1: * **Notable Fixes:** diff --git a/src/blocks.js b/src/blocks.js index a84bb9b5..f3e0302e 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -8749,7 +8749,7 @@ InputSlotMorph.prototype.menuFromDict = function ( } else if (choices[key].length === 2) { // don't translate menu.addItem( key, - choices[key], + choices[key][0], null, // hint null, // color null, // bold