kopia lustrzana https://github.com/backface/turtlestitch
don't translate variable names in "inherit" block menu
rodzic
734a384e50
commit
8d55cee5ef
|
@ -12,6 +12,7 @@
|
||||||
* morphic: added support for "verbatim" (untranslated) menu items
|
* morphic: added support for "verbatim" (untranslated) menu items
|
||||||
* blocks: don't translate variable names in drop-down menus
|
* blocks: don't translate variable names in drop-down menus
|
||||||
* objects: don't translate variable names in "delete a variable" button menu
|
* 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:
|
## v5.3.1:
|
||||||
* **Notable Fixes:**
|
* **Notable Fixes:**
|
||||||
|
|
|
@ -9146,7 +9146,7 @@ InputSlotMorph.prototype.shadowedVariablesMenu = function () {
|
||||||
// inside TELL, ASK or OF or when initializing a new clone
|
// inside TELL, ASK or OF or when initializing a new clone
|
||||||
vars = rcvr.variables.names();
|
vars = rcvr.variables.names();
|
||||||
vars.forEach(function (name) {
|
vars.forEach(function (name) {
|
||||||
dict[name] = name;
|
dict[name] = [name, false]; // don't translate
|
||||||
});
|
});
|
||||||
attribs = rcvr.attributes;
|
attribs = rcvr.attributes;
|
||||||
/*
|
/*
|
||||||
|
@ -9161,7 +9161,7 @@ InputSlotMorph.prototype.shadowedVariablesMenu = function () {
|
||||||
// only show shadowed vars and attributes
|
// only show shadowed vars and attributes
|
||||||
vars = rcvr.inheritedVariableNames(true);
|
vars = rcvr.inheritedVariableNames(true);
|
||||||
vars.forEach(function (name) {
|
vars.forEach(function (name) {
|
||||||
dict[name] = name;
|
dict[name] = [name, false];
|
||||||
});
|
});
|
||||||
attribs = rcvr.shadowedAttributes();
|
attribs = rcvr.shadowedAttributes();
|
||||||
/*
|
/*
|
||||||
|
|
Ładowanie…
Reference in New Issue