don't translate variable names in "inherit" block menu

pull/89/head
jmoenig 2019-11-06 01:37:38 +01:00
rodzic 734a384e50
commit 8d55cee5ef
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -12,6 +12,7 @@
* morphic: added support for "verbatim" (untranslated) menu items
* 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
## v5.3.1:
* **Notable Fixes:**

Wyświetl plik

@ -9146,7 +9146,7 @@ InputSlotMorph.prototype.shadowedVariablesMenu = function () {
// inside TELL, ASK or OF or when initializing a new clone
vars = rcvr.variables.names();
vars.forEach(function (name) {
dict[name] = name;
dict[name] = [name, false]; // don't translate
});
attribs = rcvr.attributes;
/*
@ -9161,7 +9161,7 @@ InputSlotMorph.prototype.shadowedVariablesMenu = function () {
// only show shadowed vars and attributes
vars = rcvr.inheritedVariableNames(true);
vars.forEach(function (name) {
dict[name] = name;
dict[name] = [name, false];
});
attribs = rcvr.shadowedAttributes();
/*