From fcc161ad10f2e432033f0ec30a5fb8fa4847b501 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 25 Mar 2013 08:48:44 +0100 Subject: 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! --- history.txt | 6 +++++- objects.js | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/history.txt b/history.txt index b3445c4..795afed 100755 --- a/history.txt +++ b/history.txt @@ -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 \ No newline at end of file +* GUI, Cloud: Fallback message support before showing an error + +130325 +------ +* Objects: Boolean value block representations are now translated, thanks, Victor, for the report \ No newline at end of file diff --git a/objects.js b/objects.js index 18b4027..51cdc7b 100644 --- a/objects.js +++ b/objects.js @@ -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; }; -- cgit v1.3.1