Boolean value representation translation fix

Boolean value block representations in evaluation bubbles, speech
bubbles and stage watchers, are now translated. Thanks, Victor, for the
bug report!
pull/3/merge
jmoenig 2013-03-25 08:48:44 +01:00
rodzic 20b6675108
commit fcc161ad10
2 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -1558,4 +1558,8 @@ ______
* Objects: numeric prompters for watcher's sliderMin/Max
* translation updates
* Objects: 'pic…' screenshot feature for the stage
* GUI, Cloud: Fallback message support before showing an error
* GUI, Cloud: Fallback message support before showing an error
130325
------
* Objects: Boolean value block representations are now translated, thanks, Victor, for the report

Wyświetl plik

@ -120,7 +120,7 @@ PrototypeHatBlockMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.objects = '2013-March-22';
modules.objects = '2013-March-25';
var SpriteMorph;
var StageMorph;
@ -3020,7 +3020,7 @@ SpriteMorph.prototype.booleanMorph = function (bool) {
// answer a block which can be shown in watchers, speech bubbles etc.
var block = new ReporterBlockMorph(true);
block.color = SpriteMorph.prototype.blockColor.operators;
block.setSpec(bool.toString());
block.setSpec(localize(bool.toString()));
return block;
};