On 28.03.2012, at 22:47, Karl Ramberg (JIRA) wrote:
>
> [ http://tracker.squeakland.org/browse/SQ-1072 ]
>
> Karl Ramberg commented on SQ-1072:
> ----------------------------------
>
> in WatcherWrapper the watcher is built and is sent a valid getter symbol. But it is ditched. Maybe we should hold on to it instead of trying to remake it from a translated unCamelCased string.
In general, we want to keep the untranslated string around if we ever need it again. The translated version must only ever be used for displaying, not for anything else.
What are different words in English may have the same translation on other languages. And the same English word may have been translated differently in different domains. E.g. we have had bugs where objects are searched for by their translated labels. This is bad style, and very unreliable. This came from the need to make things translatable quickly, but we should try to remove those dependencies on the translated phrase.
So in this case, keeping the original symbol around seems like very much the Right Thing to do.
- Bert -
Etoys 5 release candidate 2
More fixes went into this new release candidate, but if there are some show
stoppers we would like to know asap !
So download from here:
http://squeakland.org/download/
And give feedback
http://tracker.squeakland.org
or to
etoys-dev(a)squeakland.org
last resort is mailing me directly karlramberg 'at' gmail.com
Cheers,
Karl
Karl Ramberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-kfr.134.mcz
==================== Summary ====================
Name: Etoys-kfr.134
Author: kfr
Time: 26 March 2012, 6:54:53 pm
UUID: d548580a-1fd1-e241-8e1a-74aa533b85a7
Ancestors: Etoys-kfr.133
Put ScriptableButton in ObjectCatalog category scripting
=============== Diff against Etoys-kfr.133 ===============
Item was changed:
----- Method: ScriptableButton class>>descriptionForPartsBin (in category 'name') -----
descriptionForPartsBin
"Answer a description for use in bulding parts bins. In latest take, this is not seen in any explicit category, but rather only in alphabetic or 'find' retrievals."
^ self partName: 'Button' translatedNoop
+ categories: {'Scripting' translatedNoop. }
- categories: {"'Scripting' translatedNoop. 'Basic' translatedNoop"}
documentation: 'A button to use with tile scripting; its script will be a method of its containing playfield' translatedNoop!