[etoys-dev] Etoys: Protocols-bf.5.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Sep 24 12:25:44 EDT 2010
Bert Freudenberg uploaded a new version of Protocols to project Etoys:
http://source.squeak.org/etoys/Protocols-bf.5.mcz
==================== Summary ====================
Name: Protocols-bf.5
Author: bf
Time: 24 September 2010, 6:25:36 pm
UUID: 638a5ee2-3a83-4a20-bb30-08e90643adc8
Ancestors: Protocols-bf.4
Fix SQ-832: In Spanish, viewer only shows two empty panes
=============== Diff against Protocols-bf.4 ===============
Item was changed:
----- Method: Vocabulary>>translatedWordingFor: (in category 'translation') -----
translatedWordingFor: aSymbol
"If I have a translated wording for aSymbol, return it, else return aSymbol. Caveat: at present, this mechanism is only germane for *assignment-operator wordings* and the special-case numeric comparitor #isDivisibleBy:"
#(: Incr: Decr: Mult: isDivisibleBy:) with: #('' 'increase by' 'decrease by' 'multiply by' 'divisible by') translatedNoop do:
+ [:a :b | aSymbol = a ifTrue: [^ b translatedInDomain: 'Etoys-Tiles']].
- [:a :b | aSymbol = a ifTrue: [^ b translated]].
+ ^ aSymbol fromCamelCase translatedInDomain: 'Etoys-Tiles'!
- ^ aSymbol fromCamelCase translated!
More information about the etoys-dev
mailing list