summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-03-25 08:48:44 +0100
committerjmoenig <jens@moenig.org>2013-03-25 08:48:44 +0100
commitfcc161ad10f2e432033f0ec30a5fb8fa4847b501 (patch)
treeaad5cca582a685fab9c13262723c4b43b5aaf8ae
parent20b66751085bb698a1723acef90496d59e0e497f (diff)
downloadsnap-fcc161ad10f2e432033f0ec30a5fb8fa4847b501.tar.gz
snap-fcc161ad10f2e432033f0ec30a5fb8fa4847b501.zip
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!
-rwxr-xr-xhistory.txt6
-rw-r--r--objects.js4
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;
};